Function at 0x45ce10
Capabilities:
Enumerate pe sections
Read file on windows

Disassembly:
sub esp, 0x4c
mov eax, dword [0x4c03a0]
xor eax, esp
mov dword [esp + 0x48], eax
push esi
xor esi, esi
cmp dword [0x4c985c], esi
je 0x45ce46
cmp dword [0x4c9864], esi
jne 0x45ce46
call fcn.0045b9b0
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0045e626
add esp, 0x4c
ret
mov eax, dword [0x4c9400]
push ebx
push ebp
push edi
mov dword [0x4c93f8], esi
mov dword [0x4c9868], esi
mov dword [0x4c93ec], esi
cmp eax, esi
je 0x45d929
cmp byte [eax], 0
je 0x45d929
mov ecx, dword [0x4c93fc]
push esi
push 0x4b1948
push ecx
push eax
call 0x3f0430
mov ebp, eax
cmp ebp, esi
je 0x45d929
push 0x1004
call fcn.0045e6ff
mov edi, eax
add esp, 4
cmp edi, esi
je 0x45d9d4
push 2
lea ebx, [edi + 0x1000]
mov dword [esp + 0x14], esi
mov esi, ebx
push 0xfffff000
push ebp
mov byte [esi + 1], 0
mov byte [esi + 2], 0
mov byte [esi + 3], 0
call fcn.00460425
add esp, 0xc
test eax, eax
jne 0x45d088
push ebp
call fcn.0046032f
add esp, 4
add eax, 0x1000
mov dword [0x4c93f8], eax
jmp 0x45cef5
mov eax, dword [0x4c93f8]
cmp eax, 0x1000
jb 0x45d094
sub eax, 0x1000
mov dword [0x4c93f8], eax
mov dl, byte [esi + 1]
push ebp
mov byte [ebx], dl
mov al, byte [esi + 2]
push 0x1000
mov byte [edi + 0x1001], al
mov cl, byte [esi + 3]
push 1
push edi
mov byte [edi + 0x1002], cl
call fcn.00460179
push 1
push 0xffffe000
push ebp
call fcn.00460425
lea esi, [edi + 0xfff]
add esp, 0x1c
cmp esi, edi
jb 0x45cef0
lea esp, [esp]
movzx edx, byte [esi + 3]
movzx eax, byte [esi + 2]
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, eax
movzx eax, byte [esi]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
cmp edx, 0x6054b50
je 0x45cf80
dec esi
cmp esi, edi
jae 0x45cf50
jmp 0x45cef0
mov eax, dword [0x4c93f8]
sub esi, edi
add eax, esi
mov dword [0x4c93f8], eax
push 0
add eax, 4
push eax
push ebp
mov dword [esp + 0x1c], 1
call fcn.00460425
add esp, 0xc
xor ebx, ebx
push edi
call fcn.0045e37d
add esp, 4
push ebp
cmp dword [esp + 0x14], ebx
je 0x45d9b4
push 1
lea eax, [esp + 0x24]
push 0x12
push eax
call fcn.00460179
add esp, 0x10
cmp eax, 1
jne 0x45d9f5
movzx ecx, byte [esp + 0x21]
movzx edx, byte [esp + 0x20]
shl ecx, 8
or ecx, edx
cmp ecx, 0xffff
jne 0x45d026
movzx eax, byte [esp + 0x23]
movzx ecx, byte [esp + 0x22]
shl eax, 8
or eax, ecx
cmp eax, 0xffff
jne 0x45d026
push 0x3b7
call fcn.0041be10
mov edx, dword [0x4c9400]
push eax
push edx
call fcn.0044d240
add esp, 8
push 0x4b1914
call fcn.00459d80
movzx eax, byte [esp + 0x2d]
movzx ecx, byte [esp + 0x2c]
shl eax, 8
or eax, ecx
mov dword [0x4c93ec], eax
je 0x45d132
push eax
call fcn.0045e6ff
add esp, 4
mov dword [0x4c986c], eax
push ebp
cmp eax, ebx
je 0x45d9d5
mov edx, dword [0x4c93ec]
push 1
push edx
push eax
call fcn.00460179
add esp, 0x10
cmp eax, 1
je 0x45d132
mov eax, dword [0x4c986c]
push eax
call fcn.0045e37d
mov dword [0x4c986c], ebx
jmp fcn.0045d983
mov dword [0x4c93f8], 0x1000
jmp 0x45d09c
test eax, eax
jbe 0x45cfa5
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.00460425
mov ecx, dword [0x4c93f8]
push ebp
push ecx
push 1
push edi
call fcn.00460179
movzx edx, byte [esi + 1]
mov byte [eax + edi], dl
mov cl, byte [esi + 2]
mov byte [eax + edi + 1], cl
movzx edx, byte [esi + 3]
mov byte [eax + edi + 2], dl
lea eax, [eax + edi - 1]
add esp, 0x1c
cmp eax, edi
jb 0x45cfa7
jmp 0x45d0e0
movzx ecx, byte [eax + 3]
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax]
shl ecx, 8
or ecx, edx
cmp ecx, 0x6054b50
je 0x45d110
dec eax
cmp eax, edi
jae 0x45d0e0
jmp 0x45cfa7
sub eax, edi
mov dword [0x4c93f8], eax
push ebx
add eax, 4
push eax
push ebp
mov dword [esp + 0x1c], 1
call fcn.00460425
add esp, 0xc
jmp 0x45cfa7
movzx ecx, byte [esp + 0x27]
movzx edx, byte [esp + 0x26]
movzx eax, byte [esp + 0x25]
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0x24]
shl ecx, 8
or ecx, eax
mov eax, dword [0x4c93f8]
shl ecx, 8
or ecx, edx
sub eax, ecx
mov dword [0x4c93f4], eax
cmp dword [0x4c9864], ebx
je 0x45d196
movzx edx, byte [esp + 0x2b]
movzx ecx, byte [esp + 0x2a]
shl edx, 8
or edx, ecx
movzx ecx, byte [esp + 0x29]
shl edx, 8
or edx, ecx
movzx ecx, byte [esp + 0x28]
shl edx, 8
or edx, ecx
mov ecx, eax
sub ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x45d19a
mov dword [esp + 0x10], ebx
lea edx, [eax + 0x13]
cmp edx, 0x12
ja 0x45d1a9
xor eax, eax
mov dword [0x4c93f4], eax
push ebx
push eax
push ebp
call fcn.00460425
add esp, 0xc
push ebp
test eax, eax
jne 0x45d9b4
push 1
lea eax, [esp + 0x24]
push 4
push eax
mov dword [esp + 0x24], 0x4c9868
mov dword [0x4c93f0], ebx
call fcn.00460179
add esp, 0x10
cmp eax, 1
jne 0x45d9f5
movzx ecx, byte [esp + 0x1f]
movzx edx, byte [esp + 0x1e]
movzx eax, byte [esp + 0x1d]
shl ecx, 8
or ecx, edx
movzx edx, byte [esp + 0x1c]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, edx
cmp ecx, 0x2014b50
jne 0x45d4b0