Function at 0x648330
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x184
push ebx
mov ebx, dword [ebp + 0x30]
push esi
push edi
push 4
lea eax, [esp + 0x14]
xor edi, edi
push eax
mov dword [esp + 0x24], edi
call dword [0x100ef7e8]
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
lea eax, [esi + 0xe8]
call fcn.006a9530
test eax, eax
je 0x64883b
push 4
lea eax, [esp + 0x18]
push eax
call dword [0x100ef7e8]
mov eax, dword [esp + 0x10]
test dword [eax + 0x24], 0x1000000
mov ecx, dword [ebp + 0x14]
je 0x6486e8
cmp ecx, edi
je 0x6483cf
cmp dword [ecx], edi
je 0x6483cf
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x6483b5
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push ecx
call eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], edi
cmp eax, edi
je 0x6483c1
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov eax, 0xc0000018
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov ebx, dword [eax + 0x5c]
cmp ebx, edi
je 0x6483de
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
push ebx
call ecx
mov edx, dword [ebx]
push edi
xor ecx, ecx
push edi
xor eax, eax
push ecx
push eax
mov eax, dword [edx + 0x30]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x34]
push eax
push 0x40
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebx
call edx
mov eax, dword [esp + 0x94]
cdq
push edi
push edi
push edx
push eax
mov eax, dword [ebx]
mov eax, dword [eax + 0x30]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x34]
push eax
push 0xf8
lea ecx, [esp + 0xa0]
push ecx
mov ecx, ebx
call edx
mov ecx, dword [esp + 0xcc]
mov edx, dword [esi + 0x6c]
xor eax, eax
cmp word [esp + 0xb0], 0x10b
mov dword [esp + 0xc], ecx
sete al
cmp dword [edx + 0xa0], 0
mov edi, eax
mov dword [esp + 0x30], edi
je 0x648495
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
mov dword [esp + 0x20], 1
call edx
mov ecx, dword [esi + 0x6c]
push 1
add ecx, 0xb0
push eax
push ecx
call dword [0x100ef7cc]
test eax, eax
mov dword [esp + 0x2c], 1
je 0x64849d
mov dword [esp + 0x2c], 0
test byte [esp + 0x1c], 1
je 0x6484ad
lea eax, [esp + 0x20]
call fcn.006b5660
cmp dword [esp + 0x2c], 0
je 0x6484ca
mov eax, dword [esi + 0x6c]
mov eax, dword [eax + 0xb8]
test eax, eax
je 0x6484ca
mov dword [esp + 0xc], eax
jmp 0x6485ef
mov eax, dword [esp + 0xe8]
mov esi, dword [0x100ef48c]
mov ecx, dword [esp + 0x10]
push 0x40
push 0x100000
push 1
lea edx, [esp + 0x28]
push edx
push 0
push eax
mov dword [esp + 0x34], eax
mov edi, dword [ecx + 0x20]
push 0
lea eax, [esp + 0x28]
push eax
add esi, 0x3d0
call dword [0x100cf22c]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
push edi
mov ecx, esi
call eax
call eax
mov esi, eax
test esi, esi
je 0x648574
cmp dword [esp + 0xc], 0
je 0x64856c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov esi, dword [0x100ef48c]
push 0x40
push 0x100000
push 1
lea edx, [esp + 0x28]
push edx
push 0
push eax
mov dword [esp + 0x24], 0
mov edi, dword [ecx + 0x20]
push 0
lea ecx, [esp + 0x28]
push ecx
add esi, 0x3d0
call dword [0x100cf22c]
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x24]
push edi
mov ecx, esi
call eax
call eax
mov esi, eax
test esi, esi
jne 0x6486db
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
mov dword [esp + 0x18], eax
lea ecx, [eax + ecx + 0x18]
mov dword [esp + 0x2c], 0
jbe 0x6485eb
lea esi, [ecx + 0xc]
mov edi, dword [esi]
mov eax, dword [esi - 4]
add edi, dword [esp + 0xc]
test byte [esi + 0x18], 0x80
mov dword [esp + 0x38], eax
je 0x6485b6
push eax
push edi
call dword [0x100ef7e8]
lea edx, [esp + 0x20]
push edx
lea eax, [esi - 0xc]
push eax
call fcn.00650040
mov ecx, dword [esp + 0x3c]
push eax
push ecx
push edi
call dword [0x100cf0ac]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
movzx ecx, word [edx + 6]
add eax, 1
add esi, 0x28
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x64859b
mov edi, dword [esp + 0x30]
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x64860e
mov eax, dword [esp + 0xc]
push 0x1c
lea edx, [esp + 0x40]
push edx
push eax
call dword [0x100cf0a8]
mov ecx, dword [esp + 0x48]
mov dword [esi], ecx
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x64861b
mov edx, dword [esp + 0xc]
mov dword [eax], edx
mov eax, dword [esp + 0x10]
push eax
lea esi, [esp + 0x24]
call fcn.006636d0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
xor edx, edx
push edx
xor eax, eax
push eax
mov eax, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push eax
push ecx
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x648664
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x3c]
push eax
call fcn.006357a0
mov esi, eax
mov eax, dword [esp + 0x3c]
add esp, 0x28
test eax, eax
je 0x64868b
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov dword [esp + 0x14], 0
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x14], eax
je 0x64869d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6486ad
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
add eax, 0x10c
call fcn.006b8e40
neg edi
sbb edi, edi
and edi, 0xfffffff5
add edi, 0x4000000e
mov esi, edi
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
jmp 0x64880e
cmp ecx, edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
je 0x6486fe
mov edx, dword [ecx]
mov dword [esp + 0xc], edx
mov ecx, dword [ebp + 0x20]
cmp ecx, edi
je 0x648712
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov edi, dword [eax + 0x20]
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
mov esi, dword [0x100ef48c]
push ebx
push edx
push eax
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
lea edx, [esp + 0x30]
push edx
push eax
push ecx
lea edx, [esp + 0x28]
push edx
add esi, 0x3d0
call dword [0x100cf22c]
push eax
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
push edi
mov ecx, esi
call edx
call eax
mov esi, eax
test esi, esi
jne 0x64880e
mov ecx, dword [esp + 0xc]
push 0x1c
lea eax, [esp + 0x40]
push eax
push ecx
call dword [0x100cf0a8]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [esp + 0x50]
push ebx
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
push ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x6487a9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.006357a0
add esp, 0x28
push eax
lea esi, [esp + 0x18]
call fcn.006a91a0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6487d0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
mov eax, dword [ebp + 0x14]
test eax, eax
mov ecx, dword [esp + 0xc]
je 0x6487dd
mov dword [eax], ecx
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x6487f1
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 4], edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1c]
push ecx
add eax, 0x10c
call fcn.006b8e40
xor esi, esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x64881e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0xc]
call eax
xor edi, edi
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x648830
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push eax
call edx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x2c
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
mov ecx, dword [0x100ef48c]
push ebx
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push edx
mov edx, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
add ecx, 0x3d0
push eax
mov eax, dword [ecx]
push edx
mov edx, dword [eax + 0x24]
call edx
call eax
mov esi, eax
jmp 0x648820