Function at 0x5a85a4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x5a85ac
push ecx
push ebx
push esi
push edi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5a8ae4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
call dword [edx + 0x44]
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x5a7f54]
call fcn.005a7fe8
mov dword [ebp - 0x1c], eax
xor edx, edx
push ebp
push 0x5a8ab5
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x1c]
mov byte [eax + 4], 1
mov eax, dword [ebp - 4]
mov al, byte [eax + 5]
mov edx, dword [ebp - 0x1c]
mov byte [edx + 5], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 6]
mov edx, dword [ebp - 0x1c]
mov byte [edx + 6], al
mov eax, dword [ebp - 0x1c]
mov byte [eax + 7], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x1c]
add eax, 8
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
call fcn.00404e00
mov eax, dword [ebp - 0x1c]
add eax, 0xc
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
call fcn.00404e00
mov eax, dword [ebp - 0x1c]
add eax, 0x14
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
call fcn.00404e00
mov eax, dword [ebp - 0x1c]
add eax, 0x18
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
call fcn.00404e00
cmp byte [ebp - 5], 1
jne 0x5a895d
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
mov eax, dword [ebp - 4]
mov bl, byte [eax + 6]
mov eax, dword [ebp - 4]
mov byte [eax + 6], 1
mov eax, dword [ebp - 4]
call fcn.005a80b4
mov eax, dword [ebp - 4]
mov byte [eax + 6], bl
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5a86da
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec esi
jne 0x5a86b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5a8711
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec esi
jne 0x5a86ef
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
sar edx, 1
jns 0x5a873b
adc edx, 0
mov eax, dword [0x61be08]
mov eax, dword [eax]
mov eax, dword [eax + 0x364]
call fcn.004efad4
mov eax, dword [0x61be08]
mov eax, dword [eax]
mov eax, dword [eax + 0x364]
xor edx, edx
call fcn.004efb00
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 0x14
jle 0x5a8787
mov eax, dword [0x61be08]
mov eax, dword [eax]
mov eax, dword [eax + 0x364]
mov dl, 1
call fcn.0044ce60
jmp 0x5a879b
mov eax, dword [0x61be08]
mov eax, dword [eax]
mov eax, dword [eax + 0x364]
xor edx, edx
call fcn.0044ce60
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5a895d
inc esi
xor ebx, ebx
mov eax, dword [0x61be08]
mov eax, dword [eax]
cmp byte [eax + 0x368], 0
je 0x5a895d
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
and eax, 0x80000001
jns 0x5a87df
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x5a880e
mov eax, dword [0x61be08]
mov eax, dword [eax]
mov eax, dword [eax + 0x364]
mov edx, dword [eax + 0x258]
inc edx
mov ecx, dword [0x61be08]
call fcn.004efb00
mov eax, dword [0x61c210]
mov eax, dword [eax]
call fcn.0046d46c
lea ecx, [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.0040a514
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.004098f4
mov eax, dword [ebp - 0x2c]
mov edx, 0x5a8afc
call fcn.004051a8
jne 0x5a8955
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x10]
call fcn.0040a4dc
mov eax, dword [0x61bd90]
push dword [eax]
push 0x5a8b0c
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00405124
mov ecx, dword [0x61bda8]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x58c594]
call fcn.005914b4
mov dword [ebp - 0xc], eax
mov edx, dword [0x61bda8]
mov edx, dword [edx]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.0044ce60
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.005918c8
mov eax, dword [ebp - 4]
mov al, byte [eax + 5]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xdc]
mov edx, dword [ebp - 4]
mov cl, byte [edx + 6]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
call fcn.0055ca70
test al, al
je 0x5a8918
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 0xc]
call fcn.0059287c
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.005917c8
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0xe4]
mov eax, dword [ebp - 0xc]
call fcn.00403fbc
mov eax, dword [0x61c210]
mov eax, dword [eax]
call fcn.0046d46c
mov eax, dword [0x61be08]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x5a895d
inc ebx
dec esi
jne 0x5a87b9
cmp byte [ebp - 5], 0
jne 0x5a8a73
mov eax, dword [ebp - 0x1c]
call fcn.005a83a4
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5a8a73
inc esi
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 5], 0
jne 0x5a8a0d
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x20]
call fcn.005a8504
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.005a8504
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004053a0
test eax, eax
jle 0x5a8a6b
lea ecx, [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x5a8a6b
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
call fcn.004053a0
test eax, eax
jle 0x5a8a6b
lea ecx, [ebp - 0x58]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x20]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x58]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea ecx, [ebp - 0x5c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x24]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec esi
jne 0x5a8988
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a8abc
mov eax, dword [ebp - 0x1c]
call fcn.00403fbc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
setg bl
mov eax, dword [0x61be08]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, dword [0x61be08]
mov edx, dword [edx]
mov byte [edx + 0x368], al
mov eax, dword [0x61be08]
mov eax, dword [eax]
mov eax, dword [eax + 0x364]
xor edx, edx
call fcn.0044ce60
ret