Function at 0x45b5c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x45b5c8
push ecx
push ebx
push esi
mov eax, 0x45b420
call fcn.00405f54
xor eax, eax
push ebp
push 0x45b9dd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45b9ec
push 0x45b9f4
mov eax, dword [0x45da18]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
jne 0x45b626
push 0x10
push 0x45b9fc
push 0x45ba04
push 0
call sub.user32.dll_MessageBoxA_1
push 0
call sub.user32.dll_PostQuitMessage
jmp 0x45b9b5
push ebx
mov eax, dword [0x45da18]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_SizeofResource
cmp eax, 0x190
je 0x45b65a
push 0x10
push 0x45b9fc
push 0x45ba1c
push 0
call sub.user32.dll_MessageBoxA_1
push 0
call sub.user32.dll_PostQuitMessage
jmp 0x45b9b5
push ebx
mov eax, dword [0x45da18]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_LoadResource
test eax, eax
jne 0x45b68b
push 0x10
push 0x45b9fc
push 0x45ba34
push 0
call sub.user32.dll_MessageBoxA_1
push 0
call sub.user32.dll_PostQuitMessage
jmp 0x45b9b5
push eax
call sub.kernel32.dll_LockResource
mov ebx, eax
test ebx, ebx
jne 0x45b6b6
push 0x10
push 0x45b9fc
push 0x45ba4c
push 0
call sub.user32.dll_MessageBoxA_1
push 0
call sub.user32.dll_PostQuitMessage
jmp 0x45b9b5
mov eax, 0x45ec74
mov edx, 0x190
call fcn.00404550
mov eax, dword [0x45ec74]
call fcn.004043c4
mov ecx, 0x190
mov edx, ebx
call fcn.004563e4
push 0x45ec70
mov ecx, 0x10
mov edx, 1
mov eax, dword [0x45ec74]
call fcn.00404424
mov eax, 0x45ec74
mov ecx, 0x10
mov edx, 1
call fcn.00404464
lea ecx, [ebp - 0x14]
mov edx, 0x45ba6c
mov eax, dword [0x45ec70]
call fcn.00456400
mov edx, dword [ebp - 0x14]
mov eax, 0x45ec70
call fcn.00403f58
mov eax, 0x45ec68
call fcn.00403f04
mov eax, dword [0x45ec70]
call fcn.004041c4
mov ebx, eax
sar ebx, 1
jns 0x45b744
adc ebx, 0
mov esi, ebx
dec esi
test esi, esi
jl 0x45b79b
inc esi
xor ebx, ebx
lea eax, [ebp - 0x20]
push eax
mov edx, ebx
add edx, edx
inc edx
mov ecx, 2
mov eax, dword [0x45ec70]
call fcn.00404424
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x45ba80
call fcn.00404210
mov eax, dword [ebp - 0x1c]
xor edx, edx
call fcn.00408164
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.004040ec
mov edx, dword [ebp - 0x18]
mov eax, 0x45ec68
call fcn.004041cc
inc ebx
dec esi
jne 0x45b74e
mov eax, 0x45ec68
mov ecx, 2
mov edx, 1
call fcn.00404464
mov eax, dword [0x45ec74]
call fcn.004041c4
mov ebx, eax
test ebx, ebx
jns 0x45b7c2
add ebx, 0xf
sar ebx, 4
mov eax, 0x45ec70
call fcn.00403f04
mov esi, ebx
dec esi
test esi, esi
jl 0x45b84b
inc esi
xor ebx, ebx
lea eax, [ebp - 0x24]
push eax
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x2c]
xor ecx, ecx
mov eax, 0x45ba8c
call fcn.00408d10
mov edx, dword [ebp - 0x24]
mov eax, 0x45ec6c
mov ecx, dword [0x45ec68]
call fcn.00404210
lea eax, [ebp - 0x34]
push eax
mov edx, ebx
shl edx, 4
inc edx
mov ecx, 0x10
mov eax, dword [0x45ec74]
call fcn.00404424
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
mov edx, dword [0x45ec6c]
call fcn.00456400
mov edx, dword [ebp - 0x30]
mov eax, 0x45ec70
call fcn.004041cc
inc ebx
dec esi
jne 0x45b7d9
push 0
push 0
lea eax, [ebp - 0x3c]
push eax
mov ecx, 0x10
mov edx, 1
mov eax, dword [0x45ec70]
call fcn.00404424
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, 0x45ba80
call fcn.00404210
mov eax, dword [ebp - 0x38]
call fcn.0040819c
mov ebx, eax
mov eax, 0x45ec70
mov ecx, 0x10
mov edx, 1
call fcn.00404464
mov eax, dword [0x45ec70]
call fcn.0045b328
cmp bx, ax
je 0x45b8c3
push 0x10
push 0x45b9fc
push 0x45ba94
push 0
call sub.user32.dll_MessageBoxA_1
push 0
call sub.user32.dll_PostQuitMessage
jmp 0x45b9b5
push 0
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [0x45ec70]
call fcn.00404424
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 0x45ba80
call fcn.00404210
mov eax, dword [ebp - 0x40]
call fcn.0040819c
mov ebx, eax
mov eax, 0x45ec70
mov ecx, 8
mov edx, 1
call fcn.00404464
call fcn.00456498
cmp ebx, eax
je 0x45b935
push 0x10
push 0x45b9fc
push 0x45baac
push 0
call sub.user32.dll_MessageBoxA_1
push 0
call sub.user32.dll_PostQuitMessage
jmp 0x45b9b5
xor ebx, ebx
mov esi, 0x45ebb4
lea eax, [ebp - 0x4c]
push eax
mov edx, ebx
add edx, edx
inc edx
mov ecx, 2
mov eax, dword [0x45ec70]
call fcn.00404424
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov edx, 0x45ba80
call fcn.00404210
mov eax, dword [ebp - 0x48]
call fcn.00408128
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0xb4
jne 0x45b93c
mov eax, 0x45ebb4
call fcn.004564bc
test eax, eax
je 0x45b9a2
push 0x10
push 0x45b9fc
push 0x45bac4
push 0
call sub.user32.dll_MessageBoxA_1
push 0
call sub.user32.dll_PostQuitMessage
jmp 0x45b9b5
push 0x40
push 0x45badc
push 0x45bae4
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b9e4
lea eax, [ebp - 0x4c]
mov edx, 8
call fcn.00403f28
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00403f28
ret