Function at 0x650b10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0x10]
mov al, byte [ebp + 0x20]
sub esp, 0x4c
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ecx], 1
cmp byte [esi + 0x39], 0
push edi
je 0x650c2d
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x1c]
mov dword [ebx + 8], 1
mov edx, dword [esi + 4]
mov dword [ebx], edx
test al, al
je 0x650bf4
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + edi*4 - 4]
push 0
push 0x4c0904
dec edi
push 0x4bf29c
push 0
mov dword [ebp + 0x1c], edi
call fcn.00646900
push eax
call fcn.00690072
add esp, 0x14
test eax, eax
je 0x650beb
mov ecx, dword [esi + 0x14]
push ecx
lea edx, [ebp + 0x1c]
push edx
lea ecx, [ebp + 0x18]
push ecx
lea edx, [esp + 0x34]
push edx
call fcn.00661d50
test eax, eax
je 0x650d44
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
mov edx, dword [esi + 8]
push eax
push ecx
push ebx
push edi
call edx
mov eax, dword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x650bbe
push eax
call fcn.00682c9f
add esp, 4
mov eax, dword [0x4bf3fc]
cmp dword [eax + 0xf8], 0
je 0x650bdd
mov dword [edi], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov edi, dword [edi]
cmp edi, 8
je 0x650bd2
test edi, edi
jmp 0x6510ac
cmp edi, dword [esi + 0x14]
jl 0x650d44
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 8]
push edi
push ecx
push ebx
push edx
call eax
mov ecx, dword [0x4bf3fc]
add esp, 0x10
cmp dword [ecx + 0xf8], 0
je 0x65109c
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
or ebx, 0xffffffff
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], 0
test al, al
je 0x650d4f
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push 0
dec eax
push 0x4c0904
mov dword [ebp + 0x1c], eax
mov eax, dword [ecx + eax*4]
push 0x4bf29c
push 0
call fcn.00646900
push eax
call fcn.00690072
add esp, 0x14
mov dword [esp + 0x14], eax
test eax, eax
je 0x650d4f
mov edx, eax
mov esi, dword [edx + 0x18]
mov ecx, 0xfffffff0
inc ebx
add ecx, 0x10
cmp ebx, esi
jge 0x650cc3
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + ecx]
mov edx, dword [eax + ecx + 8]
add eax, ecx
mov dword [esp + 0x38], edi
mov edi, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], eax
cmp eax, 4
jne 0x650cbe
mov dword [esp + 0x3c], 0
cmp edx, 1
jl 0x650c83
mov dword [esp + 0x18], ebx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x28], eax
cmp ecx, eax
jg 0x650cdc
mov dword [esp + 0x28], ecx
cmp dword [edx + 0x34], 0
jle 0x650d5c
xor ebx, ebx
cmp dword [ebp + 0x1c], ebx
jle 0x650d15
xor esi, esi
mov ecx, dword [ebp + 0x18]
mov edi, dword [ecx + ebx*4]
cmp dword [edi + 8], 3
jne 0x650d0c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
cmp word [eax + esi + 4], 0
jne 0x650d0c
mov eax, dword [edi]
call fcn.0060b860
inc ebx
add esi, 0x10
cmp ebx, dword [ebp + 0x1c]
jl 0x650ceb
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea edi, [eax + 8]
lea ebx, [eax + 4]
call fcn.0066b7f0
test eax, eax
jne 0x650d58
mov ecx, esi
mov edx, dword [ecx + 4]
push edx
push 0x49f410
mov ecx, 0x4c5008
call fcn.00627f10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ebx, dword [esp + 0x18]
jmp 0x650cc7
mov ebx, dword [esp + 0x18]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x1c]
mov dword [edx], esi
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0x10]
jge 0x650ec3
mov ecx, ebx
shl ecx, 4
mov dword [esp + 0x1c], ecx
mov ecx, eax
shl ecx, 4
mov dword [esp + 0x24], ecx
mov ecx, 1
sub ecx, eax
mov dword [esp + 0x2c], ecx
mov edi, dword [esi + 0xc]
add edi, dword [esp + 0x24]
cmp word [edi + 4], 0
je 0x650dac
mov eax, dword [edi]
mov dword [eax + 0xc], 0
mov byte [eax + 0x17], 1
cmp dword [esp + 0x14], 0
je 0x650e58
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x10]
cmp dword [esp + 0x20], eax
jne 0x650e27
mov edi, dword [edi]
lea eax, [esp + 0x38]
call fcn.0066aaa0
test eax, eax
je 0x650f99
mov eax, dword [esp + 0x14]
add dword [esp + 0x1c], 0x10
inc ebx
mov dword [esp + 0x18], ebx
cmp ebx, dword [eax + 0x18]
jge 0x650ea9
mov eax, dword [eax + 0xc]
add eax, dword [esp + 0x1c]
mov edx, dword [eax + 8]
mov ecx, dword [eax]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
cmp eax, 4
jne 0x650ea9
mov dword [esp + 0x3c], 0
jmp 0x650ea9
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov esi, dword [esp + 0x14]
lea ebx, [esp + 0x48]
call fcn.0060bba0
test al, al
je 0x650e54
mov edi, dword [edi]
mov eax, ebx
call fcn.0066aaa0
test eax, eax
je 0x650fad
mov ebx, dword [esp + 0x18]
jmp 0x650ea9
mov ebx, dword [esp + 0x18]
movzx eax, word [edi + 6]
dec eax
je 0x650e98
dec eax
je 0x650e85
dec eax
jne 0x650d44
fld qword [edi + 8]
mov eax, dword [edi]
fstp qword [esp + 0x30]
push 0x28
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.005f9ce0
jmp 0x650ea9
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
push 0x18
push eax
mov eax, dword [edi]
push ecx
call fcn.005f9ce0
jmp 0x650ea9
mov edx, dword [edi + 8]
mov ecx, dword [edi]
push 1
push 0
push 0xffffffffffffffff
push edx
call fcn.0066b090
mov eax, dword [esp + 0x10]
mov esi, dword [ebp + 8]
add dword [esp + 0x24], 0x10
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0x10]
jl 0x650d91
xor ebx, ebx
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x28], ebx
jle 0x650f32
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov edx, dword [ebp + 0x18]
mov eax, dword [edx + ebx*4]
mov edx, dword [eax + 8]
cmp edx, 7
jge 0x650d44
mov edi, dword [esi + 0xc]
cmp word [ecx + edi + 4], 0
je 0x650f09
mov ecx, dword [ecx + edi]
cmp edx, 3
je 0x650fc1
mov dword [ecx + 0xc], 0
mov byte [ecx + 0x17], 1
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x24]
mov edi, dword [edx + ecx]
call fcn.0066aaa0
test eax, eax
je 0x650f99
mov ecx, dword [esp + 0x24]
inc ebx
add ecx, 0x10
mov dword [esp + 0x24], ecx
cmp ebx, dword [esp + 0x28]
jl 0x650ed5
mov dword [esp + 0x10], ebx
cmp byte [esi + 0x3a], 0
je 0x651053
mov eax, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
je 0x650fed
push eax
mov eax, dword [esp + 0x1c]
call fcn.00661ba0
mov edi, eax
cmp edi, ebx
je 0x651053
mov eax, dword [esi + 0x10]
cmp eax, dword [ebp + 0x1c]
jle 0x651020
sub eax, dword [ebp + 0x1c]
xor ecx, ecx
mov ebx, eax
cmp dword [edi + 0x18], ecx
jle 0x651020
xor edx, edx
lea esp, [esp]
mov eax, dword [edi + 0xc]
sub dword [edx + eax + 8], ebx
lea eax, [edx + eax + 8]
inc ecx
add edx, 0x10
cmp ecx, dword [edi + 0x18]
jl 0x650f80
jmp 0x651020
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [eax]
cmp byte [eax + 0x17], 0
jne 0x650fd9
lea esp, [esp]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x17], 0
je 0x650fd0
cmp eax, ecx
je 0x650f1c
mov dword [ecx + 0xc], eax
mov byte [ecx + 0x17], 0
jmp 0x650f1c
push 0x20
call fcn.006833cb
add esp, 4
cmp eax, ebx
je 0x65101c
mov dword [eax + 4], 1
mov dword [eax], 0x4b90c4
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], ebx
jmp 0x65101e
xor eax, eax
mov edi, eax
test edi, edi
je 0x651053
mov ecx, dword [esp + 0x10]
mov eax, dword [ebp + 0x1c]
cmp ecx, eax
jge 0x651042
mov edx, dword [ebp + 0x18]
sub eax, ecx
push eax
lea eax, [edx + ecx*4]
push eax
push 1
push 0
call fcn.00662780
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
add ecx, ecx
mov eax, dword [edx + ecx*8]
push edi
call fcn.0060b570
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x651067
mov dword [ecx + 8], 0
mov dword [ecx], 0x4a69fc
mov eax, dword [0x4bf3fc]
mov edi, dword [eax + 0xb4]
push 0
push ecx
mov dword [eax + 0xb4], esi
mov ecx, dword [esi + 8]
inc dword [esi + 0x34]
push 2
call fcn.0061eac0
dec dword [esi + 0x34]
mov ecx, dword [0x4bf3fc]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0xb4], edi
mov dword [edx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, 8
je 0x650bd2
test eax, eax
je 0x650bd2
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x1c