Function at 0x59da04
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x1c
call fcn.00696350
mov ecx, dword [esp + 0x1c]
mov esi, ecx
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
cmp ebp, 3
je 0x59dacf
cmp ebp, 7
je 0x59dacf
cmp ebp, 6
je 0x59dacf
cmp ebp, 5
je 0x59dacf
cmp ebp, 4
je 0x59dacf
cmp ebp, 8
je 0x59ddac
cmp ebp, 9
je 0x59dd93
push 1
mov ecx, esi
call fcn.0050a400
test ebp, ebp
je 0x59dab5
cmp ebp, 0xa
je 0x59dd49
cmp ebp, 2
je 0x59dd19
cmp ebp, 1
je 0x59dcff
push ebx
lea ecx, [esp + 4]
xor edx, edx
call fcn.004f61b0
xor edx, edx
lea eax, [esp]
push edx
push ebx
push edx
push eax
mov ebx, dword [esp + 0x4c]
push ebx
push edx
push ebp
mov ecx, esi
call fcn.0059da04
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
push 0x6c41ec
push 1
mov ecx, esi
call fcn.0050c800
xor eax, eax
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov eax, 0x186a0
xor edx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
push edx
lea ecx, [esp + 4]
call fcn.0050a9a0
movzx eax, word [esp + 0x44]
test eax, eax
je 0x59db37
push 4
push ebx
push 0
push ebx
lea ecx, [esp + 0x10]
movzx edx, word [esp + 0x54]
call fcn.0058e794
test eax, eax
jne 0x59db37
mov eax, dword [esp + 6]
cmp eax, 3
je 0x59db27
lea ecx, [esp]
mov edx, dword [esp]
call dword [eax*4 + 0x6ef424]
mov eax, dword [esp]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
cmp ebp, 6
je 0x59db41
cmp ebp, 4
jne 0x59db7a
test ebx, ebx
je 0x59db7a
mov edx, dword [ebx]
movzx eax, word [0x7bc08c]
push eax
mov ecx, ebx
call dword [edx + 0x20]
test eax, eax
je 0x59db7a
lea edi, [esp]
mov edx, dword [esp + 0x4c]
push edx
push edi
mov ecx, eax
call fcn.00502a8c
mov eax, dword [esp + 6]
mov ecx, dword [esp]
call dword [eax*4 + 0x6f08fc]
test eax, eax
je 0x59db81
xor edi, edi
jmp 0x59dc4b
mov ecx, dword [esp]
call fcn.00416e40
mov edi, eax
test edi, edi
je 0x59db7a
mov edx, dword [ebx]
movzx eax, word [0x7bc0dc]
push eax
mov ecx, ebx
call dword [edx + 0x20]
mov ecx, eax
test ecx, ecx
je 0x59db7a
lea eax, [esp]
mov edx, dword [esp + 0x4c]
push edx
push eax
call fcn.00502a8c
mov eax, dword [esp + 6]
mov ecx, dword [esp]
call dword [eax*4 + 0x6f08fc]
test eax, eax
je 0x59dbcb
xor edi, edi
jmp 0x59dc4b
mov edx, dword [esp]
test edx, edx
je 0x59dbde
movsx eax, byte [edx]
test eax, eax
je 0x59dbde
cmp eax, 4
jne 0x59dbe2
xor edi, edi
jmp 0x59dc4b
mov ecx, edi
call fcn.00416e10
test eax, eax
je 0x59dbf1
xor edi, edi
jmp 0x59dc4b
mov edi, dword [esp]
test edi, edi
je 0x59dc4b
mov edx, dword [ebx]
movzx eax, word [0x7bc094]
push eax
mov ecx, ebx
call dword [edx + 0x20]
test eax, eax
je 0x59dc4b
lea ebx, [esp]
mov edx, dword [esp + 0x4c]
push edx
push ebx
mov ecx, eax
call fcn.00502a8c
mov eax, dword [esp + 6]
mov ecx, dword [esp]
call dword [eax*4 + 0x6f08fc]
test eax, eax
jne 0x59dc4b
mov ebx, dword [esp]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
add ebx, 0x14
push ebx
lea ecx, [esp + 0x18]
call fcn.0053b484
mov eax, dword [esp + 0xc]
add eax, 0xfffe7960
or eax, dword [esp + 0x10]
je 0x59ddc5
lea edx, [esp + 0xc]
lea ecx, [esp + 0x14]
lea eax, [ebp - 3]
cmp eax, 4
ja case.default.0x59dc75
mov eax, dword [eax*4 + 0x6d41fc]
jmp eax
mov eax, dword [esp + 0x40]
push eax
push esi
mov ecx, dword [esp + 0x44]
call fcn.005e8794
jmp case.default.0x59dc75
push edi
push 0xffffffffffffffff
push ecx
push edx
mov eax, dword [esp + 0x50]
push eax
mov edx, dword [esp + 0x4c]
push edx
push esi
mov ecx, dword [esp + 0x58]
call fcn.005f9584
jmp case.default.0x59dc75
push 0xffffffffffffffff
push ecx
push edx
mov eax, dword [esp + 0x4c]
push eax
mov edx, dword [esp + 0x48]
push edx
push esi
mov ecx, dword [esp + 0x54]
call fcn.005f5084
jmp case.default.0x59dc75
push edi
push ecx
push edx
mov eax, dword [esp + 0x4c]
push eax
mov edx, dword [esp + 0x48]
push edx
push esi
mov ecx, dword [esp + 0x54]
call fcn.00574bd8
jmp case.default.0x59dc75
push 1
push 0
push ecx
push edx
mov eax, dword [esp + 0x50]
push eax
push esi
mov ecx, dword [esp + 0x54]
call fcn.0053e670
lea ecx, [esp]
call fcn.0050aa58
xor eax, eax
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov eax, dword [esp + 0x3c]
push eax
push 1
mov ecx, esi
call fcn.0050c800
xor eax, eax
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
lea edx, [esp]
mov eax, dword [esp + 0x3c]
push dword [eax]
push 0x6c3d0c
push edx
call fcn.006964d6
add esp, 0xc
lea eax, [esp]
push eax
push 1
mov ecx, esi
call fcn.0050c800
xor eax, eax
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov eax, dword [esp + 0x3c]
mov eax, dword [eax]
cmp eax, 2
jne 0x59dd64
push 0x6c4cec
push 1
mov ecx, esi
call fcn.0050c800
jmp 0x59dd87
cmp eax, 1
jne 0x59dd79
push 0x6c4cf0
push 1
mov ecx, esi
call fcn.0050c800
jmp 0x59dd87
push 0x6c41ec
push 1
mov ecx, esi
call fcn.0050c800
xor eax, eax
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov eax, dword [esp + 0x40]
push eax
push esi
mov ecx, dword [esp + 0x44]
call fcn.0056ba84
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov eax, dword [esp + 0x40]
push eax
push esi
mov ecx, dword [esp + 0x44]
call fcn.004efcbc
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
mov eax, dword [esp + 0x14]
add eax, 0xfffe7960
or eax, dword [esp + 0x18]
jne 0x59dc5e
xor edx, edx
xor ecx, ecx
jmp 0x59dc66