Function at 0x7adf50
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x38]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov esi, dword [edi]
mov dword [esp + 0x1c], esi
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x14], ecx
mov ebx, dword [ecx + 0x40]
mov dword [eax], 0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], 0
mov dword [eax], 0
mov eax, dword [esp + 0x3c]
cmp dword [eax], 2
jne 0x7adfbc
mov dword [eax], 1
mov eax, dword [esi + 0x74]
mov eax, dword [eax + 0x40]
mov eax, dword [eax]
test eax, eax
je 0x7adfbc
push eax
push esi
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x7ae226
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov eax, dword [ebx + 0x30]
mov ebp, dword [ebx + 0x34]
mov dword [edx], eax
mov dword [edx + 4], ebp
cmp dword [ebx + 0x194], 0
jne 0x7adfde
mov eax, dword [ebx + 0x44]
cmp ebp, eax
jbe 0x7adfde
mov dword [edx + 4], eax
mov eax, dword [ebx + 0x30]
test eax, eax
jne 0x7adfee
cmp dword [ebx + 0x34], eax
je 0x7ae393
mov ebp, dword [esp + 0x38]
mov edx, dword [ebp]
cmp edx, eax
jne 0x7ae005
mov eax, dword [ebp + 4]
cmp eax, dword [ebx + 0x34]
je 0x7ae32d
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
jns 0x7ae32d
cmp dword [ebx + 0x194], 0
je 0x7ae037
lea eax, [esp + 0x10]
push eax
push ebp
push ecx
call fcn.007c9e00
add esp, 0xc
test eax, eax
je 0x7ae05c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
cmp dword [ebx + 0x40], 0
je 0x7ae393
cmp edx, dword [ebx + 0x38]
jne 0x7ae04e
mov eax, dword [ebp + 4]
cmp eax, dword [ebx + 0x3c]
je 0x7ae05c
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
js 0x7ae393
mov dword [edi + 0x48], 0
cmp dword [ebx + 0x194], 0
jne 0x7ae095
mov eax, dword [ebp]
cmp eax, dword [ebx + 0x38]
lea eax, [ebp + 4]
mov dword [esp + 0x18], eax
jne 0x7ae082
mov ecx, dword [eax]
cmp ecx, dword [ebx + 0x3c]
je 0x7ae0d5
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
test ecx, ecx
jle 0x7ae0d9
mov eax, dword [eax]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
push dword [eax + 0x30]
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call fcn.007c9da0
add esp, 0x10
test byte [esi + 0x9c], 4
jne 0x7ae2e3
xor eax, eax
cmp dword [esi + 0x6c], eax
mov esi, dword [esp + 0x44]
setne al
push eax
push esi
call fcn.007acf40
add esp, 8
jmp 0x7ae2e7
mov dword [esp + 0x18], eax
mov ecx, dword [ebx + 0x44]
sub ecx, dword [eax]
mov ebp, dword [ebx + 0x40]
mov edx, dword [ebx + 0x48]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
cmp ebp, edx
jbe 0x7ae193
mov eax, dword [esp + 0x14]
sub ebp, edx
push dword [edi + 0x30]
add ebp, dword [eax + 0x20]
push ebp
push edi
call fcn.0086cdf0
add esp, 0xc
test byte [esi + 0x9c], 4
jne 0x7ae169
mov esi, dword [esi + 0x6c]
test esi, esi
mov bl, byte [edi]
mov dl, byte [edi + 1]
mov cl, byte [edi + 2]
movzx eax, byte [edi + 3]
mov esi, dword [esp + 0x1c]
mov byte [edi], al
mov al, byte [edi + 7]
mov byte [edi + 1], cl
mov cl, byte [edi + 6]
mov byte [edi + 2], dl
mov dl, byte [edi + 5]
mov byte [edi + 3], bl
mov bl, byte [edi + 4]
mov byte [edi + 4], al
mov byte [edi + 5], cl
mov byte [edi + 6], dl
mov byte [edi + 7], bl
jne 0x7ae165
mov bl, byte [edi + 8]
mov dl, byte [edi + 9]
mov cl, byte [edi + 0xa]
mov al, byte [edi + 0xb]
mov byte [edi + 8], al
mov byte [edi + 9], cl
mov byte [edi + 0xa], dl
mov byte [edi + 0xb], bl
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [edi]
cmp ecx, dword [eax]
mov eax, dword [esp + 0x14]
je 0x7ae181
mov ebp, ecx
sub ebp, dword [ebx + 0x44]
jmp 0x7ae0fa
sub ebp, dword [eax + 0x20]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x20]
add eax, 4
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x34]
add ecx, ebp
mov dword [esp + 0x10], ebp
mov esi, dword [ebx + 0x44]
cmp esi, ecx
ja 0x7ae1dd
lea eax, [ebx + 0x40]
lea esi, [ecx*2 + 0x7f]
mov dword [esp + 0x2c], eax
push eax
and esi, 0xffffff80
push esi
push dword [ebx]
call fcn.007679f0
add esp, 0xc
test eax, eax
jne 0x7ae332
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x10]
add eax, 4
mov dword [ebx + 0x44], esi
mov ebx, dword [esp + 0x2c]
jmp 0x7ae1e0
add ebx, 0x40
mov dword [esp + 0x24], eax
sub esi, ebp
mov eax, dword [esp + 0x14]
add esi, dword [ebx]
push ebp
push dword [eax + 0x20]
push esi
call fcn.0086cdf0
mov eax, dword [esp + 0x48]
add esp, 0xc
mov ebp, dword [esp + 0x1c]
cmp dword [eax], 1
jne 0x7ae239
mov dword [eax], 2
mov eax, dword [ebp + 0x74]
mov eax, dword [eax + 0x40]
mov eax, dword [eax]
test eax, eax
je 0x7ae233
push eax
push ebp
call fcn.00767730
add esp, 8
test eax, eax
je 0x7ae233
pop edi
pop esi
pop ebp
mov eax, 0xffff8702
pop ebx
add esp, 0x20
ret
mov ebx, dword [esp + 0x24]
jmp 0x7ae23d
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x7ae2ab
sub esi, eax
mov dword [esp + 0x28], eax
push 0
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x40]
push esi
push dword [ebx]
push dword [eax]
push dword [esp + 0x48]
call fcn.007ae3a0
add esp, 0x18
test eax, eax
jne 0x7ae332
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x28], eax
jae 0x7ae2a1
push dword [ebx]
mov eax, dword [esp + 0x3c]
push dword [eax]
mov eax, dword [esp + 0x3c]
push 0x94a33c
push dword [eax]
call fcn.0075bb00
add esp, 0x10
mov eax, 5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x4c]
mov dword [eax], 1
push dword [edi + 0x30]
push esi
push edi
call fcn.0086cdf0
add esp, 0xc
test byte [ebp + 0x9c], 4
jne 0x7ae2d3
xor eax, eax
cmp dword [ebp + 0x6c], eax
setne al
push eax
push edi
call fcn.007acf40
add esp, 8
mov eax, dword [esp + 0x48]
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov esi, dword [esp + 0x44]
lea eax, [esp + 0x34]
push eax
push esi
push ebp
push edi
call fcn.007adea0
add esp, 0x10
test eax, eax
jne 0x7ae32d
cmp dword [esp + 0x34], eax
jne 0x7ae393
mov edx, dword [esp + 0x10]
cmp dword [ebx + 0x194], eax
je 0x7ae33a
mov ecx, dword [ebx + 0x40]
cmp edx, ecx
jae 0x7ae31c
sub ecx, edx
jmp 0x7ae326
mov eax, dword [ebx + 0x180]
sub eax, edx
add ecx, eax
mov eax, dword [esi + 4]
cmp ecx, eax
jae 0x7ae350
mov eax, 0xffff86f4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
mov ecx, dword [ebx + 0x180]
mov eax, dword [ebp + 4]
add ecx, dword [ebx + 0x44]
add eax, dword [esi + 4]
cmp eax, ecx
ja 0x7ae32d
mov eax, dword [esi + 4]
lea ebx, [edi + 0x40]
cmp dword [edi + 0x44], eax
ja 0x7ae379
lea ebp, [eax*2 + 0x7f]
push ebx
and ebp, 0xffffff80
push ebp
push dword [edi]
call fcn.007679f0
add esp, 0xc
test eax, eax
jne 0x7ae332
mov edx, dword [esp + 0x10]
mov dword [edi + 0x44], ebp
push dword [esi + 4]
push dword [ebx]
push edx
push dword [esp + 0x20]
call fcn.007c9da0
mov ecx, dword [esp + 0x58]
add esp, 0x10
mov eax, dword [ebx]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret