Function at 0x1007638
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x102a274]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x524], eax
mov dword [ebp - 0x52c], ecx
test ecx, ecx
jne 0x100766d
xor al, al
jmp 0x1007881
and dword [ecx], 0
mov eax, dword [ebx + 4]
mov edx, dword [eax]
and dword [ebp - 0x520], 0
push esi
push edi
test edx, edx
jle 0x100787d
mov eax, dword [eax + 8]
mov edi, dword [eax]
test edi, edi
je 0x1007697
mov esi, dword [edi + 0x1c]
cmp esi, dword [ebp + 8]
je 0x10076ad
inc dword [ebp - 0x520]
add eax, 4
cmp dword [ebp - 0x520], edx
jl 0x1007689
jmp 0x100787d
mov eax, dword [edi + 0x20]
test eax, eax
je 0x10076c1
mov dword [ecx], eax
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
jmp 0x1007856
mov eax, dword [edi + 0x10]
push 0x1002484
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x1007864
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100785a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0
mov dword [ebp - 0x528], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x520], eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
mov eax, dword [ebx + 8]
push dword [eax + 0x14]
call dword [sym.imp.UICCDLL.dll__MsoWzCopy_12]
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x1002480
call dword [sym.imp.UICCDLL.dll__MsoWzAppend_12]
push esi
lea eax, [ebp - 0x20c]
push eax
push dword [edi + 0x10]
call dword [sym.imp.UICCDLL.dll__MsoWzAppend_12]
cmp byte [edi + 0x24], 0
je 0x1007777
mov eax, dword [ebp - 0x524]
test eax, eax
je 0x100787d
lea edx, [ebp - 0x20c]
push edx
push 0x10023f8
mov ecx, dword [eax]
push 0x36
push 3
push eax
call dword [ecx]
add esp, 0x14
jmp 0x100787d
mov byte [edi + 0x24], 1
mov byte [edi + 0x25], 0
mov al, byte [ebx + 0xd]
mov byte [ebp - 0x519], al
push esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebx + 8]
mov byte [ebx + 0xd], 0
push dword [eax + 0x2c]
call dword [sym.imp.UICCDLL.dll__MsoWzCopy_12]
push esi
lea eax, [ebp - 0x414]
push eax
push 0x1002480
call dword [sym.imp.UICCDLL.dll__MsoWzAppend_12]
push esi
lea eax, [ebp - 0x414]
push eax
push dword [edi]
call dword [sym.imp.UICCDLL.dll__MsoWzAppend_12]
push esi
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebx + 8]
push dword [eax + 0x34]
call dword [sym.imp.UICCDLL.dll__MsoWzAppend_12]
xor eax, eax
push eax
push eax
push esi
lea ecx, [ebp - 0x518]
push ecx
push esi
lea ecx, [ebp - 0x414]
push ecx
push 0x400
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebx + 8]
mov eax, dword [eax + 4]
push 0
push dword [eax]
lea eax, [ebp - 0x518]
push eax
push dword [ebp - 0x520]
push dword [ebp - 0x528]
call fcn.01008992
test al, al
mov al, byte [ebp - 0x519]
mov byte [ebx + 0xd], al
je 0x100787d
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x1007848
mov eax, dword [ebp - 0x524]
test eax, eax
je 0x100787d
lea edx, [ebp - 0x20c]
push edx
push 0x10023cc
jmp 0x1007766
mov eax, dword [ebp - 0x52c]
mov dword [eax], edi
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov al, 1
jmp 0x100787f
push dword [edi + 0x10]
push 0x1002370
jmp 0x100786c
push dword [edi + 0x10]
push 0x1002330
call fcn.0100a22b
add eax, 0x40
push eax
call fcn.01009b8a
add esp, 0xc
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.01009d2c
leave
ret 0xc