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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
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.00405284
xor eax, eax
push ebp
push 0x424650
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00424400
test al, al
je 0x4244af
mov eax, dword [ebp - 4]
mov edx, dword [0x43f394]
mov edx, dword [edx]
call fcn.004051e0
je 0x424490
mov eax, dword [ebp - 4]
mov edx, dword [0x43f3b8]
mov edx, dword [edx]
call fcn.004051e0
je 0x424490
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402df4
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, dword [ebp - 4]
call fcn.004050e0
jmp 0x42462d
lea edx, [ebp - 0x28]
mov eax, 0x424668
call fcn.004237ec
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov ecx, dword [ebp - 4]
call fcn.004050e0
jmp 0x42462d
push 0xa
push 0x42468c
mov eax, dword [0x440668]
push eax
call sub.kernel32.dll_FindResourceA
mov esi, eax
push esi
mov eax, dword [0x440668]
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 [0x440668]
push eax
call sub.kernel32.dll_SizeofResource
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.00402a50
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.00402c50
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 0x424554
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.00402df4
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebx]
call fcn.00405094
mov ecx, eax
sub ecx, 4
mov eax, dword [ebx]
mov edx, 1
call fcn.004052f4
mov edx, dword [ebp - 0x2c]
mov eax, ebx
mov ecx, 0x4246a0
call fcn.004050e0
xor esi, esi
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebx]
call fcn.00405294
push eax
call sub.kernel32.dll_CreateFileA_1
mov edi, eax
test edi, edi
jge 0x4245f2
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebx]
call fcn.00405094
mov ecx, eax
sub ecx, 3
mov eax, dword [ebx]
mov edx, 1
call fcn.004052f4
push dword [ebp - 0x30]
push 0x4246b0
lea eax, [ebp - 0x34]
mov edx, esi
add dl, 0x30
call fcn.00404fbc
push dword [ebp - 0x34]
mov eax, ebx
mov edx, 3
call fcn.00405154
inc esi
jmp 0x424612
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_1
push edi
mov eax, dword [0x43f70c]
mov eax, dword [eax]
call eax
jmp 0x42461b
cmp esi, 0xa
jb 0x42458a
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040509c
mov eax, dword [ebp - 0x18]
call fcn.00402a80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424657
lea eax, [ebp - 0x34]
mov edx, 5
call fcn.00404df8
lea eax, [ebp - 4]
call fcn.00404dd4
ret