Function at 0x41a700
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x2c
mov eax, dword [0x453068]
push ebx
push ebp
push esi
movzx esi, word [esp + 0x3c]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0xf0
push esi
push eax
mov dword [esp + 0x28], ecx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], ecx
cmp eax, ecx
je 0x41a753
mov ecx, dword [0x453068]
push eax
push ecx
call ebx
test eax, eax
je 0x41a753
push eax
call ebp
mov dword [esp + 0x24], eax
mov edx, dword [0x453068]
push 5
push esi
push edx
call edi
xor esi, esi
cmp eax, esi
je 0x41aa4f
push eax
mov eax, dword [0x453068]
push eax
call ebx
cmp eax, esi
je 0x41aa46
push eax
call ebp
cmp eax, esi
je 0x41aa46
movzx ecx, word [eax + 2]
xor ebx, ebx
mov edx, 0xffff
cmp cx, dx
sete bl
cmp cx, dx
lea ecx, [eax + 0x10]
mov ebp, ebx
je 0x41a7a3
lea ecx, [eax + 8]
movzx edi, word [ecx]
push eax
mov dword [esp + 0x2c], edi
call fcn.00407e00
add esp, 4
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x14], eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x20], edx
cmp ax, di
jae 0x41aa4f
cmp ebp, esi
je 0x41a7e6
mov ecx, dword [ebx + 0x14]
lea eax, [ebx + 0x18]
jmp 0x41a7ed
movzx ecx, word [ebx + 0x10]
lea eax, [ebx + 0x12]
cmp word [eax], 0x7b
jne 0x41a9cf
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x40]
push edx
push eax
push ecx
mov dword [esp + 0x4c], esi
call fcn.00414110
mov edi, eax
add esp, 0xc
mov dword [esp + 0x10], esi
cmp edi, esi
je 0x41a85f
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x41aa13
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x40]
push edi
push ecx
push edi
push eax
call fcn.0041d624
push eax
call fcn.00401050
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea edx, [esp + 0x10]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xor esi, esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x20], esi
call fcn.00409b10
add esp, 8
cmp eax, esi
mov dword [esp + 0x40], eax
jl 0x41a9b2
mov dword [esp + 0x40], esi
call fcn.00419f20
cmp ebp, esi
je 0x41a897
movzx eax, word [ebx + 0xc]
lea edi, [ebx + 0x18]
jmp 0x41a89e
movzx eax, word [ebx + 8]
lea edi, [ebx + 0x12]
movsx edx, ax
mov dword [esp + 0x2c], edx
cmp ebp, esi
je 0x41a8af
movzx eax, word [ebx + 0xe]
jmp 0x41a8b3
movzx eax, word [ebx + 0xa]
movsx ecx, ax
mov dword [esp + 0x30], ecx
cmp ebp, esi
je 0x41a8c4
movzx eax, word [ebx + 0x10]
jmp 0x41a8c8
movzx eax, word [ebx + 0xc]
cwde
add eax, edx
mov dword [esp + 0x34], eax
cmp ebp, esi
je 0x41a8d9
movzx eax, word [ebx + 0x12]
jmp 0x41a8dd
movzx eax, word [ebx + 0xe]
movsx edx, ax
add edx, ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 4]
push eax
push edx
call dword [sym.imp.USER32.dll_MapDialogRect]
cmp ebp, esi
je 0x41a908
mov esi, dword [ebx + 0x14]
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
jmp 0x41a910
movzx esi, word [ebx + 0x10]
mov eax, dword [ebx]
xor edx, edx
push 0
push ecx
mov ecx, esp
push edx
mov edx, dword [esp + 0x28]
or eax, 0x10000
push eax
push 0
push ecx
mov dword [ecx], esi
mov eax, esp
lea ecx, [esp + 0x44]
mov dword [eax], ecx
mov eax, dword [edx + 4]
push eax
lea ecx, [esp + 0x5c]
call fcn.004144d0
mov esi, dword [esp + 0x40]
test esi, esi
je 0x41a9a7
test ebp, ebp
je 0x41a954
mov eax, dword [ebx]
test eax, eax
je 0x41a954
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowContextHelpId]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
push 0
push 0x447b80
push 0
push 0
push edx
push edi
lea ecx, [esp + 0x5c]
call fcn.00419770
mov dword [esp + 0x40], eax
test eax, eax
jl 0x41aa1d
cmp word [esp + 0x20], 0
jne 0x41a98b
xor eax, eax
jmp 0x41a98f
mov eax, dword [esp + 0x14]
push 0x13
push 0
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x14], esi
jmp 0x41a9b0
call fcn.00402950
mov dword [esp + 0x40], eax
xor esi, esi
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x41a9e5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41a9e5
cmp dx, si
je 0x41a9e5
mov eax, dword [esp + 0x14]
push 2
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [esp + 0x14], eax
push ebp
push ebx
call fcn.00407ea0
mov edx, dword [esp + 0x28]
inc edx
add esp, 8
mov ebx, eax
mov dword [esp + 0x20], edx
cmp dx, word [esp + 0x28]
jb 0x41a7da
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
mov dword [esp + 0x40], 0x8007000e
jmp 0x41aa28
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41aa4f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4
call fcn.00402950
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 4