Function at 0x1006a030
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
mov eax, dword [0x1020c0c0]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebp
push esi
xor eax, eax
mov dword [esp + 0x40], edx
mov esi, ecx
mov dword [esp + 0x30], eax
push edi
lea eax, [esp + 0x4c]
mov edx, 0x101e2ff0
push eax
mov edi, dword [esi + 0x1c]
xor ebp, ebp
mov dword [esp + 0x34], edi
call fcn.1004c290
test eax, eax
jne 0x1006a0de
mov eax, dword [esp + 0x50]
push ebx
cmp eax, 0x774f4646
je 0x1006a0d8
cmp eax, 0x74746366
je 0x1006a0d8
mov ecx, dword [esp + 0x58]
cmp ecx, dword [esi + 4]
jne 0x1006a0d8
mov eax, dword [esp + 0x5c]
test ax, ax
je 0x1006a0d8
movzx ebx, ax
mov dword [esp + 0x28], ebx
lea eax, [ebx + ebx*4]
shl eax, 2
mov dword [esp + 0x40], eax
add eax, 0x2c
mov dword [esp + 0x24], eax
cmp eax, ecx
jae 0x1006a0d8
mov eax, ebx
shl eax, 4
mov dword [esp + 0x20], eax
lea ecx, [eax + 0xc]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jae 0x1006a0d8
test al, 3
jne 0x1006a0d8
cmp dword [esp + 0x68], ebp
jne 0x1006a0f0
cmp dword [esp + 0x6c], ebp
jne 0x1006a0d8
cmp dword [esp + 0x70], ebp
je 0x1006a0fc
mov eax, 8
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.101a0143
add esp, 0x70
ret
cmp dword [esp + 0x6c], ebp
je 0x1006a0fc
cmp dword [esp + 0x70], ebp
je 0x1006a0d8
cmp dword [esp + 0x74], ebp
jne 0x1006a108
cmp dword [esp + 0x78], ebp
jne 0x1006a0d8
mov eax, dword [edi + 4]
mov edx, ecx
mov ecx, edi
call eax
mov dword [esp + 0x30], eax
test eax, eax
jne 0x1006a14d
lea edi, [eax + 0x40]
mov ebx, dword [esp + 0x34]
test ebp, ebp
je 0x1006a138
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1006a12f
mov ecx, ebp
call eax
mov eax, dword [ebx + 8]
mov edx, ebp
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x7c]
mov eax, edi
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.101a0143
add esp, 0x70
ret
push dword [esp + 0x2c]
push 0
push eax
call fcn.101a2030
mov eax, dword [edi + 4]
add esp, 0xc
mov edx, 0x28
mov ecx, edi
call eax
mov dword [esp + 0x44], eax
mov ebp, eax
test eax, eax
jne 0x1006a188
mov ebx, dword [esp + 0x30]
lea edi, [eax + 0x40]
mov edx, ebx
mov ebx, dword [esp + 0x34]
mov ecx, ebx
mov eax, dword [ebx + 8]
call eax
jmp 0x1006a120
mov edx, dword [esp + 0x30]
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [esp + 0x1c], eax
movups xmmword [eax + 0x10], xmm0
mov dword [esp + 0x10], edx
movq qword [eax + 0x20], xmm0
mov eax, ebx
xor ebx, ebx
test eax, eax
je 0x1006a1b8
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], edx
inc ebx
shr eax, 1
jne 0x1006a1b3
mov edi, dword [esp + 0x54]
dec ebx
mov ecx, ebx
mov edx, 1
shl edx, cl
mov eax, edi
mov ecx, dword [esp + 0x30]
shr eax, 0x18
shl edx, 4
sub dword [esp + 0x20], edx
mov byte [ecx], al
mov eax, edi
shr eax, 0x10
mov byte [ecx + 1], al
mov eax, edi
shr eax, 8
mov byte [ecx + 2], al
mov eax, edi
mov byte [ecx + 3], al
xor edi, edi
mov eax, dword [esp + 0x5c]
shr eax, 8
mov byte [ecx + 4], al
mov eax, dword [esp + 0x5c]
mov byte [ecx + 5], al
mov eax, edx
shr eax, 8
mov byte [ecx + 6], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 8], al
mov byte [ecx + 7], dl
mov edx, dword [esp + 0x20]
mov eax, edx
shr eax, 8
mov byte [ecx + 0xa], al
mov eax, dword [esp + 0x28]
mov byte [ecx + 9], bl
mov byte [ecx + 0xb], dl
test eax, eax
je 0x1006a2e4
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 0x3c], eax
mov edx, eax
mov eax, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
test eax, eax
mov ecx, 0x40
mov ebx, eax
cmove edi, ecx
mov dword [esp + 0x14], ebx
test edi, edi
jne 0x1006a953
mov dword [esp + 0x14], eax
test eax, eax
je 0x1006a278
push dword [esp + 0x3c]
push edi
push eax
call fcn.101a2030
add esp, 0xc
jmp 0x1006a280
test edi, edi
jne 0x1006a953
mov eax, dword [esp + 0x28]
xor edi, edi
shl eax, 2
mov dword [esp + 0x3c], eax
mov edx, eax
mov eax, dword [esp + 0x34]
mov ecx, eax
mov dword [esp + 0x14], ebx
mov eax, dword [eax + 4]
call eax
test eax, eax
mov dword [esp + 0x18], eax
mov ecx, 0x40
cmove edi, ecx
mov ecx, eax
mov dword [esp + 0x20], ecx
test edi, edi
jne 0x1006a2d6
mov dword [esp + 0x20], eax
test eax, eax
je 0x1006a2d6
push dword [esp + 0x3c]
push edi
push eax
call fcn.101a2030
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x1006a2f4
mov dword [esp + 0x18], ecx
test edi, edi
jne 0x1006a484
jmp 0x1006a2f4
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.1004c140
mov edi, eax
test edi, edi
jne 0x1006a484
xor ebp, ebp
cmp dword [esp + 0x28], ebp
jbe 0x1006a4d2
lea edi, [ebx + 8]
mov ebx, dword [esi + 0x20]
xor ecx, ecx
mov edx, ebx
lea eax, [edx + 3]
cmp eax, dword [esi + 0x24]
jae 0x1006a348
movzx eax, byte [ebx]
add edx, 4
shl eax, 8
movzx ecx, byte [edx - 3]
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x20], edx
mov dword [edi - 8], ecx
xor ecx, ecx
mov ebx, dword [esi + 0x20]
mov edx, ebx
lea eax, [edx + 3]
cmp eax, dword [esi + 0x24]
jae 0x1006a37e
movzx ecx, byte [ebx]
add edx, 4
shl ecx, 8
movzx eax, byte [edx - 3]
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x20], edx
mov dword [edi - 4], ecx
xor ecx, ecx
mov ebx, dword [esi + 0x20]
mov edx, ebx
lea eax, [edx + 3]
cmp eax, dword [esi + 0x24]
jae 0x1006a3b4
movzx ecx, byte [ebx]
add edx, 4
shl ecx, 8
movzx eax, byte [edx - 3]
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x20], edx
mov dword [edi], ecx
xor ecx, ecx
mov ebx, dword [esi + 0x20]
mov edx, ebx
lea eax, [edx + 3]
cmp eax, dword [esi + 0x24]
jae 0x1006a3e9
movzx eax, byte [ebx]
add edx, 4
shl eax, 8
movzx ecx, byte [edx - 3]
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x20], edx
mov dword [edi + 4], ecx
xor ecx, ecx
mov ebx, dword [esi + 0x20]
mov edx, ebx
lea eax, [edx + 3]
cmp eax, dword [esi + 0x24]
jae 0x1006a41f
movzx eax, byte [ebx]
add edx, 4
shl eax, 8
movzx ecx, byte [edx - 3]
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 1]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x20], edx
mov eax, dword [edi - 8]
mov dword [edi + 8], ecx
lea ecx, [edi - 8]
cmp eax, dword [esp + 0x38]
jbe 0x1006a451
mov ebx, dword [esp + 0x28]
add edi, 0x18
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [eax + ebp*4], ecx
inc ebp
cmp ebp, ebx
jl 0x1006a318
jmp 0x1006a4d6
cmp dword [esi + 0x14], 0
je 0x1006a46d
mov edx, dword [esi]
mov eax, dword [esi + 0x1c]
test edx, edx
je 0x1006a467
mov ecx, eax
mov eax, dword [eax + 8]
call eax
mov dword [esi], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov edi, 8
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x1006a49f
mov eax, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [eax + 8]
call eax
test esi, esi
je 0x1006a4b0
mov eax, dword [esp + 0x34]
mov edx, esi
mov ecx, eax
mov eax, dword [eax + 8]
call eax
test edi, edi
je 0x1006a138
test ebx, ebx
je 0x1006a11c
mov edx, ebx
mov ebx, dword [esp + 0x34]
mov ecx, ebx
mov eax, dword [ebx + 8]
call eax
jmp 0x1006a120
mov ebx, dword [esp + 0x28]
cmp dword [esi + 0x14], 0
je 0x1006a4f2
mov edx, dword [esi]
mov eax, dword [esi + 0x1c]
test edx, edx
je 0x1006a4ec
mov ecx, eax
mov eax, dword [eax + 8]
call eax
mov dword [esi], 0
mov edi, dword [esp + 0x20]
push 0x1006a010
push 4
push ebx
push edi
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.101ad400
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
mov edx, dword [esp + 0x34]
add esp, 0x10
cmp dword [esp + 0x28], ebx
jbe 0x1006a593
mov edi, dword [edi + ebx*4]
mov ecx, dword [edi + 4]
cmp ecx, edx
jne 0x1006a47b
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x58]
cmp edx, eax
ja 0x1006a47b
sub eax, edx
cmp ecx, eax
ja 0x1006a47b
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x60]
cmp ecx, eax
ja 0x1006a47b
sub eax, ecx
cmp ebp, eax
ja 0x1006a47b
cmp edx, ecx
ja 0x1006a47b
lea eax, [edx + 3]
mov dword [edi + 0x14], ebp
mov edx, dword [esp + 0x24]
and eax, 0xfffffffc
mov edi, dword [esp + 0x20]
add edx, eax
lea eax, [ecx + 3]
mov dword [esp + 0x24], edx
and eax, 0xfffffffc
inc ebx
add ebp, eax
cmp ebx, dword [esp + 0x28]
jl 0x1006a525
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1006a5cd
cmp eax, edx
jne 0x1006a47b
mov edi, dword [esp + 0x6c]
add eax, edi
mov ecx, dword [esp + 0x58]
cmp eax, ecx
ja 0x1006a47b
add edx, edi
jmp 0x1006a5d1
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x1006a5f7
add edx, 3
and edx, 0xfffffffc
cmp eax, edx
jne 0x1006a47b
mov edi, dword [esp + 0x78]
add eax, edi
cmp eax, ecx
ja 0x1006a47b
add edx, edi
cmp ebp, dword [esp + 0x60]
jne 0x1006a47b
cmp edx, ecx
jne 0x1006a47b
mov eax, dword [esp + 0x30]
mov edx, eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x10], edx
test ecx, ecx
js 0x1006a943
je 0x1006a69a
mov edx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, eax
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jne 0x1006a63e
lea edi, [eax + 0x40]
jmp 0x1006a480
mov edx, dword [esp + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x38]
xor edi, edi
mov ebp, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
cmp edx, dword [esp + 0x2c]
jle 0x1006a694
mov eax, edx
mov edx, dword [esp + 0x2c]
sub eax, edx
push eax
push edi
lea eax, [ecx + edx]
push eax
call fcn.101a2030
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x18], eax
mov edx, ebp
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebx
jmp 0x1006a6b3
xor edi, edi
mov edx, ebp
jmp 0x1006a6af
mov eax, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [eax + 8]
call eax
mov eax, dword [esp + 0x14]
xor ebp, ebp
xor edi, edi
xor edx, edx
mov dword [esp + 0x10], edx
cmp dword [esp + 0x28], 0
lea ecx, [ebp + 0xc]
mov dword [esp + 0x3c], 0
jbe 0x1006a8c9
lea ebx, [eax + 0x10]
nop dword [eax]
mov dword [esp + 0x2c], eax
xor edi, edi
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
movzx eax, byte [ebx - 0xd]
mov byte [ecx], al
movzx eax, byte [ebx - 0xe]
mov byte [ecx + 1], al
mov eax, dword [ebx - 0x10]
shr eax, 8
mov byte [ecx + 2], al
movzx eax, byte [ebx - 0x10]
mov byte [ecx + 3], al
movzx eax, byte [ebx + 3]
mov byte [ecx + 4], al
movzx eax, byte [ebx + 2]
mov byte [ecx + 5], al
mov eax, dword [ebx]
shr eax, 8
mov byte [ecx + 6], al
movzx eax, byte [ebx]
mov byte [ecx + 7], al
movzx eax, byte [ebx + 7]
mov byte [ecx + 8], al
movzx eax, byte [ebx + 6]
mov byte [ecx + 9], al
mov eax, dword [ebx + 4]
shr eax, 8
mov byte [ecx + 0xa], al
movzx eax, byte [ebx + 4]
mov byte [ecx + 0xb], al
movzx eax, byte [ebx - 1]
mov byte [ecx + 0xc], al
movzx eax, byte [ebx - 2]
mov byte [ecx + 0xd], al
mov eax, dword [ebx - 4]
shr eax, 8
mov byte [ecx + 0xe], al
movzx eax, byte [ebx - 4]
mov byte [ecx + 0xf], al
add ecx, 0x10
mov eax, dword [ebx - 0xc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x1006a78d
push edi
push edi
mov edx, eax
mov ecx, esi
call dword [esp + 0x48]
mov edx, dword [esp + 0x10]
test eax, eax
mov eax, dword [esp + 0x38]
je 0x1006a796
mov edi, 0x55
jmp 0x1006a796
cmp eax, dword [esi + 4]
ja 0x1006a8bf
test edi, edi
jne 0x1006a8ae
mov dword [esi + 8], eax
mov ecx, esi
mov edx, dword [ebx - 8]
call fcn.1004c140
mov edi, eax
test edi, edi
jne 0x1006a899
mov eax, dword [ebx - 4]
cmp dword [ebx - 8], eax
jne 0x1006a86a
push eax
mov eax, dword [ebx + 4]
push dword [esi + 0x20]
add eax, ebp
push eax
call fcn.101a1ab0
add esp, 0xc
cmp dword [esi + 0x14], edi
je 0x1006a7ee
mov edx, dword [esi]
mov eax, dword [esi + 0x1c]
test edx, edx
je 0x1006a7e8
mov ecx, eax
mov eax, dword [eax + 8]
call eax
mov dword [esi], 0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov eax, dword [ebx + 4]
add eax, dword [ebx - 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x1c], ecx
test al, 3
je 0x1006a84b
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov byte [eax + ebp], 0
inc eax
test al, 3
jne 0x1006a842
mov eax, dword [esp + 0x3c]
add ebx, 0x18
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x28]
jge 0x1006a8c9
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
jmp 0x1006a6d0
mov edi, 7
cmp dword [esi + 0x14], 0
je 0x1006a88b
mov edx, dword [esi]
mov eax, dword [esi + 0x1c]
test edx, edx
je 0x1006a885
mov ecx, eax
mov eax, dword [eax + 8]
call eax
mov dword [esi], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x1006a490
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
jmp 0x1006a480
mov edi, 0x55
jmp 0x1006a480
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x60]
mov dword [ecx + 4], eax
mov dword [ecx + 0x18], 0
mov dword [ecx], ebp
mov dword [ecx + 8], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x14], 0
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 0x18], 0x10069fe0
mov esi, dword [eax + 0x68]
mov ebp, dword [eax + 8]
test esi, esi
je 0x1006a92c
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
test eax, eax
je 0x1006a91b
mov ecx, esi
call eax
test ebp, 0x400
jne 0x1006a92c
mov eax, dword [ebx + 8]
mov edx, esi
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
and dword [ecx + 8], 0xfffffbff
mov dword [ecx + 0x68], eax
jmp 0x1006a480
mov ebp, dword [esp + 0x1c]
mov edi, 6
mov ebx, eax
jmp 0x1006a488
mov ebx, dword [esp + 0x10]
xor esi, esi
jmp 0x1006a48c