Function at 0x42dc50
Capabilities:
Enumerate pe sections
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x437640
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x6c
mov eax, dword [0x44aae4]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x7c], ecx
push str.Fixing_the_file_header...
push 1
mov ecx, dword [0x44ec54]
call fcn.00427830
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x40], 0
mov eax, dword [str..adata]
mov dword [ebp - 0x38], eax
mov cx, word [0x441e0c]
mov word [ebp - 0x34], cx
mov dl, byte [0x441e0e]
mov byte [ebp - 0x32], dl
mov eax, dword [str..pdata]
mov dword [ebp - 0x28], eax
mov cx, word [0x441e14]
mov word [ebp - 0x24], cx
mov dl, byte [0x441e16]
mov byte [ebp - 0x22], dl
mov eax, dword [0x441e18]
mov dword [ebp - 0x20], eax
mov cx, word [0x441e1c]
mov word [ebp - 0x1c], cx
mov edx, dword [str..rdata]
mov dword [ebp - 0x30], edx
mov ax, word [0x441e24]
mov word [ebp - 0x2c], ax
mov cl, byte [0x441e26]
mov byte [ebp - 0x2a], cl
mov edx, dword [str..data]
mov dword [ebp - 0x4c], edx
mov ax, word [0x441e2c]
mov word [ebp - 0x48], ax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x58]
add ecx, dword [edx + 0x3c]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov dx, word [ecx + 6]
mov word [ebp - 0x44], dx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax + 0x2d4]
sub edx, dword [ecx + 0x34]
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 0x50]
mov dword [ecx + 0x2c], 0x1000
mov edx, dword [ebp - 0x3c]
add edx, 0xf8
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x60], 0
jmp 0x42dd97
mov eax, dword [ebp - 0x60]
add eax, 1
mov dword [ebp - 0x60], eax
movzx ecx, word [ebp - 0x44]
cmp dword [ebp - 0x60], ecx
jg 0x42de70
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [eax + 0x10], edx
push 7
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004107a5
add esp, 0xc
test eax, eax
jne 0x42dde2
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], 0xe0000020
push 7
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004107a5
add esp, 0xc
test eax, eax
jne 0x42de02
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], 0xe0000020
push 6
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004107a5
add esp, 0xc
test eax, eax
jne 0x42de22
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], 0xe0000020
push 7
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004107a5
add esp, 0xc
test eax, eax
jne 0x42de42
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], 0xc0000040
push 6
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004107a5
add esp, 0xc
test eax, eax
jne 0x42de62
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], 0xc0000040
mov eax, dword [ebp - 0x54]
add eax, 0x28
mov dword [ebp - 0x54], eax
jmp 0x42dd8e
cmp dword [ebp + 8], 0
je 0x42df42
movzx ecx, word [ebp - 0x44]
add ecx, 1
mov edx, dword [ebp - 0x50]
mov word [edx + 6], cx
mov eax, dword [0x44ec50]
mov ecx, dword [eax + 0x14]
imul ecx, ecx, 0x64
mov edx, dword [ebp - 0x50]
add ecx, dword [edx + 0x50]
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x50], ecx
mov ecx, dword [ebp - 0x54]
sub ecx, 0x28
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x14], edx
mov eax, dword [str..tst]
mov dword [ebp - 0x68], eax
mov cl, byte [0x441e34]
mov byte [ebp - 0x64], cl
xor edx, edx
mov word [ebp - 0x63], dx
mov byte [ebp - 0x61], dl
push 8
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0040fee0
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov eax, dword [0x44ec50]
mov ecx, dword [eax + 0x18]
mov dword [edx + 0x14], ecx
mov edx, dword [0x44ec50]
mov eax, dword [edx + 0x14]
imul eax, eax, 0x64
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [0x44ec44]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x24], 0xe0000060
mov eax, dword [ebp - 0x50]
mov ecx, dword [0x44ec44]
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x80], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [0x44ec50]
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x84], edx
push 0
push 0
push 3
push 0
push 0
push 0x40000000
mov eax, dword [0x44ec44]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xffffffff
jne 0x42df80
mov dword [ebp - 0x70], str.Unable_to_open_the_dumped_file...
push 0x4465f0
lea edx, [ebp - 0x70]
push edx
call fcn.004130b6
jmp 0x42dfba
push 0
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [0x44ec44]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp - 0x7c]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x42dfba
mov dword [ebp - 0x74], str.Unable_to_write_into_the_dumped_file...
push 0x4465f0
lea eax, [ebp - 0x74]
push eax
call fcn.004130b6
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
mov edx, dword [0x44ec44]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x42e01c
mov dword [ebp - 4], 0xffffffff
jmp 0x42e02a
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0040fc17
mov esp, ebp
pop ebp
ret 4