Function at 0x1002a690
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100dcbc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x3c], ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x2c], ebx
push esi
mov esi, dword [ebp + 0x14]
test ecx, ecx
je 0x1002a6c1
mov dword [ecx], 0
test ebx, ebx
je 0x1002aa29
test esi, esi
je 0x1002aa29
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esi], ecx
mov eax, dword [eax + 0x48]
push edi
movlpd qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0xffffffff
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*4]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
movzx eax, word [ebx + 4]
mov word [esi + 0x10], ax
movzx eax, word [ebx + 6]
mov word [esi + 0x12], ax
movzx eax, word [ebx + 8]
mov word [esi + 0x14], ax
movzx eax, word [ebx + 0xa]
mov word [esi + 0x16], ax
movzx ecx, word [ebx + 0xe]
movzx edx, word [ebx + 0xc]
mov eax, ecx
shr eax, 9
add eax, 0x50
mov dword [ebp - 0x14], eax
mov eax, ecx
shr eax, 5
and ecx, 0x1f
and eax, 0xf
mov dword [ebp - 0x1c], ecx
dec eax
mov dword [ebp - 0x18], eax
mov eax, edx
shr eax, 0xb
mov dword [ebp - 0x20], eax
mov eax, edx
shr eax, 5
and edx, 0x1f
and eax, 0x3f
add edx, edx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], edx
call fcn.1009b8ed
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edx
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], 0
movzx eax, word [ebx + 0x24]
mov word [esi + 0x38], ax
mov eax, dword [ebx + 0x26]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x2a]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], 0
movzx eax, word [ebx + 0x1c]
mov ebx, 0x1ff
cmp eax, ebx
mov edi, ebx
cmovb edi, eax
mov eax, dword [ebp - 0x2c]
add eax, 0x2e
push edi
push eax
lea eax, [esi + 0x58]
push eax
call fcn.1008dc20
mov byte [esi + edi + 0x58], 0
mov edi, dword [ebp - 0x2c]
movzx eax, word [edi + 0x20]
cmp eax, ebx
cmovb ebx, eax
mov dword [esi + 0x48], ebx
push ebx
movzx ecx, word [edi + 0x1e]
movzx eax, word [edi + 0x1c]
add ecx, edi
add eax, 0x2e
add eax, ecx
push eax
lea eax, [esi + 0x258]
push eax
call fcn.1008dc20
mov ecx, dword [ebp + 0xc]
add esp, 0x1c
mov byte [esi + ebx + 0x258], 0
mov ebx, dword [ebp - 0x30]
mov edx, dword [ebx + 0x48]
test edx, edx
je 0x1002a83e
cmp ecx, dword [ebx + 0x10]
jae 0x1002a83e
mov eax, dword [edx + 0x10]
mov eax, dword [eax + ecx*4]
add eax, dword [edx]
je 0x1002a83e
movzx edx, word [eax + 0x1c]
test edx, edx
je 0x1002a832
cmp byte [edx + eax + 0x2d], 0x2f
jne 0x1002a832
mov eax, 1
jmp 0x1002a847
movzx eax, byte [eax + 0x26]
shr eax, 4
and eax, 1
jmp 0x1002a847
mov dword [ebx + 0x1c], 0x18
xor eax, eax
mov dword [esi + 0x4c], eax
mov edx, dword [ebx + 0x48]
test edx, edx
je 0x1002a86e
cmp ecx, dword [ebx + 0x10]
jae 0x1002a86e
mov eax, dword [edx + 0x10]
mov eax, dword [eax + ecx*4]
add eax, dword [edx]
je 0x1002a86e
test byte [eax + 8], 0x41
mov eax, 0
setne al
jmp 0x1002a877
mov dword [ebx + 0x1c], 0x18
xor eax, eax
mov dword [esi + 0x50], eax
mov edx, dword [ebx + 0x48]
test edx, edx
je 0x1002a8cc
cmp ecx, dword [ebx + 0x10]
jae 0x1002a8cc
mov eax, dword [edx + 0x10]
mov eax, dword [eax + ecx*4]
add eax, dword [edx]
je 0x1002a8cc
movzx ecx, word [eax + 0xa]
movzx eax, word [eax + 8]
test cx, cx
je 0x1002a8ab
cmp ecx, 8
je 0x1002a8ab
mov dword [ebx + 0x1c], 4
jmp 0x1002a8d3
test al, 0x41
je 0x1002a8b8
mov dword [ebx + 0x1c], 5
jmp 0x1002a8d3
test al, 0x20
je 0x1002a8c5
mov dword [ebx + 0x1c], 6
jmp 0x1002a8d3
mov eax, 1
jmp 0x1002a8d5
mov dword [ebx + 0x1c], 0x18
xor eax, eax
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x28]
cmp ecx, dword [esi + 0x34]
jb 0x1002a8f4
ja 0x1002a8ec
cmp eax, edx
jbe 0x1002a8f4
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
jmp 0x1002a900
mov ebx, dword [esi + 0x34]
mov dword [ebp - 0x34], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov edi, dword [esi + 0x44]
cmp dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x2c]
jb 0x1002a92a
ja 0x1002a918
mov ebx, dword [ebp - 0x38]
cmp ebx, dword [esi + 0x40]
mov ebx, dword [ebp - 0x30]
jbe 0x1002a92a
cmp ecx, dword [esi + 0x34]
jb 0x1002a923
ja 0x1002a930
cmp eax, edx
ja 0x1002a930
mov ecx, dword [esi + 0x34]
mov eax, edx
jmp 0x1002a930
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
cmp eax, 0xffffffff
jne 0x1002a97e
test ecx, ecx
jne 0x1002a97e
movzx ecx, word [edi + 0x1e]
test ecx, ecx
je 0x1002a97e
movzx eax, word [edi + 0x1c]
add edi, 0x2e
add edi, eax
nop word [eax + eax]
cmp ecx, 4
jb 0x1002aa0f
movzx edx, word [edi + 2]
lea eax, [edx + 4]
cmp eax, ecx
ja 0x1002aa0f
cmp word [edi], 1
je 0x1002a994
add edi, 4
mov eax, 0xfffffffc
sub eax, edx
add edi, edx
add ecx, eax
jne 0x1002a950
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008c3d3
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x3c]
add edi, 4
test eax, eax
je 0x1002a9a4
mov dword [eax], 1
cmp dword [esi + 0x30], 0xffffffff
jne 0x1002a9c8
cmp dword [esi + 0x34], 0
jne 0x1002a9c8
cmp edx, 8
jb 0x1002aa0f
mov ecx, dword [edi + 4]
xor eax, eax
or eax, dword [edi]
add edi, 8
mov dword [esi + 0x30], eax
add edx, 0xfffffff8
mov dword [esi + 0x34], ecx
cmp dword [esi + 0x28], 0xffffffff
jne 0x1002a9ec
cmp dword [esi + 0x2c], 0
jne 0x1002a9ec
cmp edx, 8
jb 0x1002aa0f
mov ecx, dword [edi + 4]
xor eax, eax
or eax, dword [edi]
add edi, 8
mov dword [esi + 0x28], eax
sub edx, 8
mov dword [esi + 0x2c], ecx
cmp dword [esi + 0x40], 0xffffffff
jne 0x1002a97e
cmp dword [esi + 0x44], 0
jne 0x1002a97e
cmp edx, 8
jb 0x1002aa0f
mov ecx, dword [edi + 4]
xor eax, eax
or eax, dword [edi]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
jmp 0x1002a97e
pop edi
pop esi
mov dword [ebx + 0x1c], 9
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008c3d3
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x1002aa34
mov dword [eax + 0x1c], 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.1008c3d3
mov esp, ebp
pop ebp
ret