Function at 0x1003249d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100eabc9
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x1012c510]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x2c], ecx
movzx edi, word [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0xf0
push edi
push dword [0x10135988]
call esi
and dword [esp + 0x28], 0
and dword [esp + 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10032511
push eax
push dword [0x10135988]
call ebx
test eax, eax
je 0x10032511
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x28], eax
push 5
push edi
push dword [0x10135988]
call esi
test eax, eax
je 0x1003281f
push eax
push dword [0x10135988]
call ebx
test eax, eax
je 0x10032816
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x10032816
movzx esi, word [eax + 2]
mov ecx, 0xffff
xor ebx, ebx
mov edx, ecx
cmp si, dx
sete bl
lea edx, [eax + 0x10]
mov dword [esp + 0x14], ebx
cmp si, cx
je 0x10032566
lea edx, [eax + 8]
movzx edi, word [edx]
mov ecx, eax
mov dword [esp + 0x34], edi
call fcn.10006aee
mov esi, eax
mov eax, dword [esp + 0x2c]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x1c], eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x20], edx
cmp ax, di
jae 0x1003281f
jmp 0x1003259e
xor edx, edx
cmp dword [esp + 0x14], edx
je 0x100325a9
mov ecx, dword [esi + 0x14]
jmp 0x100325ad
movzx ecx, word [esi + 0x10]
lea eax, [esi + 0x18]
cmp dword [esp + 0x14], edx
jne 0x100325b9
lea eax, [esi + 0x12]
cmp word [eax], 0x7b
jne 0x100327a7
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov dword [esp + 0x2c], edx
call fcn.10006ab1
and dword [esp + 0x20], 0
pop ecx
pop ecx
mov ebx, eax
and dword [esp + 0x58], 0
test ebx, ebx
je 0x10032626
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x100327e2
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push dword [esp + 0x28]
push ebx
push eax
call fcn.100078ac
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x18]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
and dword [esp + 0x24], 0
lea eax, [esp + 0x24]
mov byte [esp + 0x58], 1
mov ecx, dword [esp + 0x18]
push eax
call fcn.10006936
pop ecx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x10032788
and dword [esp + 0x10], 0
call fcn.1000670c
mov edi, dword [esp + 0x14]
lea eax, [esi + 0x18]
test edi, edi
jne 0x10032663
lea eax, [esi + 0x12]
mov dword [esp + 0x30], eax
test edi, edi
je 0x10032671
movzx eax, word [esi + 0xc]
jmp 0x10032675
movzx eax, word [esi + 8]
movsx edx, ax
mov dword [esp + 0x3c], edx
test edi, edi
je 0x10032686
movzx eax, word [esi + 0xe]
jmp 0x1003268a
movzx eax, word [esi + 0xa]
movsx ecx, ax
mov dword [esp + 0x40], ecx
test edi, edi
je 0x1003269b
movzx eax, word [esi + 0x10]
jmp 0x1003269f
movzx eax, word [esi + 0xc]
cwde
add eax, edx
mov dword [esp + 0x44], eax
test edi, edi
je 0x100326b0
movzx eax, word [esi + 0x12]
jmp 0x100326b4
movzx eax, word [esi + 0xe]
mov ebx, dword [esp + 0x2c]
cwde
add eax, ecx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x3c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
test edi, edi
je 0x100326d6
mov edx, dword [esi + 0x14]
jmp 0x100326da
movzx edx, word [esi + 0x10]
test edi, edi
je 0x100326e3
mov edi, dword [esi + 4]
jmp 0x100326e5
xor edi, edi
cmp dword [esp + 0x14], 0
je 0x100326f1
mov eax, dword [esi + 8]
jmp 0x100326f3
mov eax, dword [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edi
or eax, 0x10000
push eax
push ecx
mov dword [ecx], edx
mov eax, esp
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], esp
mov dword [eax], ecx
push dword [ebx + 4]
lea eax, [esp + 0x24]
push eax
call fcn.10001614
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x1003277f
cmp dword [esp + 0x14], 0
je 0x1003273a
mov eax, dword [esi]
test eax, eax
je 0x1003273a
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
push dword [esp + 0x24]
lea edi, [esp + 0x14]
push dword [esp + 0x1c]
push dword [esp + 0x38]
call fcn.10001745
xor edi, edi
cmp eax, edi
mov dword [esp + 0x10], eax
jl 0x100327f7
cmp word [esp + 0x20], di
jne 0x10032768
mov dword [esp + 0x1c], edi
push 0x13
push edi
push edi
push edi
push edi
push dword [esp + 0x30]
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x1c], ebx
jmp 0x10032788
call fcn.10007897
mov dword [esp + 0x10], eax
push dword [esp + 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100327be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x100327be
cmp word [esp + 0x20], dx
je 0x100327be
push 2
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x1c], eax
push dword [esp + 0x14]
mov eax, esi
call fcn.100068aa
inc dword [esp + 0x24]
mov esi, eax
mov ax, word [esp + 0x24]
pop ecx
cmp ax, word [esp + 0x34]
jb 0x1003259c
jmp 0x1003281f
or dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0x8007000e
test eax, eax
jmp 0x1003280c
push dword [esp + 0x24]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [esp + 0x58], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x1003281f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1003281f
call fcn.10007897
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4