Function at 0x45b920
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.0049df7f
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x45b99d
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x45bbad
push esi
push edi
push ebx
call fcn.0049e4e0
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.0045af90
mov esi, dword [esp + 0x10]
test al, al
je 0x45ba26
mov ecx, esi
test bl, bl
je 0x45b9ea
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 0x45ba49
mov eax, 2
jmp 0x45ba50
push esi
call fcn.0046dac0
inc eax
lea esi, [esi + eax*2]
mov eax, 0xffff
cmp word [esi], ax
jne 0x45ba64
mov eax, 2
jmp 0x45ba6b
push esi
call fcn.0046dac0
inc eax
push 0x1000000
lea ecx, [esp + 0x234]
push ecx
lea edx, [esi + eax*2]
push edx
call fcn.0046d7a0
cmp dword [edi], 0
je 0x45bb54
push 1
push 0x4b3b88
push 0xffffffffffffffff
call fcn.0041fb60
test ebp, ebp
je 0x45bab2
mov ecx, ebp
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45baa1
sub ecx, esi
push ecx
push ebp
push eax
call fcn.0041fb60
lea ecx, [esp + 0x230]
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x45bac0
sub ecx, esi
push ecx
lea ecx, [esp + 0x234]
push ecx
push eax
call fcn.0041fb60
not eax
push eax
lea edx, [esp + 0x28]
push str._08x
push edx
call fcn.0049deb5
add esp, 0xc
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call fcn.0045aa20
test eax, eax
jne 0x45bb0d
lea ecx, [esp + 0x24]
push ecx
mov ecx, edi
call fcn.0045a890
test eax, eax
je 0x45bb54
lea esi, [eax + 0xa]
push 0xc
push esi
call fcn.0049db10
add esp, 8
test eax, eax
je 0x45bb26
sub eax, esi
inc eax
mov ebx, eax
jmp 0x45bb2b
mov ebx, 0xff
push ebx
lea edx, [esp + 0x34]
push esi
push edx
call fcn.0049f290
lea eax, [esp + 0x3c]
push 0x22
push eax
mov byte [esp + ebx + 0x44], 0
call fcn.0049dbd0
add esp, 0x14
test eax, eax
je 0x45bb70
mov byte [eax], 0
jmp 0x45bb70
xor eax, eax
jmp 0x45bb60
mov cl, byte [esp + eax + 0x230]
mov byte [esp + eax + 0x30], cl
inc eax
test cl, cl
jne 0x45bb60
lea ecx, [esp + 0x30]
push ecx
call fcn.004ac2cd
mov edx, dword [esp + 0x20]
mov dword [edx], eax
mov eax, 0x64
add esp, 4
cmp dword [esp + 0x14], eax
jne 0x45bba9
cmp dword [esp + 0x18], eax
jne 0x45bba9
mov eax, dword [esp + 0x10]
push eax
call fcn.0049dbfd
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.0049dea6
add esp, 0x424
ret 8