Function at 0x43b148
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 8
push 0
push 0
dec ecx
jne 0x43b151
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.0040523c
xor eax, eax
push ebp
push 0x43b3e7
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0043b13c
test al, al
je 0x43b246
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004089c0
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [0x458f78]
mov eax, dword [eax]
call fcn.004089c0
mov edx, dword [ebp - 0x28]
pop eax
call fcn.00405198
je 0x43b207
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004089c0
mov eax, dword [ebp - 0x2c]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [0x458fb4]
mov eax, dword [eax]
call fcn.004089c0
mov edx, dword [ebp - 0x30]
pop eax
call fcn.00405198
je 0x43b207
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.004089c0
mov eax, dword [ebp - 0x34]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [0x4593d4]
mov eax, dword [eax]
call fcn.004089c0
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00405198
jne 0x43b220
mov eax, dword [0x459170]
mov eax, dword [eax]
mov edx, dword [eax + 8]
mov eax, ebx
mov ecx, dword [ebp - 4]
call fcn.00405098
jmp 0x43b3c4
mov eax, dword [0x4591d4]
mov eax, dword [eax]
call fcn.00403510
mov edx, dword [0x459170]
mov edx, dword [edx]
mov edx, dword [edx + eax*4]
mov eax, ebx
mov ecx, dword [ebp - 4]
call fcn.00405098
jmp 0x43b3c4
push 0xa
push 0x43b3f8
mov eax, dword [0x45a660]
push eax
call sub.KERNEL32.DLL_FindResourceA
mov esi, eax
push esi
mov eax, dword [0x45a660]
push eax
call sub.KERNEL32.DLL_LoadResource
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_LockResource
mov dword [ebp - 0x10], eax
push esi
mov eax, dword [0x45a660]
push eax
call sub.KERNEL32.DLL_SizeofResource
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00402a40
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.00402c04
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_FreeResource
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 0xf8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x50]
cmp edi, eax
jbe 0x43b2eb
sub edi, eax
mov eax, edi
mov edx, dword [ebp - 0x1c]
add dword [edx + 0x50], eax
mov edx, dword [ebp - 0x1c]
movzx edx, word [edx + 6]
lea edx, [edx + edx*4]
mov ecx, dword [ebp - 0x20]
add dword [ecx + edx*8 - 0x20], eax
mov edx, ebx
xor eax, eax
call fcn.00402da8
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebx]
call fcn.0040504c
mov ecx, eax
sub ecx, 4
mov eax, dword [ebx]
mov edx, 1
call fcn.004052ac
mov edx, dword [ebp - 0x3c]
mov eax, ebx
mov ecx, 0x43b40c
call fcn.00405098
xor esi, esi
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebx]
call fcn.0040524c
push eax
call sub.KERNEL32.DLL_CreateFileA
mov edi, eax
test edi, edi
jge 0x43b389
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebx]
call fcn.0040504c
mov ecx, eax
sub ecx, 3
mov eax, dword [ebx]
mov edx, 1
call fcn.004052ac
push dword [ebp - 0x40]
push 0x43b41c
lea eax, [ebp - 0x44]
mov edx, esi
add dl, 0x30
call fcn.00404f74
push dword [ebp - 0x44]
mov eax, ebx
mov edx, 3
call fcn.0040510c
inc esi
jmp 0x43b3a9
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push edi
call sub.KERNEL32.DLL_WriteFile
push edi
mov eax, dword [0x459408]
mov eax, dword [eax]
call eax
jmp 0x43b3b2
cmp esi, 0xa
jb 0x43b321
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405054
mov eax, dword [ebp - 0x18]
call fcn.00402a70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b3ee
lea eax, [ebp - 0x44]
mov edx, 9
call fcn.00404db0
lea eax, [ebp - 4]
call fcn.00404d8c
ret