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

Disassembly:
sub esp, 0x70
mov eax, dword [0x1020f0c0]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x40], edx
lea eax, [esp + 0x4c]
mov dword [esp + 0x18], 0
xor ebp, ebp
mov edx, 0x101e17d8
push eax
mov ebx, dword [esi + 0x1c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebp
call fcn.1004d210
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1006a786
mov eax, dword [esp + 0x50]
cmp eax, 0x774f4646
je 0x1006a781
cmp eax, 0x74746366
je 0x1006a781
mov edx, dword [esp + 0x54]
cmp edx, dword [esi + 4]
jne 0x1006a781
mov eax, dword [esp + 0x58]
test ax, ax
je 0x1006a781
movzx ecx, ax
mov dword [esp + 0x28], ecx
lea eax, [ecx + ecx*4]
shl eax, 2
mov dword [esp + 0x38], eax
add eax, 0x2c
mov dword [esp + 0x30], eax
cmp eax, edx
jae 0x1006a781
mov eax, ecx
shl eax, 4
mov dword [esp + 0x10], eax
lea ecx, [eax + 0xc]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
cmp ecx, eax
jae 0x1006a781
test al, 3
jne 0x1006a781
cmp dword [esp + 0x64], ebp
jne 0x1006a798
cmp dword [esp + 0x68], ebp
jne 0x1006a781
cmp dword [esp + 0x6c], ebp
je 0x1006a7a4
mov eax, 8
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.101a1d25
add esp, 0x70
ret
cmp dword [esp + 0x68], ebp
je 0x1006a7a4
cmp dword [esp + 0x6c], ebp
je 0x1006a781
cmp dword [esp + 0x70], ebp
jne 0x1006a7b0
cmp dword [esp + 0x74], ebp
jne 0x1006a781
push edi
lea eax, [esp + 0x24]
mov edx, ecx
push eax
mov ecx, ebx
call fcn.1004d530
mov edi, dword [esp + 0x24]
mov ebx, eax
test edi, edi
jne 0x1006afb1
lea edx, [edi + 0x28]
mov edi, dword [esp + 0x30]
mov ecx, edi
mov edi, dword [edi + 4]
call edi
mov dword [esp + 0x40], eax
mov ebp, eax
test eax, eax
jne 0x1006a7ed
lea edi, [eax + 0x40]
jmp 0x1006afb1
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
movups xmmword [eax], xmm0
xor ecx, ecx
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1006a815
mov dword [esp + 0x20], ebp
nop
inc ecx
shr eax, 1
jne 0x1006a810
mov edi, dword [esp + 0x54]
dec ecx
mov eax, edi
mov dword [esp + 0x24], ecx
shr eax, 0x18
mov edx, 1
mov byte [ebx], al
mov eax, edi
shr eax, 0x10
mov byte [ebx + 1], al
mov eax, edi
shr eax, 8
mov byte [ebx + 2], al
mov eax, edi
mov byte [ebx + 3], al
mov eax, dword [esp + 0x5c]
shr eax, 8
mov byte [ebx + 4], al
mov eax, dword [esp + 0x5c]
shl edx, cl
shl edx, 4
sub dword [esp + 0x14], edx
mov byte [ebx + 5], al
mov eax, edx
shr eax, 8
mov byte [ebx + 6], al
mov byte [ebx + 7], dl
mov edx, ecx
mov eax, edx
mov byte [ebx + 9], dl
mov edx, dword [esp + 0x14]
shr eax, 8
mov byte [ebx + 8], al
mov eax, edx
shr eax, 8
mov byte [ebx + 0xa], al
mov eax, dword [esp + 0x2c]
mov byte [ebx + 0xb], dl
test eax, eax
je 0x1006a92f
lea eax, [eax + eax*2]
shl eax, 3
mov dword [esp + 0x14], eax
mov edx, eax
mov eax, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
mov ebp, eax
mov edi, 0x40
xor eax, eax
mov dword [esp + 0x10], ebp
test ebp, ebp
cmovne edi, eax
je 0x1006a8c7
push dword [esp + 0x14]
push eax
push ebp
call fcn.101a3ad0
add esp, 0xc
jmp 0x1006a8d3
mov dword [esp + 0x10], ebp
test edi, edi
jne 0x1006af94
mov eax, dword [esp + 0x2c]
shl eax, 2
mov dword [esp + 0x14], eax
mov edx, eax
mov eax, dword [esp + 0x30]
mov ecx, eax
mov eax, dword [eax + 4]
call eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
test eax, eax
mov edi, 0x40
cmovne edi, ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
je 0x1006a91c
push dword [esp + 0x14]
push 0
push eax
call fcn.101a3ad0
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x1006a93d
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebp
test edi, edi
je 0x1006a93d
mov edx, ebp
jmp 0x1006aef1
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.1004d0b0
mov edi, eax
test edi, edi
jne 0x1006aeed
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
test edi, edi
je 0x1006aadf
lea edi, [ebp + 8]
mov ebp, dword [esi + 0x20]
xor ecx, ecx
mov edx, ebp
lea eax, [edx + 3]
cmp eax, dword [esi + 0x24]
jae 0x1006a996
movzx ecx, byte [ebp]
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 - 8], ecx
xor ecx, ecx
mov ebp, dword [esi + 0x20]
mov edx, ebp
lea eax, [edx + 3]
cmp eax, dword [esi + 0x24]
jae 0x1006a9cd
movzx eax, byte [ebp]
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 ebp, dword [esi + 0x20]
mov edx, ebp
lea eax, [edx + 3]
cmp eax, dword [esi + 0x24]
jae 0x1006aa04
movzx eax, byte [ebp]
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], ecx
xor ecx, ecx
mov ebp, dword [esi + 0x20]
mov edx, ebp
lea eax, [edx + 3]
cmp eax, dword [esi + 0x24]
jae 0x1006aa3a
movzx ecx, byte [ebp]
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 ebp, dword [esi + 0x20]
mov edx, ebp
lea eax, [edx + 3]
cmp eax, dword [esi + 0x24]
jae 0x1006aa71
movzx eax, byte [ebp]
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 + 0x28]
jbe 0x1006aaab
mov ebp, dword [esp + 0x18]
add edi, 0x18
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov dword [ebp + eax*4], ecx
inc eax
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x2c]
jl 0x1006a965
mov edi, dword [esp + 0x2c]
jmp 0x1006aae3
cmp dword [esi + 0x14], 0
je 0x1006aac7
mov edx, dword [esi]
mov eax, dword [esi + 0x1c]
test edx, edx
je 0x1006aac1
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
jmp 0x1006aeed
mov ebp, dword [esp + 0x18]
cmp dword [esi + 0x14], 0
je 0x1006aaff
mov edx, dword [esi]
mov eax, dword [esi + 0x1c]
test edx, edx
je 0x1006aaf9
mov ecx, eax
mov eax, dword [eax + 8]
call eax
mov dword [esi], 0
push 0x1006a6b0
push 4
push edi
push ebp
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
call fcn.101aef70
mov ebp, dword [esp + 0x48]
xor eax, eax
mov edx, dword [esp + 0x44]
add esp, 0x10
mov dword [esp + 0x28], eax
test edi, edi
je 0x1006ab9a
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + eax*4]
mov ecx, dword [edi + 4]
cmp ecx, edx
jne 0x1006aad5
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x58]
cmp edx, eax
ja 0x1006aad5
sub eax, edx
cmp ecx, eax
ja 0x1006aad5
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x60]
cmp ecx, eax
ja 0x1006aad5
sub eax, ecx
cmp ebp, eax
ja 0x1006aad5
cmp edx, ecx
ja 0x1006aad5
lea eax, [edx + 3]
mov dword [edi + 0x14], ebp
mov edx, dword [esp + 0x34]
and eax, 0xfffffffc
add edx, eax
lea eax, [ecx + 3]
and eax, 0xfffffffc
mov dword [esp + 0x34], edx
add ebp, eax
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x2c]
jl 0x1006ab30
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
test eax, eax
je 0x1006abd8
cmp eax, edx
jne 0x1006aad5
mov edi, dword [esp + 0x6c]
add eax, edi
mov ecx, dword [esp + 0x58]
cmp eax, ecx
ja 0x1006aad5
add edx, edi
jmp 0x1006abdc
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x1006ac02
add edx, 3
and edx, 0xfffffffc
cmp eax, edx
jne 0x1006aad5
mov edi, dword [esp + 0x78]
add eax, edi
cmp eax, ecx
ja 0x1006aad5
add edx, edi
mov eax, dword [esp + 0x60]
cmp ebp, eax
jne 0x1006aad5
cmp edx, ecx
jne 0x1006aad5
mov ebp, ebx
test eax, eax
js 0x1006af8a
je 0x1006aca9
mov edx, dword [esp + 0x38]
push ebx
push eax
mov eax, dword [esp + 0x38]
mov ecx, eax
mov eax, dword [eax + 0xc]
call eax
mov ebx, eax
mov dword [esp + 0x18], ebx
test ebx, ebx
jne 0x1006ac4b
lea edi, [eax + 0x40]
mov ebx, ebp
jmp 0x1006aeed
mov ecx, dword [esp + 0x24]
xor edi, edi
mov eax, dword [esp + 0x28]
mov ebp, ebx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
cmp ecx, edx
jle 0x1006aca3
sub ecx, edx
lea eax, [ebx + edx]
push ecx
push edi
push eax
call fcn.101a3ad0
mov eax, dword [esp + 0x34]
add esp, 0xc
mov edx, dword [esp + 0x18]
mov ebp, edx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
jmp 0x1006acc4
xor edi, edi
mov edx, ebp
jmp 0x1006acc0
mov eax, dword [esp + 0x30]
mov edx, ebx
mov ecx, eax
mov eax, dword [eax + 8]
call eax
mov eax, dword [esp + 0x10]
xor ebp, ebp
xor edi, edi
xor edx, edx
mov dword [esp + 0x18], edx
cmp dword [esp + 0x2c], 0
lea ecx, [ebp + 0xc]
mov dword [esp + 0x28], 0
jbe 0x1006af10
lea ebx, [eax + 0x10]
nop dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
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]
mov edi, dword [esp + 0x20]
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 + 0x14], edi
xor edi, edi
mov dword [esp + 0x48], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x34], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], ecx
test ecx, ecx
je 0x1006ada3
push edi
push edi
mov edx, eax
mov ecx, esi
call dword [esp + 0x44]
mov edx, dword [esp + 0x18]
neg eax
sbb edi, edi
mov eax, dword [esp + 0x4c]
and edi, 0x55
jmp 0x1006adac
cmp eax, dword [esi + 4]
ja 0x1006af09
test edi, edi
jne 0x1006aecd
mov dword [esi + 8], eax
mov ecx, esi
mov edx, dword [ebx - 8]
call fcn.1004d0b0
mov edi, eax
test edi, edi
jne 0x1006aeb3
mov eax, dword [ebx - 4]
cmp dword [ebx - 8], eax
jne 0x1006ae84
push eax
mov eax, dword [ebx + 4]
push dword [esi + 0x20]
add eax, ebp
push eax
call fcn.101a3550
add esp, 0xc
cmp dword [esi + 0x14], edi
je 0x1006ae04
mov edx, dword [esi]
mov eax, dword [esi + 0x1c]
test edx, edx
je 0x1006adfe
mov ecx, eax
mov eax, dword [eax + 8]
call eax
mov dword [esi], 0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov eax, dword [ebx - 4]
add eax, dword [ebx + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
test al, 3
je 0x1006ae61
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov byte [eax + ebp], 0
inc eax
test al, 3
jne 0x1006ae58
mov eax, dword [esp + 0x28]
add ebx, 0x18
inc eax
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x2c]
jge 0x1006af10
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x10]
jmp 0x1006ace0
mov edi, 7
cmp dword [esi + 0x14], 0
je 0x1006aea5
mov edx, dword [esi]
mov eax, dword [esi + 0x1c]
test edx, edx
je 0x1006ae9f
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 eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x1006aef1
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x30]
test edx, edx
je 0x1006af98
mov eax, dword [ebp + 8]
mov ecx, ebp
call eax
jmp 0x1006af98
mov edi, 0x55
jmp 0x1006aee9
mov ecx, dword [esp + 0x40]
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 + 0x44]
mov dword [ecx + 0x18], 0x1006a680
mov esi, dword [eax + 0x68]
mov ebp, dword [eax + 8]
test esi, esi
je 0x1006af73
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 0x1c]
test eax, eax
je 0x1006af62
mov ecx, esi
call eax
test ebp, 0x400
jne 0x1006af73
mov eax, dword [ebx + 8]
mov edx, esi
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
and dword [ecx + 8], 0xfffffbff
mov dword [ecx + 0x68], eax
jmp 0x1006aee9
mov edi, 6
jmp 0x1006aeed
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1006afa9
mov edx, eax
mov ecx, ebp
mov eax, dword [ebp + 8]
call eax
test edi, edi
je 0x1006afe0
mov ebp, dword [esp + 0x20]
test ebx, ebx
je 0x1006afc4
mov edx, ebx
mov ebx, dword [esp + 0x30]
mov ecx, ebx
mov eax, dword [ebx + 8]
call eax
jmp 0x1006afc8
mov ebx, dword [esp + 0x30]
test ebp, ebp
je 0x1006afe0
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x1006afd7
mov ecx, ebp
call eax
mov esi, dword [ebx + 8]
mov edx, ebp
mov ecx, ebx
call esi
mov ecx, dword [esp + 0x7c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a1d25
add esp, 0x70
ret