Function at 0x405230
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4366d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
mov eax, dword [esp + 0x9c]
push ebx
push esi
push 0x30
push eax
mov esi, ecx
xor ebx, ebx
push 0x84
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ebx
call fcn.00431c3f
push fcn.004015c0
push 0x4015b0
push 0x18
push 8
lea ecx, [esi + 0x84]
push ecx
mov dword [esp + 0xb0], ebx
mov dword [esi], 0x438e88
call fcn.00416edd
mov dword [esi + 0x174], ebx
mov dword [esi + 0x178], ebx
mov dword [esi + 0x17c], ebx
push fcn.00401630
push 0x4015f0
push 0x18
push 0x70
lea edx, [esi + 0x180]
push edx
mov byte [esp + 0xb0], 2
call fcn.00416edd
lea ecx, [esi + 0xc00]
mov byte [esp + 0x9c], 3
call fcn.00402830
mov eax, dword [esp + 0xa8]
cmp eax, ebx
mov byte [esp + 0x9c], 4
mov dword [esi + 0x144], eax
mov dword [esi + 0xce8], ebx
push ebx
jne 0x40530c
lea eax, [esi + 0x148]
push eax
call fcn.00408190
add esp, 8
jmp 0x40531d
lea ecx, [esi + 0x148]
push ecx
dec eax
push eax
call fcn.00408100
add esp, 0xc
cmp byte [0x448d24], bl
jne 0x4054af
push ebp
push edi
mov dword [esp + 0x14], 0x448d28
mov ebp, 0x4461e8
jmp 0x405340
movzx eax, word [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 0xa
push eax
push ebx
call esi
cmp eax, ebx
jne 0x405358
xor edi, edi
jmp 0x405362
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
movzx eax, word [ebp]
push 0xa
push eax
push ebx
call esi
cmp eax, ebx
jne 0x405374
xor esi, esi
jmp 0x40537e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
lea ecx, [esp + 0x58]
call fcn.00402a80
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x58], 0x438e30
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], edi
mov dword [ecx], esi
mov edx, dword [esp + 0x7c]
mov dword [edx], esi
mov ecx, dword [esp + 0x8c]
lea eax, [esi + edi]
sub eax, esi
mov dword [ecx], eax
mov edx, dword [esp + 0x68]
mov dword [edx], esi
mov ecx, dword [esp + 0x78]
mov dword [ecx], esi
mov edx, dword [esp + 0x88]
mov dword [edx], eax
mov dword [esp + 0x1c], 0x438e68
mov edx, dword [esp + 0x10]
or edx, 1
mov edi, 0x438c3c
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 6
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
call fcn.004256ca
lea eax, [esp + 0x58]
push 0x20
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ebx
call fcn.00403590
mov byte [esp + 0x54], al
cmp dword [esp + 0x4c], ebx
jne 0x405430
mov eax, dword [esp + 0x2c]
or eax, 4
push ebx
push eax
lea ecx, [esp + 0x2c]
call fcn.004255a9
mov dword [esp + 0x28], ebx
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0xa8], 7
call fcn.004043d0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x1c], edi
lea ecx, [esp + 0x24]
mov byte [esp + 0xa4], 5
mov dword [esp + 0x24], 0x438c38
call fcn.004254bf
lea ecx, [esp + 0x58]
mov byte [esp + 0xa4], 4
mov dword [esp + 0x58], 0x438e30
call fcn.00402b30
add ebp, 0xc
add esi, 0x3c
cmp ebp, 0x446308
mov dword [esp + 0x14], esi
jl 0x405340
mov esi, dword [esp + 0x18]
pop edi
mov byte [0x448d24], 1
pop ebp
lea ecx, [esi + 0x158]
push ecx
lea eax, [esi + 0x148]
push eax
call fcn.00408260
add esp, 8
mov ecx, esi
call fcn.00430c19
mov ecx, dword [eax + 4]
add eax, 4
and ecx, 0xffffffdf
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x98
ret 8