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

Disassembly:
push esi
push ebx
mov ebx, ecx
sub esp, 0x44
movzx eax, word [ecx + 4]
mov esi, dword [esp + 0x50]
mov byte [esp + 0x12], 0x50
mov byte [esp + 0x13], 0x4b
mov byte [esp + 0x16], al
movsx eax, ah
mov byte [esp + 0x17], al
movzx eax, word [ecx + 6]
mov byte [esp + 0x14], 1
mov byte [esp + 0x15], 2
mov byte [esp + 0x18], al
movsx eax, ah
mov byte [esp + 0x19], al
movzx eax, word [ecx + 8]
mov byte [esp + 0x1a], al
movsx eax, ah
mov byte [esp + 0x1b], al
movzx eax, word [ecx + 0xa]
mov byte [esp + 0x1c], al
movsx eax, ah
mov byte [esp + 0x1d], al
movzx eax, word [ecx + 0xc]
mov byte [esp + 0x1e], al
movsx eax, ah
mov byte [esp + 0x1f], al
movzx eax, word [ecx + 0xe]
mov byte [esp + 0x20], al
movsx eax, ah
mov byte [esp + 0x21], al
mov eax, dword [ecx + 0x10]
mov edx, eax
sar edx, 8
mov byte [esp + 0x22], al
mov byte [esp + 0x23], dl
mov edx, eax
sar eax, 0x18
mov byte [esp + 0x25], al
mov eax, dword [ecx + 0x14]
sar edx, 0x10
mov byte [esp + 0x24], dl
mov edx, eax
sar edx, 8
mov byte [esp + 0x26], al
mov byte [esp + 0x27], dl
mov edx, eax
sar eax, 0x18
mov byte [esp + 0x29], al
mov eax, dword [ecx + 0x18]
sar edx, 0x10
mov byte [esp + 0x28], dl
mov dword [esp + 0xc], esi
mov edx, eax
sar edx, 8
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], dl
mov edx, eax
sar eax, 0x18
mov byte [esp + 0x2d], al
movzx eax, word [ecx + 0x1c]
sar edx, 0x10
mov byte [esp + 0x2c], dl
mov byte [esp + 0x2e], al
movsx eax, ah
mov byte [esp + 0x2f], al
movzx eax, word [ecx + 0x1e]
mov byte [esp + 0x30], al
movsx eax, ah
mov byte [esp + 0x31], al
movzx eax, word [ecx + 0x20]
mov byte [esp + 0x32], al
movsx eax, ah
mov byte [esp + 0x33], al
movzx eax, word [ecx + 0x22]
mov byte [esp + 0x34], al
movsx eax, ah
mov byte [esp + 0x35], al
movzx eax, word [ecx + 0x24]
mov byte [esp + 0x36], al
movsx eax, ah
mov byte [esp + 0x37], al
mov eax, dword [ecx + 0x28]
mov edx, eax
sar edx, 8
mov byte [esp + 0x38], al
mov byte [esp + 0x39], dl
mov edx, eax
sar eax, 0x18
mov byte [esp + 0x3b], al
mov eax, dword [ecx + 0x2c]
sar edx, 0x10
mov byte [esp + 0x3a], dl
mov edx, eax
sar edx, 8
mov byte [esp + 0x3c], al
mov byte [esp + 0x3d], dl
mov edx, eax
sar eax, 0x18
sar edx, 0x10
mov byte [esp + 0x3f], al
lea eax, [esp + 0x12]
mov byte [esp + 0x3e], dl
mov dword [esp + 8], 0x2e
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
cmp eax, 0x2e
jne 0x441913
movzx eax, word [ebx + 0x1c]
test ax, ax
jne 0x441920
movzx eax, word [ebx + 0x1e]
test ax, ax
jne 0x44194c
movzx eax, word [ebx + 0x20]
test ax, ax
jne 0x4418f0
add esp, 0x44
xor eax, eax
pop ebx
pop esi
ret 4
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0xc], esi
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
movzx edx, word [ebx + 0x20]
cmp eax, edx
je 0x4418e4
add esp, 0x44
mov eax, 0x80000000
pop ebx
pop esi
ret 4
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x30]
mov dword [esp + 0xc], esi
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
movzx edx, word [ebx + 0x1c]
cmp eax, edx
jne 0x441913
movzx eax, word [ebx + 0x1e]
test ax, ax
je 0x4418db
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 0xc], esi
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_fwrite
movzx edx, word [ebx + 0x1e]
cmp eax, edx
je 0x4418db
jmp 0x441913