Function at 0x416940
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x45c668]
push ebx
push esi
movzx esi, word [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_FindResourceW]
push 0xf0
push esi
push eax
mov dword [ebp - 0x34], ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.DLL_LoadResource]
xor ecx, ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x416998
mov ecx, dword [0x45c668]
push eax
push ecx
call ebx
test eax, eax
je 0x416998
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp - 0x40], eax
mov edx, dword [0x45c668]
push 5
push esi
push edx
call edi
test eax, eax
je 0x416cde
push eax
mov eax, dword [0x45c668]
push eax
call ebx
test eax, eax
je 0x416cd6
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
je 0x416cd6
movzx ecx, word [eax + 2]
xor ebx, ebx
mov edx, 0xffff
cmp cx, dx
sete bl
cmp cx, dx
lea ecx, [eax + 0x10]
mov esi, ebx
mov dword [ebp - 0x28], esi
je 0x4169ed
lea ecx, [eax + 8]
movzx edi, word [ecx]
push eax
mov dword [ebp - 0x44], edi
call fcn.0040adc0
add esp, 4
mov ebx, eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x2c], eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x38], edx
cmp ax, di
jae 0x416cde
test esi, esi
je 0x416a2c
mov ecx, dword [ebx + 0x14]
lea eax, [ebx + 0x18]
jmp 0x416a33
movzx ecx, word [ebx + 0x10]
lea eax, [ebx + 0x12]
cmp word [eax], 0x7b
jne 0x416c75
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x20]
push edx
push eax
push ecx
mov dword [ebp - 0x20], 0
call fcn.00415b80
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x1c], 0
test edi, edi
je 0x416aaa
push edi
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x416cb2
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x416ca8
mov ecx, dword [ebp - 0x20]
push edi
push ecx
push edi
push eax
call fcn.0040ace0
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
lea edx, [ebp - 0x1c]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x24]
push eax
push ecx
mov dword [ebp - 0x24], 0
call fcn.0040b270
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
js 0x416c5a
mov dword [ebp - 0x30], 0
call fcn.004114b0
test esi, esi
je 0x416ae8
movzx eax, word [ebx + 0xc]
lea edx, [ebx + 0x18]
mov dword [ebp - 0x20], edx
jmp 0x416af2
lea eax, [ebx + 0x12]
mov dword [ebp - 0x20], eax
movzx eax, word [ebx + 8]
movsx edx, ax
mov dword [ebp - 0x14], edx
test esi, esi
je 0x416b02
movzx eax, word [ebx + 0xe]
jmp 0x416b06
movzx eax, word [ebx + 0xa]
movsx ecx, ax
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x416b16
movzx eax, word [ebx + 0x10]
jmp 0x416b1a
movzx eax, word [ebx + 0xc]
cwde
add eax, edx
mov dword [ebp - 0xc], eax
test esi, esi
je 0x416b2a
movzx eax, word [ebx + 0x12]
jmp 0x416b2e
movzx eax, word [ebx + 0xe]
movsx edx, ax
add edx, ecx
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x14]
mov dword [ebp - 8], edx
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_MapDialogRect]
test esi, esi
je 0x416b56
mov esi, dword [ebx + 0x14]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
jmp 0x416b5e
movzx esi, word [ebx + 0x10]
mov eax, dword [ebx]
xor edx, edx
push 0
push ecx
mov ecx, esp
push edx
mov edx, dword [ebp - 0x34]
or eax, 0x10000
push eax
push 0
push ecx
mov dword [ecx], esi
mov eax, esp
lea ecx, [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [edx + 4]
push eax
lea ecx, [ebp - 0x30]
call fcn.00415c20
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x416c4f
cmp dword [ebp - 0x28], 0
je 0x416ba4
mov eax, dword [ebx]
test eax, eax
je 0x416ba4
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
mov edi, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push ecx
push 0x44da24
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0
call fcn.004160e0
mov edx, dword [ebp - 0x24]
push edx
push 0
push 0x44facc
test eax, eax
jns 0x416be1
mov eax, dword [ebp - 0x20]
push 0
push 0
push edi
push esi
push eax
call fcn.00410e10
mov edi, eax
jmp 0x416c0e
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x3c]
push edx
mov edx, dword [ebp - 0x20]
push edi
push esi
mov dword [ebp - 0x3c], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov edi, eax
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x416c0e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x416c1d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, edi
mov dword [ebp - 0x18], eax
test eax, eax
js 0x416cbb
cmp word [ebp - 0x38], 0
jne 0x416c35
xor eax, eax
jmp 0x416c38
mov eax, dword [ebp - 0x2c]
push 0x13
push 0
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 0x2c], esi
jmp 0x416c57
call fcn.0040ba80
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416c89
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x416c89
test dx, dx
je 0x416c89
mov eax, dword [ebp - 0x2c]
push 2
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x2c], eax
push esi
push ebx
call fcn.0040ae60
mov edx, dword [ebp - 0x38]
inc edx
add esp, 8
mov ebx, eax
mov dword [ebp - 0x38], edx
cmp dx, word [ebp - 0x44]
jb 0x416a20
jmp 0x416cde
call fcn.0040ba80
mov dword [ebp - 0x18], eax
jmp 0x416cc5
mov dword [ebp - 0x18], 0x8007000e
jmp 0x416cc5
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416cde
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x416cde
call fcn.0040ba80
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434758
mov esp, ebp
pop ebp
ret 4