Function at 0x5a31fc
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
xor eax, eax
xor edx, edx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
push edi
mov ax, word [esi + 0x14]
mov dx, word [esi + 6]
mov ebx, dword [esi + 0x88]
lea ebp, [eax + esi + 0x18]
xor eax, eax
test edx, edx
mov ecx, ebp
jbe 0x5a3244
mov esi, dword [ecx + 8]
test esi, esi
jne 0x5a322f
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 0xc]
cmp ebx, edi
jb 0x5a323c
add edi, esi
cmp ebx, edi
jb 0x5a324e
inc eax
add ecx, 0x28
cmp eax, edx
jb 0x5a3225
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret
test ecx, ecx
je 0x5a3244
xor eax, eax
mov ecx, ebp
test edx, edx
jbe 0x5a3287
mov esi, dword [ecx + 8]
test esi, esi
jne 0x5a3264
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 0xc]
cmp ebx, edi
jb 0x5a3271
add edi, esi
cmp ebx, edi
jb 0x5a3283
inc eax
add ecx, 0x28
cmp eax, edx
jb 0x5a325a
mov dword [esp + 0x10], 0
jmp 0x5a32a5
test ecx, ecx
jne 0x5a3291
mov dword [esp + 0x10], 0
jmp 0x5a32a5
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x38]
sub eax, edi
add eax, ebx
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
xor eax, eax
test edx, edx
mov ebx, dword [ecx + 0x1c]
mov ecx, ebp
jbe 0x5a32e1
mov esi, dword [ecx + 8]
test esi, esi
jne 0x5a32be
mov esi, dword [ecx + 0x10]
mov edi, dword [ecx + 0xc]
cmp ebx, edi
jb 0x5a32cb
add edi, esi
cmp ebx, edi
jb 0x5a32dd
inc eax
add ecx, 0x28
cmp eax, edx
jb 0x5a32b4
mov dword [esp + 0x14], 0
jmp 0x5a32ff
test ecx, ecx
jne 0x5a32eb
mov dword [esp + 0x14], 0
jmp 0x5a32ff
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x38]
sub eax, edi
add eax, ebx
add eax, ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
xor ebx, ebx
test edx, edx
mov edi, dword [eax + 0x24]
mov eax, ebp
jbe 0x5a333b
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5a3318
mov ecx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x5a3325
add esi, ecx
cmp edi, esi
jb 0x5a3337
inc ebx
add eax, 0x28
cmp ebx, edx
jb 0x5a330e
mov dword [esp + 0x20], 0
jmp 0x5a3359
test eax, eax
jne 0x5a3345
mov dword [esp + 0x20], 0
jmp 0x5a3359
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x38]
sub ecx, esi
add ecx, edi
add ecx, eax
mov dword [esp + 0x20], ecx
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x3c]
push ebp
mov esi, dword [edi + 0x20]
push esi
call fcn.005a34dc
add esp, 8
test eax, eax
jne 0x5a3378
mov dword [esp + 0x1c], eax
jmp 0x5a338c
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 0xc]
mov eax, dword [esp + 0x38]
sub ecx, ebx
add ecx, esi
add ecx, eax
mov dword [esp + 0x1c], ecx
mov edx, dword [edi + 0x14]
xor ecx, ecx
test edx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], edx
jbe 0x5a3244
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
je 0x5a34ab
mov eax, dword [edi + 0x18]
mov dword [esp + 0x24], 0
test eax, eax
mov dword [esp + 0x2c], eax
jbe 0x5a34ab
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], edx
mov esi, dword [esp + 0x3c]
xor edx, edx
mov dx, word [esi]
cmp edx, ecx
jne 0x5a347c
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov cx, word [ebp + 0x14]
xor ebx, ebx
mov edi, dword [eax]
lea eax, [ecx + ebp + 0x18]
xor ecx, ecx
mov cx, word [ebp + 6]
test ecx, ecx
jbe 0x5a3429
mov edx, dword [eax + 8]
test edx, edx
jne 0x5a340c
mov edx, dword [eax + 0x10]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x5a3419
add esi, edx
cmp edi, esi
jb 0x5a3425
inc ebx
add eax, 0x28
cmp ebx, ecx
jb 0x5a3402
xor ecx, ecx
jmp 0x5a343d
test eax, eax
jne 0x5a342d
xor ecx, ecx
jmp 0x5a343d
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x38]
sub ecx, esi
add ecx, edi
add ecx, eax
mov eax, dword [esp + 0x40]
mov esi, ecx
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x5a346b
test cl, cl
je 0x5a3467
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x5a346b
add eax, 2
add esi, 2
test cl, cl
jne 0x5a3443
xor eax, eax
jmp 0x5a3470
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x5a34cd
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x18]
inc edx
add ebx, 2
add edi, 4
cmp edx, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x18], edi
jb 0x5a33d5
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
inc ecx
add esi, 4
cmp ecx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], esi
jb 0x5a33a1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x24
ret