Function at 0x102b4d70
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x60
mov eax, dword [0x105be7d0]
xor eax, esp
mov dword [esp + 0x5c], eax
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x30], edx
push edi
lea eax, [esp + 0x3c]
mov dword [esp + 0x24], 0
xor edi, edi
mov edx, 0x1039d480
mov ebx, dword [ebp + 0x1c]
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], edi
call fcn.10238950
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x102b4e2b
mov eax, dword [esp + 0x40]
cmp eax, 0x774f4646
je 0x102b4e26
cmp eax, 0x74746366
je 0x102b4e26
mov ecx, dword [esp + 0x44]
cmp ecx, dword [ebp + 4]
jne 0x102b4e26
mov eax, dword [esp + 0x48]
test ax, ax
je 0x102b4e26
movzx eax, ax
lea edx, [eax + eax*4]
shl edx, 2
mov dword [esp + 0x38], edx
lea edi, [edx + 0x2c]
mov dword [esp + 0x2c], edi
cmp edi, ecx
jae 0x102b4e26
mov ecx, dword [esp + 0x4c]
shl eax, 4
mov dword [esp + 0x14], eax
add eax, 0xc
mov dword [esp + 0x20], eax
cmp eax, ecx
jae 0x102b4e26
test cl, 3
jne 0x102b4e26
cmp dword [esp + 0x54], 0
jne 0x102b4e3d
cmp dword [esp + 0x58], 0
jne 0x102b4e26
cmp dword [esp + 0x5c], 0
je 0x102b4e4b
mov eax, 8
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.1033d458
add esp, 0x60
ret
cmp dword [esp + 0x58], 0
je 0x102b4e4b
cmp dword [esp + 0x5c], 0
je 0x102b4e26
cmp dword [esp + 0x60], 0
jne 0x102b4e59
cmp dword [esp + 0x64], 0
jne 0x102b4e26
lea eax, [esp + 0x10]
mov edx, ecx
push esi
push eax
mov ecx, ebx
call fcn.10239060
mov ebx, dword [esp + 0x18]
add esp, 4
mov esi, eax
mov dword [esp + 0x10], esi
test ebx, ebx
jne 0x102b5113
mov eax, dword [esp + 0x20]
push 0x28
push eax
mov eax, dword [eax + 4]
call eax
add esp, 8
mov dword [esp + 0x34], eax
test eax, eax
jne 0x102b4e99
lea ebx, [eax + 0x40]
jmp 0x102b4eaa
xorps xmm0, xmm0
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x102b5113
mov eax, dword [esp + 0x4c]
xor ecx, ecx
movzx ebx, ax
mov eax, ebx
test eax, eax
je 0x102b4eca
inc ecx
shr eax, 1
jne 0x102b4ec5
mov eax, dword [esp + 0x44]
dec ecx
shr eax, 0x18
mov edx, 1
mov byte [esi], al
mov eax, dword [esp + 0x44]
shr eax, 0x10
mov byte [esi + 1], al
mov eax, dword [esp + 0x44]
shr eax, 8
mov byte [esi + 2], al
mov eax, dword [esp + 0x44]
mov byte [esi + 3], al
mov eax, dword [esp + 0x4c]
shr eax, 8
mov byte [esi + 4], al
mov eax, dword [esp + 0x4c]
mov byte [esi + 5], al
shl edx, cl
shl edx, 4
sub dword [esp + 0x18], edx
mov eax, edx
shr eax, 8
mov byte [esi + 6], al
mov eax, ecx
mov byte [esi + 7], dl
mov edx, 0x18
shr eax, 8
mov byte [esi + 8], al
mov byte [esi + 9], cl
mov ecx, dword [esp + 0x18]
mov eax, ecx
shr eax, 8
mov byte [esi + 0xa], al
lea eax, [esp + 0x14]
push eax
push 0
mov byte [esi + 0xb], cl
add esi, 0xc
mov ecx, dword [esp + 0x28]
push ebx
push 0
mov dword [esp + 0x28], esi
call fcn.10239100
mov ebx, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x2c], eax
test ebx, ebx
jne 0x102b50e3
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x14]
push eax
movzx eax, cx
lea edx, [ebx + 4]
mov ecx, dword [esp + 0x24]
push ebx
push eax
push ebx
call fcn.10239100
mov ebx, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x28], eax
test ebx, ebx
jne 0x102b50e3
mov edx, dword [esp + 0x3c]
mov ecx, ebp
call fcn.10238600
mov ebx, eax
test ebx, ebx
jne 0x102b50e3
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
movzx eax, cx
test eax, eax
jle 0x102b5023
mov edi, dword [esp + 0x2c]
jmp 0x102b4fc0
mov ecx, ebp
call fcn.10238740
mov ecx, ebp
mov dword [edi], eax
call fcn.10238740
mov ecx, ebp
mov dword [edi + 4], eax
call fcn.10238740
mov ecx, ebp
mov dword [edi + 8], eax
call fcn.10238740
mov ecx, ebp
mov dword [edi + 0xc], eax
call fcn.10238740
mov dword [edi + 0x10], eax
mov eax, dword [edi]
cmp eax, dword [esp + 0x1c]
jbe 0x102b50d7
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [ecx + eax*4], edi
inc eax
movzx ecx, dx
add edi, 0x18
mov dword [esp + 0x14], eax
cmp eax, ecx
jl 0x102b4fc0
mov edi, dword [esp + 0x30]
mov ecx, ebp
call fcn.102386c0
mov ecx, dword [esp + 0x4c]
push 0x102b4d50
push 4
movzx eax, cx
push eax
push dword [esp + 0x34]
call dword [sym.imp.MSVCR120.dll_qsort]
mov edx, dword [esp + 0x5c]
xor eax, eax
movzx ecx, dx
add esp, 0x10
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x102b5159
jmp 0x102b5060
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x30], ecx
cmp dword [ecx + 4], edi
jne 0x102b50de
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x48]
cmp edx, eax
ja 0x102b50de
sub eax, edx
cmp dword [ecx + 4], eax
ja 0x102b50de
mov ecx, dword [ecx + 0xc]
mov eax, dword [esp + 0x50]
cmp ecx, eax
ja 0x102b50de
sub eax, ecx
cmp dword [esp + 0x24], eax
ja 0x102b50de
cmp edx, ecx
ja 0x102b50de
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov dword [eax + 0x14], esi
lea eax, [edx + 3]
and eax, 0xfffffffc
mov edx, esi
mov esi, dword [esp + 0x4c]
add edi, eax
lea eax, [ecx + 3]
movzx ecx, si
mov esi, dword [esp + 0x18]
and eax, 0xfffffffc
add edx, eax
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x102b5060
jmp 0x102b515d
mov ecx, ebp
call fcn.102386c0
mov ebx, 8
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
test eax, eax
je 0x102b50fd
push eax
mov eax, dword [ebp + 8]
push ebp
call eax
add esp, 8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x102b510f
push eax
mov eax, dword [ebp + 8]
push ebp
call eax
add esp, 8
test ebx, ebx
je 0x102b5144
mov ebp, dword [esp + 0x20]
test esi, esi
je 0x102b5125
mov eax, dword [ebp + 8]
push esi
push ebp
call eax
add esp, 8
mov esi, dword [esp + 0x34]
test esi, esi
je 0x102b5144
mov eax, dword [esi + 0x18]
test eax, eax
je 0x102b513a
push esi
call eax
add esp, 4
mov eax, dword [ebp + 8]
push esi
push ebp
call eax
add esp, 8
mov ecx, dword [esp + 0x6c]
mov eax, ebx
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.1033d458
add esp, 0x60
ret
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x102b5187
cmp eax, edi
jne 0x102b50de
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x58]
mov esi, dword [esp + 0x18]
cmp eax, dword [esp + 0x48]
ja 0x102b50de
add edi, dword [esp + 0x5c]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x102b51b3
add edi, 3
and edi, 0xfffffffc
cmp eax, edi
jne 0x102b50de
add eax, dword [esp + 0x68]
mov esi, dword [esp + 0x18]
cmp eax, dword [esp + 0x48]
ja 0x102b50de
add edi, dword [esp + 0x68]
mov eax, dword [esp + 0x50]
cmp edx, eax
jne 0x102b50de
cmp edi, dword [esp + 0x48]
jne 0x102b50de
mov dword [esp + 0x1c], 0
test ecx, ecx
jle 0x102b52de
mov edi, dword [esp + 0x2c]
add edi, 0x10
movzx eax, byte [edi - 0xd]
lea esi, [esi + 0x10]
mov byte [esi - 0x10], al
mov ecx, ebp
movzx eax, byte [edi - 0xe]
mov byte [esi - 0xf], al
mov eax, dword [edi - 0x10]
shr eax, 8
mov byte [esi - 0xe], al
movzx eax, byte [edi - 0x10]
mov byte [esi - 0xd], al
movzx eax, byte [edi + 3]
mov byte [esi - 0xc], al
movzx eax, byte [edi + 2]
mov byte [esi - 0xb], al
mov eax, dword [edi]
shr eax, 8
mov byte [esi - 0xa], al
movzx eax, byte [edi]
mov byte [esi - 9], al
movzx eax, byte [edi + 7]
mov byte [esi - 8], al
movzx eax, byte [edi + 6]
mov byte [esi - 7], al
mov eax, dword [edi + 4]
shr eax, 8
mov byte [esi - 6], al
movzx eax, byte [edi + 4]
mov byte [esi - 5], al
movzx eax, byte [edi - 1]
mov byte [esi - 4], al
movzx eax, byte [edi - 2]
mov byte [esi - 3], al
mov eax, dword [edi - 4]
shr eax, 8
mov byte [esi - 2], al
movzx eax, byte [edi - 4]
mov byte [esi - 1], al
mov edx, dword [edi - 0xc]
call fcn.102384c0
mov ebx, eax
test ebx, ebx
jne 0x102b50e3
mov edx, dword [edi - 8]
mov ecx, ebp
call fcn.10238600
mov ebx, eax
test ebx, ebx
jne 0x102b50e3
mov eax, dword [edi - 4]
cmp dword [edi - 8], eax
jne 0x102b5324
push eax
mov eax, dword [edi + 4]
push dword [ebp + 0x20]
add eax, dword [esp + 0x18]
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov ecx, ebp
call fcn.102386c0
mov eax, dword [edi + 4]
add eax, dword [edi - 4]
test al, 3
je 0x102b52bf
mov ecx, dword [esp + 0x10]
mov byte [eax + ecx], 0
inc eax
test al, 3
jne 0x102b52b6
mov eax, dword [esp + 0x1c]
add edi, 0x18
mov edx, dword [esp + 0x4c]
inc eax
movzx ecx, dx
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x102b51e0
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x10]
mov edx, esi
mov edi, dword [esp + 0x34]
mov ecx, edi
push eax
call fcn.10238490
mov eax, dword [ebp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x38]
mov dword [edi + 0x1c], eax
mov dword [edi + 0x18], 0x102b4d20
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x68]
shr edx, 0xa
and edx, 1
call fcn.10234ba0
and dword [ebp + 8], 0xfffffbff
mov dword [ebp + 0x68], edi
jmp 0x102b50e7
mov ebx, 7
jmp 0x102b50e3