Function at 0x441770
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52b540
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x566148]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x566148]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
movzx esi, word [ebp + 8]
mov eax, dword [0x56d354]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push pe_nt_image_headers32
push esi
mov ebx, ecx
push eax
mov dword [esp + 0x40], ebx
call edi
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], ecx
cmp eax, ecx
je 0x4417f0
mov ecx, dword [0x56d354]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4417f0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x30], eax
mov edx, dword [0x56d354]
push 5
push esi
push edx
call edi
test eax, eax
je 0x441b45
push eax
mov eax, dword [0x56d354]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x441b3c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x441b3c
movzx ecx, word [eax + 2]
mov dword [esp + 0x20], eax
xor eax, eax
mov edx, 0xffff
cmp cx, dx
sete al
cmp cx, dx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0x10]
je 0x441850
lea ecx, [eax + 8]
movzx esi, word [ecx]
mov ecx, eax
mov dword [esp + 0x3c], esi
call fcn.00429280
mov edi, eax
mov eax, dword [ebx + 4]
push 5
push eax
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_GetWindow]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edx
cmp cx, si
jae 0x441b45
jmp 0x441894
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x24], 0
je 0x4418a3
mov ecx, dword [edi + 0x14]
lea eax, [edi + 0x18]
jmp 0x4418aa
movzx ecx, word [edi + 0x10]
lea eax, [edi + 0x12]
cmp word [eax], 0x7b
jne 0x441ab3
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x18]
push edx
mov ebx, ecx
mov dword [esp + 0x1c], 0
call fcn.00429230
mov ebx, eax
xor eax, eax
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], eax
cmp ebx, eax
je 0x441929
push ebx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x441b11
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x441aee
mov ecx, dword [esp + 0x18]
push eax
mov eax, ebx
mov edx, ebx
call fcn.00429160
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [esp + 0x14]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xor eax, eax
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x60], 1
mov esi, dword [esp + 0x14]
push ecx
call fcn.00428f40
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
js 0x441a8e
mov dword [esp + 0x10], 0
call fcn.00427c10
mov esi, dword [esp + 0x24]
test esi, esi
je 0x441971
movzx eax, word [edi + 0xc]
lea edx, [edi + 0x18]
mov dword [esp + 0x20], edx
jmp 0x44197c
lea eax, [edi + 0x12]
mov dword [esp + 0x20], eax
movzx eax, word [edi + 8]
movsx edx, ax
mov dword [esp + 0x40], edx
test esi, esi
je 0x44198d
movzx eax, word [edi + 0xe]
jmp 0x441991
movzx eax, word [edi + 0xa]
movsx ecx, ax
mov dword [esp + 0x44], ecx
test esi, esi
je 0x4419a2
movzx eax, word [edi + 0x10]
jmp 0x4419a6
movzx eax, word [edi + 0xc]
cwde
add eax, edx
mov dword [esp + 0x48], eax
test esi, esi
je 0x4419b7
movzx eax, word [edi + 0x12]
jmp 0x4419bb
movzx eax, word [edi + 0xe]
mov ebx, dword [esp + 0x34]
movsx edx, ax
add edx, ecx
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x40]
push eax
push ecx
mov dword [esp + 0x54], edx
call dword [sym.imp.USER32.dll_MapDialogRect]
test esi, esi
je 0x4419e6
mov esi, dword [edi + 0x14]
mov edx, dword [edi + 4]
mov eax, dword [edi + 8]
jmp 0x4419ee
movzx esi, word [edi + 0x10]
mov eax, dword [edi]
xor edx, edx
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
or eax, 0x10000
push eax
push ecx
mov eax, esp
mov dword [ecx], esi
lea edx, [esp + 0x50]
mov dword [eax], edx
mov eax, dword [ebx + 4]
mov dword [esp + 0x48], esp
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.004205b0
mov esi, dword [esp + 0x10]
test esi, esi
je 0x441a85
cmp dword [esp + 0x24], 0
je 0x441a36
mov edi, dword [edi]
test edi, edi
je 0x441a36
push edi
push esi
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x18]
call fcn.00420d90
mov dword [esp + 0x10], eax
test eax, eax
js 0x441b1b
cmp word [esp + 0x28], 0
jne 0x441a65
xor eax, eax
jmp 0x441a69
mov eax, dword [esp + 0x1c]
push 0x13
push 0
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], esi
jmp 0x441a8e
call fcn.00429210
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x441ac9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x441ac9
test dx, dx
je 0x441ac9
mov ecx, dword [esp + 0x1c]
push 2
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x24]
mov eax, edi
call fcn.00428ed0
mov edx, dword [esp + 0x28]
inc edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], edx
cmp dx, word [esp + 0x3c]
jb 0x441890
jmp 0x441b45
call fcn.00429210
mov dword [esp + 0x10], eax
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x441b45
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x441b45
mov dword [esp + 0x10], 0x8007000e
jmp 0x441b22
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x14]
test eax, eax
je 0x441b45
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x441b45
call fcn.00429210
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004e8965
mov esp, ebp
pop ebp
ret 4