Function at 0x58e890
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58ecad
sub esp, 0x48
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov dword [esp + 4], ecx
lea ecx, [0x60e8c0]
mov dword [esp], ecx
lea edx, [0x61f94f]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x11
call fcn.0040dfa0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
je 0x58ec84
mov dword [esp + 0x38], edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov dword [esp + 4], ecx
lea ecx, [0x60e8c0]
mov dword [esp], ecx
lea edx, [0x61f94f]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x11
call fcn.0040e6a0
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x10]
cmp ecx, 1
jle 0x58ec6d
mov ecx, 1
test cl, cl
je 0x58ec59
mov ecx, dword [esp + 0x24]
test ecx, ecx
jbe 0x58eca6
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x61c19d]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
call fcn.004a4db0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
lea edx, [0x5dfce0]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], ecx
call fcn.00437b80
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x20], edx
xor ebx, ebx
jmp 0x58e9ba
mov ebp, dword [esp + 0x30]
inc ebp
mov ecx, esi
mov edx, edi
mov eax, ebx
mov ebx, ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
jge 0x58eb13
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x3c]
lea ecx, [eax + ebx*8]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004a5ec0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004a57b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
cmp eax, 8
jne 0x58ea20
mov edx, dword [ecx]
cmp edx, 0x6e656469
jne 0x58ea20
mov edx, dword [ecx + 4]
cmp edx, 0x79746974
je 0x58eb13
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], ecx
cmp eax, 7
jne 0x58ea9b
mov edx, dword [ecx]
cmp edx, 0x6e756863
jne 0x58ea9b
movzx edx, word [ecx + 4]
cmp dx, 0x656b
jne 0x58ea9b
movzx edx, byte [ecx + 6]
cmp dl, 0x64
jne 0x58ea9b
mov edx, dword [esp + 0x1c]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x20]
cmp ebx, ebp
ja 0x58ec9f
cmp edx, ebx
jae 0x58ec98
mov esi, dword [esp + 0x34]
mov edi, ebp
lea ebp, [esi + edx*8 + 4]
mov dword [ebp], eax
mov ebp, dword [0x7db370]
lea edx, [esi + edx*8]
test ebp, ebp
jne 0x58ea87
mov dword [edx], ecx
jmp 0x58e9ad
mov eax, edi
mov edi, edx
mov ebp, eax
mov eax, ecx
call fcn.0044b680
mov edi, ebp
jmp 0x58e9ad
lea eax, [0x5f0740]
mov dword [esp], eax
call fcn.00409a30
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1d
mov eax, dword [0x7db370]
test eax, eax
jne 0x58eb06
lea ecx, [0x624c4f]
mov dword [edi], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x58eaf0
mov eax, dword [esp + 0x40]
mov dword [edi + 8], eax
lea eax, [0x65f4b0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
add esp, 0x48
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x40]
call fcn.0044b680
mov edi, edx
jmp 0x58eade
lea eax, [0x624c4f]
call fcn.0044b680
jmp 0x58eac6
mov eax, dword [esp + 0x1c]
cmp eax, 1
jg 0x58eba7
test eax, eax
jle 0x58eb93
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax]
mov dword [esp + 4], ecx
lea ecx, [0x60e8c0]
mov dword [esp], ecx
lea ecx, [0x61e7e0]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xe
call fcn.0040e6a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [ecx + 0x30], eax
mov eax, dword [0x7db370]
test eax, eax
jne 0x58eb85
mov eax, dword [esp + 0x34]
mov dword [ecx + 0x28], eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add esp, 0x48
ret
lea edi, [ecx + 0x28]
mov eax, dword [esp + 0x34]
call fcn.0044b680
jmp 0x58eb71
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add esp, 0x48
ret
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 8], eax
lea eax, [0x61c19d]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004a4e20
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ecx
lea edx, [0x5f0740]
mov dword [esp], edx
call fcn.00409a30
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x1b
mov eax, dword [0x7db370]
test eax, eax
jne 0x58ec4c
lea ecx, [0x623ef9]
mov dword [edi], ecx
mov ecx, dword [esp + 0x30]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x7db370]
test ecx, ecx
jne 0x58ec36
mov eax, dword [esp + 0x44]
mov dword [edi + 8], eax
lea eax, [0x65f4b0]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
add esp, 0x48
ret
lea ecx, [edi + 8]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x44]
call fcn.0044b680
mov edi, edx
jmp 0x58ec24
lea eax, [0x623ef9]
call fcn.0044b680
jmp 0x58ec0c
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add esp, 0x48
ret
jne 0x58ec7d
mov ecx, dword [eax + 0x14]
cmp ecx, 1
setge cl
jmp 0x58e930
xor ecx, ecx
jmp 0x58e930
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add esp, 0x48
ret
call fcn.004258a0
ud2
call fcn.004259a0
ud2
call fcn.004258a0
ud2
call fcn.00449f20
jmp fcn.0058e890