Function at 0x45b430
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x424
mov eax, dword [0x4c0390]
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 [0x4c9360]
push ebp
push ecx
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edx, dword [0x4c9360]
mov esi, eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov eax, dword [0x4c9360]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
call fcn.0049e19f
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x45b4ad
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x45b6bd
push esi
push edi
push ebx
call fcn.0049e700
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.0045aaa0
mov esi, dword [esp + 0x10]
test al, al
je 0x45b536
mov ecx, esi
test bl, bl
je 0x45b4fa
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 0x45b559
mov eax, 2
jmp 0x45b560
push esi
call fcn.0046d610
inc eax
lea esi, [esi + eax*2]
mov eax, 0xffff
cmp word [esi], ax
jne 0x45b574
mov eax, 2
jmp 0x45b57b
push esi
call fcn.0046d610
inc eax
push 0x1000000
lea ecx, [esp + 0x234]
push ecx
lea edx, [esi + eax*2]
push edx
call fcn.0046d2f0
cmp dword [edi], 0
je 0x45b664
push 1
push 0x4b3b50
push 0xffffffffffffffff
call fcn.0041fa40
test ebp, ebp
je 0x45b5c2
mov ecx, ebp
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45b5b1
sub ecx, esi
push ecx
push ebp
push eax
call fcn.0041fa40
lea ecx, [esp + 0x230]
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45b5d0
sub ecx, esi
push ecx
lea ecx, [esp + 0x234]
push ecx
push eax
call fcn.0041fa40
not eax
push eax
lea edx, [esp + 0x28]
push str._08x
push edx
call fcn.0049e0d5
add esp, 0xc
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0045a530
test eax, eax
jne 0x45b61d
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0045a3a0
test eax, eax
je 0x45b664
lea esi, [eax + 0xa]
push 0xc
push esi
call fcn.0049dd30
add esp, 8
test eax, eax
je 0x45b636
sub eax, esi
inc eax
mov ebx, eax
jmp 0x45b63b
mov ebx, 0xff
push ebx
lea edx, [esp + 0x34]
push esi
push edx
call fcn.0049f4b0
lea eax, [esp + 0x3c]
push 0x22
push eax
mov byte [esp + ebx + 0x44], 0
call fcn.0049ddf0
add esp, 0x14
test eax, eax
je 0x45b680
mov byte [eax], 0
jmp 0x45b680
xor eax, eax
jmp 0x45b670
mov cl, byte [esp + eax + 0x230]
mov byte [esp + eax + 0x30], cl
inc eax
test cl, cl
jne 0x45b670
lea ecx, [esp + 0x30]
push ecx
call fcn.004ac4fd
mov edx, dword [esp + 0x20]
mov dword [edx], eax
mov eax, 0x64
add esp, 4
cmp dword [esp + 0x14], eax
jne 0x45b6b9
cmp dword [esp + 0x18], eax
jne 0x45b6b9
mov eax, dword [esp + 0x10]
push eax
call fcn.0049de1d
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.0049e0c6
add esp, 0x424
ret 8