Function at 0x42c5a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4375ef
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x44aae4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.0042be30
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x1c], 0
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
movzx eax, word [edx + 6]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xf8
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], 0
jmp 0x42c643
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x18]
jae 0x42c6d1
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00410250
add esp, 8
test eax, eax
jne 0x42c6c3
jmp 0x42c674
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x18]
sub edx, 1
cmp dword [ebp - 0x38], edx
jae 0x42c6a5
push 0x28
mov eax, dword [ebp - 0x2c]
add eax, 0x28
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040fee0
add esp, 0xc
mov edx, dword [ebp - 0x2c]
add edx, 0x28
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
jmp 0x42c66b
push 0x28
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004104c0
add esp, 0xc
movzx edx, word [ebp - 0x18]
sub edx, 1
mov eax, dword [ebp - 0x28]
mov word [eax + 6], dx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x28
mov dword [ebp - 0x2c], ecx
jmp 0x42c63a
push 0
push 0
push 3
push 0
push 0
push 0x40000000
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42c6f9
cmp dword [ebp - 0x20], 0xffffffff
jne 0x42c70e
mov dword [ebp - 0x40], str.Unable_to_open_dumped_file...
push 0x4465f0
lea eax, [ebp - 0x40]
push eax
call fcn.004130b6
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42c73f
mov dword [ebp - 0x44], str.Unable_to_write_into_the_dumped_file...
push 0x4465f0
lea edx, [ebp - 0x44]
push edx
call fcn.004130b6
push 0x8000
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42c782
mov dword [ebp - 4], 0xffffffff
jmp 0x42c790
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc