Function at 0x10013b40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa68
mov eax, dword [0x1019c020]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
mov edx, ecx
push esi
push edi
mov dword [ebp - 0xa20], ebx
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x30], 0
mov dword [ebp - 0xa3c], edx
cmp byte [eax + 0x10], 1
jne 0x10013b7d
mov dword [ebx + 0x30], 1
mov edi, dword [ebx + 0x24]
xor ecx, ecx
mov esi, dword [edx + 0x58]
mov dword [ebp - 0xa60], ecx
mov dword [ebp - 0xa34], edi
mov dword [ebp - 0xa50], esi
cmp dword [edx + 0x38], ecx
jle 0x100144ec
mov eax, dword [ebx + 0x20]
imul ecx, ecx, 0x1e8
add ecx, dword [eax + 0x18]
mov dword [ebp - 0xa24], ecx
cmp byte [ecx + 8], 0
jne 0x10013bbf
mov dword [ebx + 0x30], 1
movzx eax, byte [ecx + 5]
mov ecx, eax
mov dword [edi + 0x14], eax
shl ecx, 4
sub ecx, eax
shl ecx, 2
push ecx
call fcn.1012f850
add esp, 4
mov dword [edi + 0x18], eax
test eax, eax
je 0x100144d8
mov edi, dword [esi + 4]
xor edx, edx
mov eax, dword [ebx + 0x10]
dec eax
mov ecx, dword [ebp - 0xa20]
add eax, edi
mov esi, dword [esi]
div edi
xor edx, edx
mov ebx, eax
mov eax, dword [ecx + 0xc]
dec eax
add eax, esi
div esi
xor edx, edx
mov dword [ebp - 0xa48], eax
mov eax, ecx
mov eax, dword [eax + 8]
dec eax
add eax, edi
div edi
xor edx, edx
mov edi, eax
mov eax, ecx
mov eax, dword [eax + 4]
dec eax
add eax, esi
div esi
mov esi, dword [ebp - 0xa48]
mov ecx, esi
sub ecx, eax
mov dword [ebp - 0xa2c], eax
push ecx
mov ecx, ebx
sub ecx, edi
push ecx
call fcn.100041c0
add esp, 8
test eax, eax
je 0x10013c59
mov ecx, dword [ebp - 0xa2c]
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], ebx
mov ecx, dword [ebp - 0xa34]
mov dword [ecx + 0x10], eax
test eax, eax
je 0x100144d8
mov eax, dword [ebp - 0xa24]
mov esi, dword [ecx + 0x14]
push 8
dec esi
movzx edi, byte [eax + 8]
call fcn.1012f850
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x10013ca9
test esi, esi
jle 0x10013ca0
test edi, edi
mov eax, 0x1019dfb8
mov edx, 0x1019dfa8
cmove eax, edx
mov dword [ecx + 4], eax
jmp 0x10013ca7
mov dword [ecx + 4], 0
mov dword [ecx], esi
mov edi, dword [ebp - 0xa34]
mov dword [edi + 0x1c], ecx
test ecx, ecx
je 0x100144d8
mov edx, dword [edi + 0x10]
lea eax, [ebp - 0xa04]
push eax
push dword [edx + 0x10]
push dword [edx + 0xc]
push dword [edx + 8]
mov edx, dword [edx + 4]
call fcn.1001f6b0
mov ebx, dword [edi + 0x18]
xor esi, esi
add esp, 0x10
mov dword [ebp - 0xa18], esi
mov dword [ebp - 0xa1c], ebx
cmp dword [edi + 0x14], esi
jle 0x1001449d
mov eax, dword [ebp - 0xa24]
lea ecx, [eax + 0x1a3]
add eax, 0x1c4
mov dword [ebp - 0xa64], ecx
mov dword [ebp - 0xa68], eax
nop
mov dword [ebx + 4], 0
not esi
mov ecx, dword [edi + 0x14]
mov edx, 1
mov eax, dword [edi]
add ecx, esi
shl edx, cl
dec edx
add eax, edx
mov edx, 1
shr eax, cl
mov dword [ebx + 8], eax
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 4]
add ecx, esi
shl edx, cl
dec edx
add eax, edx
mov edx, 1
shr eax, cl
mov dword [ebx + 0xc], eax
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 8]
add ecx, esi
shl edx, cl
dec edx
add eax, edx
mov edx, 1
shr eax, cl
mov dword [ebx + 0x10], eax
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0xc]
add ecx, esi
shl edx, cl
dec edx
add eax, edx
shr eax, cl
mov ecx, dword [ebp - 0xa18]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0xa64]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x14]
movzx eax, byte [eax + ecx]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0xa68]
mov edx, dword [ebx + 0x18]
movzx eax, byte [eax + ecx]
mov ecx, edx
shr esi, cl
mov dword [ebx + 0x1c], eax
shl esi, cl
mov ecx, eax
mov dword [ebp - 0xa30], esi
mov eax, 1
mov esi, dword [ebx + 0xc]
shr esi, cl
shl esi, cl
mov ecx, edx
shl eax, cl
dec eax
mov dword [ebp - 0xa40], esi
mov esi, dword [ebx + 0x10]
add eax, esi
shr eax, cl
shl eax, cl
mov edx, eax
mov dword [ebp - 0xa4c], eax
sub edx, dword [ebp - 0xa30]
mov eax, 1
shr edx, cl
mov ecx, dword [ebx + 0x1c]
shl eax, cl
dec eax
mov dword [ebx + 0x20], edx
add eax, edi
shr eax, cl
shl eax, cl
sub eax, dword [ebp - 0xa40]
shr eax, cl
mov dword [ebx + 0x24], eax
imul eax, edx
mov dword [ebx + 0x28], eax
cmp dword [ebx + 8], esi
jae 0x1001445c
cmp dword [ebx + 0xc], edi
jae 0x1001445c
mov esi, dword [ebp - 0xa18]
test esi, esi
jne 0x10013e27
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], ecx
jmp 0x10013e61
mov eax, dword [ebp - 0xa30]
inc eax
shr eax, 1
mov dword [ebp - 0xa30], eax
mov eax, dword [ebp - 0xa40]
inc eax
shr eax, 1
mov dword [ebp - 0xa40], eax
mov eax, dword [ebp - 0xa4c]
inc eax
shr eax, 1
mov dword [ebp - 0xa4c], eax
mov eax, dword [ebx + 0x18]
dec eax
mov dword [ebx + 0x2c], eax
lea eax, [ecx - 1]
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0xa24]
mov ecx, dword [ebx + 0x2c]
movzx eax, byte [edx + 6]
cmp eax, ecx
cmovl ecx, eax
mov dword [ebx + 0x34], ecx
movzx eax, byte [edx + 7]
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
cmovl ecx, eax
xor eax, eax
test esi, esi
mov dword [ebx + 0x38], ecx
setne al
lea eax, [eax*2 + 1]
mov dword [ebx], eax
shl eax, 5
push eax
call fcn.1012f850
mov edi, eax
add esp, 4
mov dword [ebp - 0xa28], edi
mov dword [ebx + 4], edi
test edi, edi
je 0x100144d8
xor eax, eax
mov dword [ebp - 0xa48], eax
cmp dword [ebx], eax
jle 0x1001447e
test esi, esi
jne 0x10013ecc
xor ecx, ecx
jmp 0x10013ed4
lea ecx, [esi - 1]
lea ecx, [eax + ecx*2]
add ecx, esi
mov edx, dword [ebp - 0xa24]
lea eax, [ecx + ecx*4]
lea esi, [ebp - 0xa04]
lea esi, [esi + eax*8]
mov eax, dword [esi + 0x10]
mov dword [edi + 8], eax
mov eax, dword [edx + ecx*4 + 0x10]
mov dword [edi + 0xc], eax
cmp byte [edx + 8], 0
mov dword [ebp - 0xa08], esi
jne 0x10013f03
xor eax, eax
jmp 0x10013f36
mov ecx, dword [ebp - 0xa18]
test ecx, ecx
jne 0x10013f11
xor eax, eax
jmp 0x10013f36
mov eax, dword [edi + 8]
test eax, eax
jle 0x100145d4
cmp eax, 2
jle 0x10013f31
cmp eax, 3
jne 0x100145d4
mov eax, 2
jmp 0x10013f36
mov eax, 1
mov ecx, dword [ebp - 0xa50]
mov dword [ebp - 0xa10], eax
mov dword [edi + 0x18], eax
mov eax, dword [edi + 0xc]
mov edx, eax
mov ecx, dword [ecx + 0x10]
and edx, 0x7ff
mov dword [ebp - 0xa2c], eax
sar eax, 0xb
shl edx, 2
sub ecx, eax
or edx, 0x2000
add ecx, dword [ebp - 0xa10]
js 0x10013f73
shl edx, cl
jmp 0x10013f77
neg ecx
sar edx, cl
mov eax, dword [ebp - 0xa24]
mov dword [edi + 0x10], edx
mov edx, dword [ebp - 0xa2c]
sar edx, 0xb
movzx eax, byte [eax + 0x1a0]
dec eax
add edx, eax
mov eax, dword [ebp - 0xa24]
mov dword [edi + 0x14], edx
movzx ecx, byte [eax + 0x1a1]
lea eax, [ecx + edx]
cmp eax, 0x20
jl 0x10013fb2
mov ecx, 0x1f
sub ecx, edx
mov dword [edi + 0x1c], ecx
mov dword [edi + 4], 0
mov dword [edi], 0
mov eax, dword [esi]
cmp eax, dword [esi + 8]
je 0x10014416
mov eax, dword [esi + 4]
cmp eax, dword [esi + 0xc]
je 0x10014416
push 0
push 0
call fcn.100041c0
add esp, 8
mov dword [ebp - 0xa14], eax
test eax, eax
jne 0x10013ff7
mov dword [ebp - 0xa14], eax
jmp 0x10014013
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [edi + 4], eax
test eax, eax
je 0x100144d8
mov eax, dword [ebp - 0xa34]
mov ecx, dword [ebp - 0xa14]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0xa08]
mov eax, dword [eax + 0x1c]
sub eax, dword [edx + 4]
dec eax
push eax
mov eax, dword [ebp - 0xa08]
mov eax, dword [eax + 0x20]
sub eax, dword [edx + 8]
dec eax
push eax
mov eax, dword [ebp - 0xa08]
mov eax, dword [eax + 0x14]
sub eax, dword [edx + 4]
push eax
mov eax, dword [ebp - 0xa08]
mov eax, dword [eax + 0x18]
sub eax, dword [edx + 8]
push eax
call fcn.10004440
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0xa08]
mov eax, dword [edx]
mov dword [ecx + 4], eax
mov ecx, dword [edi + 4]
mov eax, dword [edx + 4]
mov dword [ecx + 8], eax
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x18]
add eax, dword [ecx + 4]
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x14]
add eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x28]
lea eax, [eax + eax*4]
shl eax, 3
push eax
call fcn.1012f850
mov edi, eax
add esp, 0x14
mov eax, dword [ebp - 0xa28]
mov dword [eax], edi
test edi, edi
je 0x100144d8
mov eax, dword [ebp - 0xa40]
mov esi, dword [ebp - 0xa30]
mov dword [ebp - 0xa10], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0xa08], esi
mov dword [ebp - 0xa2c], eax
test eax, eax
jle 0x10014410
mov ecx, dword [ebx + 0x2c]
mov eax, 1
shl eax, cl
mov edx, 1
mov ecx, dword [ebx + 0x30]
add eax, esi
mov ebx, dword [ebp - 0xa10]
shl edx, cl
mov ecx, dword [ebp - 0xa28]
add edx, ebx
mov dword [ebp - 0xa5c], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax + 4]
cmp esi, eax
cmova eax, esi
mov dword [ebp - 0xa38], eax
mov dword [edi], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax + 8]
cmp ebx, eax
cmova eax, ebx
mov dword [edi + 4], eax
mov dword [ebp - 0xa14], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0xc]
mov ebx, eax
cmp dword [ebp - 0xa5c], ebx
mov dword [ebp - 0xa0c], eax
cmovb ebx, dword [ebp - 0xa5c]
mov eax, ebx
mov dword [ebp - 0xa0c], ebx
mov dword [edi + 8], eax
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 0x10]
cmp edx, ecx
mov eax, ebx
mov ebx, dword [ebp - 0xa1c]
cmovb ecx, edx
mov dword [ebp - 0xa44], ecx
mov dword [edi + 0xc], ecx
cmp eax, dword [ebp - 0xa38]
jbe 0x1001443c
mov eax, dword [ebp - 0xa14]
cmp ecx, eax
jbe 0x1001443c
mov ecx, dword [ebx + 0x38]
mov edx, dword [ebp - 0xa44]
mov esi, dword [ebp - 0xa0c]
dec edx
shr eax, cl
dec esi
shl eax, cl
mov dword [ebp - 0xa14], eax
mov eax, 1
shl eax, cl
add edx, eax
mov eax, 1
shr edx, cl
shl edx, cl
mov ecx, dword [ebx + 0x34]
sub edx, dword [ebp - 0xa14]
shl eax, cl
add eax, esi
mov esi, dword [ebp - 0xa38]
shr eax, cl
shl eax, cl
shr esi, cl
shl esi, cl
sub eax, esi
shr eax, cl
mov dword [edi + 0x10], eax
mov ecx, dword [ebx + 0x38]
shr edx, cl
mov ecx, eax
imul eax, edx
mov dword [edi + 0x14], edx
mov dword [edi + 0x18], eax
call fcn.10021a60
mov dword [edi + 0x20], eax
test eax, eax
je 0x100144d8
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
call fcn.10021a60
mov dword [edi + 0x24], eax
test eax, eax
je 0x100144d8
imul eax, dword [edi + 0x18], 0x2c
push eax
call fcn.1012f850
mov esi, eax
add esp, 4
mov dword [edi + 0x1c], esi
test esi, esi
je 0x100144d8
mov eax, dword [edi + 0x18]
mov edx, dword [ebp - 0xa10]
mov ebx, dword [ebp - 0xa08]
mov dword [ebp - 0xa0c], edx
mov dword [ebp - 0xa14], eax
test eax, eax
jle 0x100143b4
mov edx, dword [ebp - 0xa1c]
nop dword [eax]
mov ecx, dword [edx + 0x34]
mov eax, 1
shl eax, cl
mov edx, 1
mov ecx, dword [ebp - 0xa1c]
add eax, ebx
mov ecx, dword [ecx + 0x38]
shl edx, cl
add edx, dword [ebp - 0xa0c]
mov ecx, dword [edi]
cmp ebx, ecx
cmova ecx, ebx
mov dword [ebp - 0xa44], ecx
mov ecx, dword [edi + 4]
cmp dword [ebp - 0xa0c], ecx
cmova ecx, dword [ebp - 0xa0c]
mov dword [ebp - 0xa58], ecx
mov ecx, dword [edi + 8]
cmp eax, ecx
cmovb ecx, eax
mov eax, dword [edi + 0xc]
cmp edx, eax
mov dword [ebp - 0xa38], ecx
cmovb eax, edx
mov edx, ecx
mov ecx, dword [ebp - 0xa58]
mov dword [ebp - 0xa54], eax
cmp edx, dword [ebp - 0xa44]
jbe 0x10014371
cmp eax, ecx
jbe 0x10014371
push 0
push 0
xor edx, edx
mov dword [esi + 0x18], 0xffffffff
xor ecx, ecx
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 3
mov dword [esi + 0x24], 0
call fcn.10004180
add esp, 8
mov dword [esi + 0x28], eax
test eax, eax
je 0x100144d8
push dword [ebp - 0xa54]
mov ecx, dword [ebp - 0xa28]
push dword [ebp - 0xa38]
push dword [ebp - 0xa58]
mov edx, dword [ecx + 4]
mov ecx, eax
push dword [ebp - 0xa44]
call fcn.10004410
add esp, 0x10
add esi, 0x2c
dec dword [ebp - 0xa14]
mov edx, dword [ebp - 0xa1c]
mov eax, 1
mov ecx, dword [edx + 0x34]
shl eax, cl
add ebx, eax
cmp ebx, dword [ebp - 0xa5c]
jb 0x100143a1
mov ecx, dword [edx + 0x38]
mov eax, 1
mov ebx, dword [ebp - 0xa08]
shl eax, cl
add dword [ebp - 0xa0c], eax
cmp dword [ebp - 0xa14], 0
jg 0x10014260
mov edx, dword [ebp - 0xa10]
mov esi, dword [ebp - 0xa08]
mov ebx, dword [ebp - 0xa1c]
mov ecx, dword [ebx + 0x2c]
mov eax, 1
shl eax, cl
add esi, eax
mov dword [ebp - 0xa08], esi
cmp esi, dword [ebp - 0xa4c]
jb 0x100143f8
mov ecx, dword [ebx + 0x30]
mov eax, 1
mov esi, dword [ebp - 0xa30]
shl eax, cl
add edx, eax
mov dword [ebp - 0xa08], esi
mov dword [ebp - 0xa10], edx
mov eax, dword [ebp - 0xa2c]
add edi, 0x28
dec eax
mov dword [ebp - 0xa2c], eax
test eax, eax
jg 0x100140e4
mov edi, dword [ebp - 0xa28]
mov eax, dword [ebp - 0xa48]
add edi, 0x20
mov esi, dword [ebp - 0xa18]
inc eax
mov dword [ebp - 0xa48], eax
mov dword [ebp - 0xa28], edi
cmp eax, dword [ebx]
jl 0x10013ec4
jmp 0x10014478
mov edx, dword [ebp - 0xa10]
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
jmp 0x100143c0
mov dword [ebx + 4], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov esi, dword [ebp - 0xa18]
mov edi, dword [ebp - 0xa34]
inc esi
add ebx, 0x3c
mov dword [ebp - 0xa18], esi
mov dword [ebp - 0xa1c], ebx
cmp esi, dword [edi + 0x14]
jl 0x10013d10
mov ecx, dword [ebp - 0xa60]
add edi, 0x20
mov eax, dword [ebp - 0xa3c]
inc ecx
mov esi, dword [ebp - 0xa50]
mov ebx, dword [ebp - 0xa20]
add esi, 0x20
mov dword [ebp - 0xa60], ecx
mov dword [ebp - 0xa34], edi
mov dword [ebp - 0xa50], esi
cmp ecx, dword [eax + 0x38]
jge 0x100144ee
jmp 0x10013ba0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
mov eax, edx
mov edx, ebx
mov ecx, eax
call fcn.10023d20
mov dword [ebx + 0x34], eax
test eax, eax
je 0x100144d8
mov eax, dword [ebx + 0x20]
xor ecx, ecx
mov dword [ebp - 0xa3c], ecx
mov eax, dword [eax + 4]
cmp dword [eax], ecx
jle 0x100145b9
mov eax, dword [ebx + 0x20]
push 0x10
mov eax, dword [eax + 4]
mov eax, dword [eax + 8]
mov esi, dword [eax + ecx*4]
call fcn.1012f850
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10014536
movups xmm0, xmmword [esi]
movups xmmword [ebx], xmm0
mov eax, dword [ebp - 0xa20]
mov eax, dword [eax + 0x34]
mov esi, dword [eax + 0x4c]
mov edi, dword [esi]
mov eax, dword [esi + 4]
cmp edi, eax
jl 0x10014573
sub eax, 0xffffff80
mov dword [ebp - 0xa54], eax
shl eax, 2
push eax
push dword [esi + 8]
call fcn.1012f85b
add esp, 8
test eax, eax
je 0x10014598
mov ecx, dword [ebp - 0xa54]
mov dword [esi + 4], ecx
mov dword [esi + 8], eax
mov edx, dword [esi]
cmp edx, edi
jle 0x10014590
nop dword [eax]
mov eax, dword [esi + 8]
lea ecx, [eax + edx*4]
dec edx
mov eax, dword [ecx - 4]
mov dword [ecx], eax
cmp edx, edi
jg 0x10014580
mov eax, dword [esi + 8]
mov dword [eax + edi*4], ebx
inc dword [esi]
mov ebx, dword [ebp - 0xa20]
mov ecx, dword [ebp - 0xa3c]
inc ecx
mov dword [ebp - 0xa3c], ecx
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + 4]
cmp ecx, dword [eax]
jl 0x10014514
mov ecx, dword [ebx + 0x34]
call fcn.100219d0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
call fcn.1013bba3
int3