Function at 0x440dd4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push edi
movzx edi, word [ebp + 8]
push 0xf0
push edi
push dword [0x4d0058]
mov dword [ebp - 0x1c], ecx
call esi
and dword [ebp - 0x18], 0
and dword [ebp + 8], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x440e21
push eax
push dword [0x4d0058]
call ebx
test eax, eax
je 0x440e21
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
push 5
push edi
push dword [0x4d0058]
call esi
test eax, eax
je 0x4410d0
push eax
push dword [0x4d0058]
call ebx
test eax, eax
je 0x4410c8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4410c8
xor ecx, ecx
mov eax, 0xffff
cmp word [esi + 2], ax
push esi
sete cl
mov dword [ebp - 4], ecx
call fcn.00431a92
movzx edi, word [eax]
push esi
mov dword [ebp - 0x24], edi
call fcn.00431aa9
pop ecx
pop ecx
mov esi, eax
mov eax, dword [ebp - 0x1c]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindow]
and dword [ebp - 0x10], 0
mov dword [ebp - 0xc], eax
xor eax, eax
cmp ax, di
jae 0x4410d0
cmp dword [ebp - 4], 0
je 0x440ea8
mov ebx, dword [esi + 0x14]
jmp 0x440eac
movzx ebx, word [esi + 0x10]
push dword [ebp - 4]
push esi
call fcn.0043fa79
pop ecx
pop ecx
test al, al
je 0x44106d
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x18]
push ebx
call fcn.0043fa38
and dword [ebp - 8], 0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x440f19
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4410a2
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push dword [ebp + 8]
push ebx
push eax
call fcn.00431a73
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 8]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call fcn.00432260
pop ecx
pop ecx
mov dword [ebp + 8], eax
test eax, eax
jl 0x441055
and dword [ebp + 8], 0
call fcn.00438353
mov edi, dword [ebp - 4]
lea eax, [esi + 0x18]
test edi, edi
jne 0x440f4c
lea eax, [esi + 0x12]
mov dword [ebp - 0x20], eax
test edi, edi
je 0x440f59
movzx eax, word [esi + 0xc]
jmp 0x440f5d
movzx eax, word [esi + 8]
movsx edx, ax
mov dword [ebp - 0x34], edx
test edi, edi
je 0x440f6d
movzx eax, word [esi + 0xe]
jmp 0x440f71
movzx eax, word [esi + 0xa]
movsx ecx, ax
mov dword [ebp - 0x30], ecx
test edi, edi
je 0x440f81
movzx eax, word [esi + 0x10]
jmp 0x440f85
movzx eax, word [esi + 0xc]
cwde
add eax, edx
mov dword [ebp - 0x2c], eax
test edi, edi
je 0x440f95
movzx eax, word [esi + 0x12]
jmp 0x440f99
movzx eax, word [esi + 0xe]
mov ebx, dword [ebp - 0x1c]
cwde
add eax, ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MapDialogRect]
test edi, edi
je 0x440fb8
mov edx, dword [esi + 0x14]
jmp 0x440fbc
movzx edx, word [esi + 0x10]
test edi, edi
je 0x440fc5
mov edi, dword [esi + 4]
jmp 0x440fc7
xor edi, edi
cmp dword [ebp - 4], 0
je 0x440fd2
mov eax, dword [esi + 8]
jmp 0x440fd4
mov eax, dword [esi]
push 0
push ecx
mov ecx, esp
push edi
or eax, 0x10000
push eax
xor edi, edi
push edi
push ecx
mov dword [ecx], edx
mov eax, esp
lea ecx, [ebp - 0x34]
mov dword [eax], ecx
push dword [ebx + 4]
lea ecx, [ebp + 8]
call fcn.0043fbeb
mov ebx, dword [ebp + 8]
cmp ebx, edi
je 0x44104d
cmp dword [ebp - 4], edi
je 0x441012
mov eax, dword [esi]
cmp eax, edi
je 0x441012
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
push dword [ebp - 0x14]
lea ecx, [ebp + 8]
push edi
push dword [ebp - 8]
push dword [ebp - 0x20]
call fcn.0043fe2c
cmp eax, edi
mov dword [ebp + 8], eax
jl 0x4410b0
cmp word [ebp - 0x10], di
jne 0x441038
mov dword [ebp - 0xc], edi
push 0x13
push edi
push edi
push edi
push edi
push dword [ebp - 0xc]
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0xc], ebx
jmp 0x441055
call fcn.004330c2
mov dword [ebp + 8], eax
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
test eax, eax
je 0x441082
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x441082
cmp word [ebp - 0x10], 0
je 0x441082
push 2
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push esi
call fcn.00431b29
inc dword [ebp - 0x10]
mov esi, eax
mov ax, word [ebp - 0x10]
pop ecx
pop ecx
cmp ax, word [ebp - 0x24]
jb 0x440e9d
jmp 0x4410d0
mov eax, dword [ebp - 8]
mov dword [ebp + 8], 0x8007000e
test eax, eax
jmp 0x4410be
push dword [ebp - 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
cmp eax, edi
je 0x4410d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4410d0
call fcn.004330c2
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 4