Function at 0x1006a900
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
sub esp, 0x2ac
push ebp
xor ebp, ebp
mov dword [eax], ebp
mov eax, dword [esp + 0x2b4]
lea edx, [esp + 0x30]
push edx
push eax
mov dword [ecx], ebp
call fcn.100a7180
add esp, 8
test eax, eax
je 0x1006a93b
mov eax, 1
pop ebp
add esp, 0x2ac
ret
lea ecx, [esp + 0x118]
push ecx
call fcn.10039870
add esp, 4
test eax, eax
jne 0x1006a92e
mov eax, dword [esp + 0x2b8]
cmp eax, dword [esp + 0x30]
push ebx
mov ebx, dword [esp + 0x2c4]
push esi
mov ecx, eax
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x34], ecx
jge 0x1006afd2
mov eax, dword [esp + 0x2c0]
lea edx, [esp + 0x44]
push edx
push ecx
push eax
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x1006ac44
lea ecx, [esp + 0x254]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x1f8]
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0xd0]
push eax
push ecx
call fcn.100590f0
add esp, 0x1c
test eax, eax
jne 0x1006ac44
cmp dword [esp + 0x58], 1
jg 0x1006afd2
cmp dword [esp + 0x4c], 1
jg 0x1006afd2
mov edi, dword [esp + 0xbc]
lea edx, [esp + 0x30]
push edx
push edi
call fcn.10045be0
add esp, 8
test eax, eax
jne 0x1006ac44
mov eax, dword [esp + 0x30]
cmp eax, 2
je 0x1006aa20
cmp eax, 3
je 0x1006aa20
cmp eax, 0xd
je 0x1006aa20
cmp eax, 0xe
jne 0x1006afd2
mov esi, dword [esp + 0x118]
lea eax, [esp + 0x54]
push eax
push esi
call fcn.10045be0
add esp, 8
test eax, eax
jne 0x1006ac44
mov eax, dword [esp + 0x54]
cmp eax, 2
je 0x1006aa59
cmp eax, 3
je 0x1006aa59
cmp eax, 0xd
je 0x1006aa59
cmp eax, 0xe
jne 0x1006afd2
mov ecx, dword [esp + 0x30]
cmp ecx, eax
je 0x1006aa73
cmp ecx, 0xe
je 0x1006afd2
cmp eax, 0xe
je 0x1006afd2
cmp ecx, 0xd
je 0x1006aa87
cmp ecx, 0xe
je 0x1006aa87
cmp eax, 0xd
je 0x1006aa87
cmp eax, 0xe
jne 0x1006aa94
mov edx, dword [esp + 0x2d0]
mov dword [edx], 1
cmp ecx, 0xe
je 0x1006ac54
lea eax, [esp + 0xc8]
push eax
push edi
call fcn.10017160
add esp, 8
test eax, eax
jne 0x1006ac44
lea ecx, [esp + 0xc8]
push ecx
mov edx, ecx
push edx
lea eax, [esp + 0x1f4]
push eax
call fcn.100c4740
add esp, 0xc
test eax, eax
jne 0x1006ac44
lea ecx, [esp + 0x74]
push ecx
push esi
call fcn.10017160
add esp, 8
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0x74]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0x25c]
push ecx
call fcn.100c4740
add esp, 0xc
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xd0]
push ecx
call fcn.10076850
add esp, 0xc
test eax, eax
jne 0x1006ac44
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006afd2
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1006ab5f
mov ecx, 0xc
lea esi, [esp + 0x74]
mov edi, ebx
mov dword [esp + 0x24], 1
rep movsd dword es:[edi], dword [esi]
jmp 0x1006abee
test ebp, ebp
jne 0x1006abcb
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x78]
push eax
push ebx
call fcn.10076850
add esp, 0xc
test eax, eax
jne 0x1006ac44
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x1006abee
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x78]
push edx
push ebx
call fcn.10076950
add esp, 0xc
test eax, eax
jne 0x1006ac44
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1006afd2
mov eax, dword [esp + 0x2c8]
mov ebp, 1
lea edi, [ebx + 0x30]
mov ecx, 0xc
lea esi, [esp + 0x74]
mov dword [eax], ebp
rep movsd dword es:[edi], dword [esi]
jmp 0x1006abee
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x78]
push edx
push ebx
call fcn.10076950
add esp, 0xc
test eax, eax
jne 0x1006ac44
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1006afd2
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x78]
push ecx
call fcn.10076780
add esp, 8
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.100cfb40
add esp, 8
test eax, eax
jne 0x1006ac44
push 1
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x130]
push eax
call fcn.10039360
add esp, 0x10
test eax, eax
je 0x1006afb4
pop edi
pop esi
pop ebx
mov eax, 1
pop ebp
add esp, 0x2ac
ret
lea ecx, [esp + 0x144]
push ecx
call fcn.100767e0
add esp, 4
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0x18c]
push edx
call fcn.100767e0
add esp, 4
test eax, eax
jne 0x1006ac44
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
call fcn.10045ab0
add esp, 0xc
test eax, eax
jne 0x1006ac44
mov ecx, dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x1006ae0a
lea edx, [esp + 0x48]
push edx
push eax
mov eax, dword [esp + 0x48]
push eax
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x1006ac44
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x74]
push ecx
push edx
call fcn.10017160
add esp, 8
test eax, eax
jne 0x1006ac44
lea eax, [esp + 0x74]
push eax
mov ecx, eax
push ecx
lea edx, [esp + 0x25c]
push edx
call fcn.100c4740
add esp, 0xc
test eax, eax
jne 0x1006ac44
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1006ad05
lea edi, [esp + 0x144]
jmp 0x1006ad11
cmp eax, 1
jne 0x1006ad1c
lea edi, [esp + 0x18c]
lea esi, [esp + 0x74]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0xbc]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.10045ab0
add esp, 0xc
test eax, eax
jne 0x1006ac44
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov dword [esp + 0x20], eax
jle 0x1006adf5
mov edi, edi
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
push eax
push edx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x1006ac44
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xc8]
push eax
push ecx
call fcn.10017160
add esp, 8
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0xc8]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0x1f4]
push ecx
call fcn.100c4740
add esp, 0xc
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0xd0]
push ecx
call fcn.10076850
add esp, 0xc
test eax, eax
jne 0x1006ac44
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x1006adf5
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea edx, [ecx - 1]
cmp eax, edx
je 0x1006afd2
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x1006ad50
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x1006aca3
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1006ae47
mov eax, dword [esp + 0x2c8]
mov ecx, 0xc
lea esi, [esp + 0x144]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ebp, 1
lea edi, [ebx + 0x30]
mov ecx, 0xc
lea esi, [esp + 0x18c]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x24], ebp
mov dword [eax], ebp
jmp 0x1006aeaa
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x148]
push edx
push ebx
call fcn.10076950
add esp, 0xc
test ebp, ebp
jne 0x1006ae96
test eax, eax
jne 0x1006ac44
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1006afd2
mov eax, dword [esp + 0x2c8]
mov ebp, 1
lea edi, [ebx + 0x30]
mov ecx, 0xc
lea esi, [esp + 0x144]
mov dword [eax], ebp
rep movsd dword es:[edi], dword [esi]
jmp 0x1006aeaa
test eax, eax
jne 0x1006ac44
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1006afd2
mov edx, dword [esp + 0xbc]
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.10045ab0
add esp, 0xc
test eax, eax
jne 0x1006ac44
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov dword [esp + 0x10], eax
jle 0x1006afb4
lea esp, [esp]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
push eax
push edx
call fcn.100a7160
add esp, 0xc
test eax, eax
jne 0x1006ac44
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xc8]
push eax
push ecx
call fcn.10017160
add esp, 8
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0xc8]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0x1f4]
push ecx
call fcn.100c4740
add esp, 0xc
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0xcc]
push eax
call fcn.10076780
add esp, 8
test eax, eax
jne 0x1006ac44
lea ecx, [esp + 0xc8]
push ecx
lea edx, [esp + 0xa8]
push edx
call fcn.100cfb40
add esp, 8
test eax, eax
jne 0x1006ac44
push 1
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x130]
push edx
call fcn.10039360
add esp, 0x10
test eax, eax
jne 0x1006ac44
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x1006aee0
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x2d4]
mov dword [eax], ecx
mov eax, dword [esp + 0x3c]
inc ecx
cmp ecx, eax
mov dword [esp + 0x34], ecx
jl 0x1006a974
mov ecx, dword [esp + 0x2c8]
cmp dword [ecx], 0
je 0x1006b14d
lea edx, [esp + 0xf8]
push edx
call fcn.10039870
add esp, 4
test eax, eax
jne 0x1006ac44
lea eax, [esp + 0x5c]
push eax
push ebx
call fcn.10076780
add esp, 8
test eax, eax
jne 0x1006ac44
lea ecx, [esp + 0xa4]
push ebx
push ecx
call fcn.100cfb40
add esp, 8
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c4]
push ecx
call fcn.10094d90
add esp, 0xc
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0xf8]
push edx
lea eax, [esp + 0x1c0]
push eax
lea ecx, [esp + 0x12c]
push ecx
call fcn.1003aa30
add esp, 0xc
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x100]
push ecx
call fcn.10039580
add esp, 0xc
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0x50]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x64]
push ecx
push edx
lea eax, [esp + 0x108]
push eax
call fcn.10039490
add esp, 0x14
test eax, eax
jne 0x1006ac44
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x60]
push edx
push ebx
call fcn.100770c0
add esp, 0xc
test eax, eax
jne 0x1006ac44
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x178]
push ecx
lea edx, [esp + 0x64]
push edx
push eax
lea ecx, [esp + 0x108]
push ecx
call fcn.10039490
add esp, 0x14
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x60]
push eax
add ebx, 0x30
push ebx
call fcn.100770c0
add esp, 0xc
test eax, eax
jne 0x1006ac44
lea ecx, [esp + 0xf8]
push ecx
call fcn.10039450
add esp, 4
test eax, eax
jne 0x1006ac44
lea edx, [esp + 0x124]
push edx
call fcn.10039450
add esp, 4
pop edi
neg eax
pop esi
sbb eax, eax
pop ebx
neg eax
pop ebp
add esp, 0x2ac
ret