Function at 0x5903c7
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
xor eax, eax
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp + 0x28]
mov ecx, dword [edx + 0xc]
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0x28]
mov edx, dword [eax + 0x14]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x590404
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 0xc]
mov edx, dword [ebp + 0x28]
mov dword [edx + 0x14], eax
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x28]
mov ecx, dword [edx]
mov eax, dword [ebp + 0x28]
mov dword [eax + 0x18], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
jne 0x590418
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 0x28]
mov dword [edx + 0x1c], eax
cmp dword [ebp + 8], 0xffffffff
je 0x59093b
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x1c]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x18]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp + 0x28]
cmp dword [ecx + 0x10], 0
jne 0x590459
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0x28]
mov dword [edx + 0x10], eax
mov dword [ebp - 0x2c], 1
mov ecx, dword [ebp + 0x28]
cmp dword [ecx + 8], 0
je 0x590494
mov eax, dword [ebp + 0x28]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 0x28]
xor eax, eax
mov dword [ecx + 8], eax
cmp dword [ebp + 8], 0
jne 0x590591
cmp dword [ebp - 0x2c], 0
je 0x590591
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x20
ja 0x5904cc
jmp 0x590591
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 0x10]
movzx edx, word [eax + 4]
mov ecx, dword [ebp + 0x28]
add edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
cmp dword [ebp + 8], 0
jne 0x590591
mov eax, dword [ebp + 0x28]
mov edx, dword [eax + 0x10]
cmp dword [edx], 0x20
jae 0x590591
mov ecx, dword [ebp - 0x10]
cmp dword [ecx], 0x20
jbe 0x590591
cmp dword [ebp + 0xc], 0
jne 0x5904f0
cmp dword [ebp + 0x10], 0
jne 0x5904f0
cmp dword [ebp + 0x20], 0
jne 0x5904f0
cmp dword [ebp + 0x24], 0
jne 0x5904f0
cmp dword [ebp + 0x1c], 0
jne 0x5904ee
cmp dword [ebp + 0x18], 0
je 0x590502
mov dword [0xd220e0], 0x16
or eax, 0xffffffff
jmp 0x5909e6
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 0x28]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 0x28]
mov edx, dword [eax + 0x18]
mov ecx, dword [ebp + 0x28]
mov dword [ecx], edx
mov eax, dword [ebp + 0x28]
mov dword [eax + 8], 1
mov edx, dword [ebp + 0x28]
mov ecx, dword [edx]
movzx eax, word [ecx + 0x14]
mov edx, dword [ebp + 0x28]
add eax, dword [edx]
mov ecx, dword [ebp + 0x28]
mov dword [ecx + 4], eax
push dword [ebp + 0x28]
push 0
push 0
push 1
push 0
push 0
push 0x20
call fcn.00590195
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 0x28]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp + 0x28]
mov dword [ecx + 8], 1
cmp dword [ebp - 0x30], 0
jne 0x59056e
xor eax, eax
jmp 0x5909e6
cmp dword [0xd220e0], 2
je 0x59057f
mov eax, dword [ebp - 0x30]
jmp 0x5909e6
mov dword [0xd220e0], 5
or eax, 0xffffffff
jmp 0x5909e6
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x1c]
cmp ecx, dword [ebp - 0x10]
ja 0x590901
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
ja 0x590901
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x28]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x1c]
je 0x59093b
mov edx, dword [ebp - 0x10]
cmp word [edx + 4], 0
je 0x590901
mov ecx, dword [ebp - 0x10]
add ecx, 6
cmp ecx, dword [ebp - 0x1c]
ja 0x590901
mov eax, dword [ebp - 0x10]
movzx edx, word [eax + 4]
add edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x1c]
ja 0x590901
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx + 4]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 8], 0
je 0x590620
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx]
cmp ecx, dword [ebp + 8]
ja 0x59093b
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx]
jne 0x5908f6
mov ecx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [ecx + 6]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [edx + 7]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
je 0x590744
mov eax, 0x82456c
cmp eax, dword [ebp + 0xc]
jne 0x590659
cmp dword [ebp - 0x28], 0
jne 0x59093b
jmp 0x59069f
cmp dword [ebp + 0xc], 0
je 0x59069f
mov edx, dword [ebp - 0xc]
push dword [edx + 0xb4]
mov ecx, dword [ebp - 0xc]
push dword [ecx + 0xb0]
mov al, byte [ebp + 0x14]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.005a6044
add esp, 0x1c
mov dword [ebp - 0x34], eax
test eax, eax
je 0x59069f
cmp dword [ebp - 0x34], 0
jl 0x59093b
jmp 0x5908f6
cmp dword [ebp + 0x1c], 0
jne 0x5906a9
cmp dword [ebp + 0x18], 0
je 0x590744
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
jb 0x590744
mov ecx, dword [ebp - 0x14]
add ecx, 6
cmp ecx, dword [ebp - 0x1c]
jae 0x590744
mov eax, dword [ebp - 0x14]
movzx edx, word [eax + 4]
add edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1c]
ja 0x590744
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
cmp edx, dword [ebp + 0x1c]
jne 0x5906ea
cmp eax, dword [ebp + 0x18]
ja 0x590744
jmp 0x5906ec
jg 0x590744
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
cmp edx, dword [ecx]
jne 0x590744
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [eax + 6]
cmp edx, dword [ebp - 0x28]
jne 0x590744
mov ecx, dword [ebp - 0xc]
push dword [ecx + 0xb4]
mov eax, dword [ebp - 0xc]
push dword [eax + 0xb0]
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [edx + 6]
push ecx
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dl, byte [eax + 7]
add edx, dword [ebp - 0x14]
push edx
call fcn.005a5fdc
add esp, 0x1c
test eax, eax
jne 0x5908f6
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
and edx, 0xffff
mov ecx, dword [ebp - 8]
cmp edx, dword [ecx + 4]
jne 0x590780
cmp eax, dword [ecx]
jne 0x590780
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
shr eax, 0x10
xor edx, edx
and ax, 0xffff
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 8]
cmp ax, word [ecx + 0x10]
jne 0x590901
jmp 0x5907e9
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
and edx, 0xffff
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 4]
jne 0x5907b4
cmp eax, dword [ecx]
jne 0x5907b4
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x28]
mov dword [edx + 0xc], eax
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x28]
mov ecx, dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov dword [eax], ecx
jmp 0x5907e9
mov edx, dword [ebp - 0x10]
push dword [edx + 0x14]
push dword [edx + 0x10]
push dword [ebp - 4]
call fcn.0059e134
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x590901
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 0x28]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 8]
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
movzx edx, word [eax + 0x14]
mov ecx, dword [ebp + 0x28]
add edx, dword [ecx]
mov eax, dword [ebp + 0x28]
mov dword [eax + 4], edx
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x28]
cmp ecx, dword [eax]
jb 0x590901
mov edx, dword [ebp + 0x28]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x1c]
mov edx, dword [ebp + 0x28]
add eax, dword [edx]
cmp eax, dword [ebp - 0x20]
jb 0x590901
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0xffffffff
je 0x5908f6
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0
je 0x590901
mov edx, dword [ebp - 0x20]
mov cx, word [edx + 0xe]
mov eax, dword [ebp - 0x10]
cmp cx, word [eax + 0x18]
jne 0x5908e8
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax]
jne 0x590901
mov edx, dword [ebp - 0xc]
push dword [edx + 0xb4]
mov ecx, dword [ebp - 0xc]
push dword [ecx + 0xb0]
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dl, byte [eax + 9]
push edx
mov ecx, dword [ebp - 0x20]
movzx eax, word [ecx + 0xa]
add eax, dword [ebp - 0x20]
push eax
call fcn.005a5fdc
add esp, 0x1c
test eax, eax
je 0x590901
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x28]
mov dword [ecx + 4], edx
cmp dword [ebp + 8], 0
je 0x5908e1
cmp dword [ebp + 0x20], 0
je 0x5908e1
mov eax, dword [ebp - 0x20]
cmp byte [eax + 8], 0
jne 0x5908e8
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [ebp + 0x24]
jne 0x5908e8
push dword [ebp + 0x24]
push dword [ebp + 0x20]
mov eax, dword [ebp - 0x20]
movzx edx, word [eax + 0x14]
add edx, dword [ebp - 0x20]
push edx
call fcn.0066cf64
add esp, 0xc
test eax, eax
jne 0x5908e8
xor eax, eax
jmp 0x5909e6
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx + 4]
add dword [ebp - 0x20], ecx
jmp 0x590800
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x590591
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 4]
je 0x590929
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x28]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp + 0x28]
mov ecx, dword [edx + 0x18]
mov eax, dword [ebp + 0x28]
mov dword [eax], ecx
mov edx, dword [ebp + 0x28]
mov ecx, dword [edx + 0x1c]
mov eax, dword [ebp + 0x28]
mov dword [eax + 4], ecx
mov dword [0xd220e0], 5
or eax, 0xffffffff
jmp 0x5909e6
cmp dword [ebp + 8], 0
je 0x590947
cmp dword [ebp + 8], 0xffffffff
jne 0x59096f
push dword [ebp + 0x28]
call fcn.005946fc
pop ecx
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
mov dl, byte [ebp + 0x14]
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xffffffffffffffff
call fcn.00590195
add esp, 0x1c
jmp 0x5909e6
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 0x18]
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx]
movzx edx, word [eax + 0x14]
mov ecx, dword [ebp + 0x28]
add edx, dword [ecx]
mov eax, dword [ebp + 0x28]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x28]
mov dword [edx + 8], 1
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx + 0x14]
mov edx, dword [ebp + 0x28]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp + 0x28]
xor eax, eax
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 0x28]
xor ecx, ecx
mov dword [edx + 0x18], ecx
mov eax, dword [ebp + 0x28]
xor edx, edx
mov dword [eax + 0x1c], edx
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
mov cl, byte [ebp + 0x14]
push ecx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00590195
add esp, 0x1c
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x5909bc
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret