Function at 0x59dcd4
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
push ebp
push ebx
push ecx
mov eax, 0x1c
call fcn.00697340
mov ecx, dword [esp + 0x1c]
mov esi, ecx
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x48]
cmp ebp, 3
je 0x59dd9f
cmp ebp, 7
je 0x59dd9f
cmp ebp, 6
je 0x59dd9f
cmp ebp, 5
je 0x59dd9f
cmp ebp, 4
je 0x59dd9f
cmp ebp, 8
je 0x59e07c
cmp ebp, 9
je 0x59e063
push 1
mov ecx, esi
call fcn.0050a5a8
test ebp, ebp
je 0x59dd85
cmp ebp, 0xa
je 0x59e019
cmp ebp, 2
je 0x59dfe9
cmp ebp, 1
je 0x59dfcf
push ebx
lea ecx, [esp + 4]
xor edx, edx
call fcn.004f62f8
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.0059dcd4
add esp, 0x20
pop ebx
pop ebp
pop esi
pop edi
ret 0x1c
push 0x6c51ec
push 1
mov ecx, esi
call fcn.0050c9a8
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.0050ab48
movzx eax, word [esp + 0x44]
test eax, eax
je 0x59de07
push 4
push ebx
push 0
push ebx
lea ecx, [esp + 0x10]
movzx edx, word [esp + 0x54]
call fcn.0058ea64
test eax, eax
jne 0x59de07
mov eax, dword [esp + 6]
cmp eax, 3
je 0x59ddf7
lea ecx, [esp]
mov edx, dword [esp]
call dword [eax*4 + 0x6f0424]
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 0x59de11
cmp ebp, 4
jne 0x59de4a
test ebx, ebx
je 0x59de4a
mov edx, dword [ebx]
movzx eax, word [0x7bd0ac]
push eax
mov ecx, ebx
call dword [edx + 0x20]
test eax, eax
je 0x59de4a
lea edi, [esp]
mov edx, dword [esp + 0x4c]
push edx
push edi
mov ecx, eax
call fcn.00502c2c
mov eax, dword [esp + 6]
mov ecx, dword [esp]
call dword [eax*4 + 0x6f18fc]
test eax, eax
je 0x59de51
xor edi, edi
jmp 0x59df1b
mov ecx, dword [esp]
call fcn.00416ea0
mov edi, eax
test edi, edi
je 0x59de4a
mov edx, dword [ebx]
movzx eax, word [0x7bd0fc]
push eax
mov ecx, ebx
call dword [edx + 0x20]
mov ecx, eax
test ecx, ecx
je 0x59de4a
lea eax, [esp]
mov edx, dword [esp + 0x4c]
push edx
push eax
call fcn.00502c2c
mov eax, dword [esp + 6]
mov ecx, dword [esp]
call dword [eax*4 + 0x6f18fc]
test eax, eax
je 0x59de9b
xor edi, edi
jmp 0x59df1b
mov edx, dword [esp]
test edx, edx
je 0x59deae
movsx eax, byte [edx]
test eax, eax
je 0x59deae
cmp eax, 4
jne 0x59deb2
xor edi, edi
jmp 0x59df1b
mov ecx, edi
call fcn.00416e70
test eax, eax
je 0x59dec1
xor edi, edi
jmp 0x59df1b
mov edi, dword [esp]
test edi, edi
je 0x59df1b
mov edx, dword [ebx]
movzx eax, word [0x7bd0b4]
push eax
mov ecx, ebx
call dword [edx + 0x20]
test eax, eax
je 0x59df1b
lea ebx, [esp]
mov edx, dword [esp + 0x4c]
push edx
push ebx
mov ecx, eax
call fcn.00502c2c
mov eax, dword [esp + 6]
mov ecx, dword [esp]
call dword [eax*4 + 0x6f18fc]
test eax, eax
jne 0x59df1b
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.0053b648
mov eax, dword [esp + 0xc]
add eax, 0xfffe7960
or eax, dword [esp + 0x10]
je 0x59e095
lea edx, [esp + 0xc]
lea ecx, [esp + 0x14]
lea eax, [ebp - 3]
cmp eax, 4
ja case.default.0x59df45
mov eax, dword [eax*4 + 0x6d51fc]
jmp eax
mov eax, dword [esp + 0x40]
push eax
push esi
mov ecx, dword [esp + 0x44]
call fcn.005e9790
jmp case.default.0x59df45
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.005fa598
jmp case.default.0x59df45
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.005f6098
jmp case.default.0x59df45
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.00574e88
jmp case.default.0x59df45
push 1
push 0
push ecx
push edx
mov eax, dword [esp + 0x50]
push eax
push esi
mov ecx, dword [esp + 0x54]
call fcn.0053e834
lea ecx, [esp]
call fcn.0050ac00
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.0050c9a8
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 0x6c4d0c
push edx
call fcn.006974c6
add esp, 0xc
lea eax, [esp]
push eax
push 1
mov ecx, esi
call fcn.0050c9a8
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 0x59e034
push 0x6c5cec
push 1
mov ecx, esi
call fcn.0050c9a8
jmp 0x59e057
cmp eax, 1
jne 0x59e049
push 0x6c5cf0
push 1
mov ecx, esi
call fcn.0050c9a8
jmp 0x59e057
push 0x6c51ec
push 1
mov ecx, esi
call fcn.0050c9a8
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.0056bd34
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.004efe1c
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 0x59df2e
xor edx, edx
xor ecx, ecx
jmp 0x59df36