Function at 0x45b960
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x424
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x420], eax
mov eax, dword [esp + 0x42c]
push ebx
push ebp
mov ebp, dword [esp + 0x430]
push esi
push edi
push 5
mov dword [esp + 0x24], ecx
mov ecx, dword [0x4c93a8]
push ebp
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, dword [0x4c93a8]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov eax, dword [0x4c93a8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.0049e6ff
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x45b9dd
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x45bbed
push esi
push edi
push ebx
call fcn.0049ec60
mov edx, dword [ebx]
mov edi, dword [esp + 0x2c]
xor eax, eax
add esp, 0xc
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
and edx, 0xffff0000
push ecx
cmp edx, 0xffff0000
push ebp
mov ecx, edi
sete bl
call fcn.0045afd0
mov esi, dword [esp + 0x10]
test al, al
je 0x45ba66
mov ecx, esi
test bl, bl
je 0x45ba2a
lea ecx, [esi + 8]
movsx edx, word [ecx + 0xe]
imul edx, dword [esp + 0x14]
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movsx edx, word [ecx + 0x10]
imul edx, dword [esp + 0x18]
mov word [ecx + 0xe], ax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov word [ecx + 0x10], ax
xor ecx, ecx
test bl, bl
setne cl
mov edx, 0xffff
lea ecx, [ecx*4 + 9]
cmp word [esi + ecx*2], dx
lea esi, [esi + ecx*2]
jne 0x45ba89
mov eax, 2
jmp 0x45ba90
push esi
call fcn.0046db10
inc eax
lea esi, [esi + eax*2]
mov eax, 0xffff
cmp word [esi], ax
jne 0x45baa4
mov eax, 2
jmp 0x45baab
push esi
call fcn.0046db10
inc eax
push 0x1000000
lea ecx, [esp + 0x234]
push ecx
lea edx, [esi + eax*2]
push edx
call fcn.0046d7f0
cmp dword [edi], 0
je 0x45bb94
push 1
push 0x4b3be8
push 0xffffffffffffffff
call fcn.0041fbc0
test ebp, ebp
je 0x45baf2
mov ecx, ebp
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45bae1
sub ecx, esi
push ecx
push ebp
push eax
call fcn.0041fbc0
lea ecx, [esp + 0x230]
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45bb00
sub ecx, esi
push ecx
lea ecx, [esp + 0x234]
push ecx
push eax
call fcn.0041fbc0
not eax
push eax
lea edx, [esp + 0x28]
push str._08x
push edx
call fcn.0049e635
add esp, 0xc
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0045aa60
test eax, eax
jne 0x45bb4d
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0045a8d0
test eax, eax
je 0x45bb94
lea esi, [eax + 0xa]
push 0xc
push esi
call fcn.0049e290
add esp, 8
test eax, eax
je 0x45bb66
sub eax, esi
inc eax
mov ebx, eax
jmp 0x45bb6b
mov ebx, 0xff
push ebx
lea edx, [esp + 0x34]
push esi
push edx
call fcn.0049fa10
lea eax, [esp + 0x3c]
push 0x22
push eax
mov byte [esp + ebx + 0x44], 0
call fcn.0049e350
add esp, 0x14
test eax, eax
je 0x45bbb0
mov byte [eax], 0
jmp 0x45bbb0
xor eax, eax
jmp 0x45bba0
mov cl, byte [esp + eax + 0x230]
mov byte [esp + eax + 0x30], cl
inc eax
test cl, cl
jne 0x45bba0
lea ecx, [esp + 0x30]
push ecx
call fcn.004aca5d
mov edx, dword [esp + 0x20]
mov dword [edx], eax
mov eax, 0x64
add esp, 4
cmp dword [esp + 0x14], eax
jne 0x45bbe9
cmp dword [esp + 0x18], eax
jne 0x45bbe9
mov eax, dword [esp + 0x10]
push eax
call fcn.0049e37d
add esp, 4
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e626
add esp, 0x424
ret 8