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

Disassembly:
sub esp, 0x124
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.100064d0
test eax, eax
je 0x10006ac5
mov ecx, ebp
call fcn.10003930
xor edi, edi
cmp eax, edi
je 0x10006ac5
mov ecx, dword [esp + 0x138]
cmp ecx, edi
jl 0x10006ac5
cmp ecx, eax
jge 0x10006ac5
mov eax, dword [ebp + 0xb2c]
lea esi, [ecx + ecx*4]
lea esi, [esi + esi*4]
shl esi, 1
add eax, esi
mov dword [esp + 0x40], esi
cmp dword [eax + 0x2e], 0xffffffff
je 0x1000686d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x124
ret 4
test dword [eax + 0x26], 0x80000000
jne 0x10006895
mov dword [eax + 0x2e], edi
mov ecx, dword [ebp + 0xb2c]
mov eax, 1
mov dword [esi + ecx + 0x2a], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x124
ret 4
push edi
push 2
mov ecx, ebp
call fcn.10002850
cmp eax, edi
mov dword [esp + 0x3c], eax
jle 0x10006ac5
mov edx, dword [ebp + 0xb2c]
lea ecx, [esp + 0x5c]
push 0x10
push ecx
mov ebx, dword [esi + edx + 0x26]
mov ecx, dword [ebp + 0xc]
and ebx, 0x7fffffff
mov dword [esp + 0x1c], edi
add ebx, eax
xor eax, eax
mov dword [esp + 0x64], eax
push ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
call fcn.10024490
cmp eax, 0x10
jne 0x10006ac5
mov edi, dword [esp + 0x6a]
mov edx, dword [esp + 0x68]
and edi, 0xffff
and edx, 0xffff
add edi, edx
xor eax, eax
cmp edi, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], eax
jle 0x10006a28
lea eax, [ebx + 0x10]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
xor eax, eax
lea ecx, [esp + 0x24]
push 8
mov dword [esp + 0x28], eax
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov dword [esp + 0x34], eax
call fcn.10024490
cmp eax, 8
jne 0x10006ac5
mov eax, dword [esp + 0x28]
test eax, 0x80000000
je 0x10006a02
mov ecx, dword [esp + 0x3c]
and eax, 0x7fffffff
add eax, ecx
xor ecx, ecx
mov dword [esp + 0x48], ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x4c], ecx
push 0x10
mov dword [esp + 0x54], ecx
push edx
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [esp + 0x44], eax
call fcn.10024490
cmp eax, 0x10
jne 0x10006ac5
mov esi, dword [esp + 0x56]
mov eax, dword [esp + 0x54]
and esi, 0xffff
and eax, 0xffff
add esi, eax
xor edi, edi
test esi, esi
jle 0x100069fa
mov ecx, dword [esp + 0x38]
lea ebx, [ecx + 0x10]
mov ecx, dword [ebp + 0xc]
xor edx, edx
lea eax, [esp + 0x1c]
push 8
mov dword [esp + 0x20], edx
push eax
push ebx
mov dword [esp + 0x2c], edx
call fcn.10024490
cmp eax, 8
jne 0x10006ac5
mov ecx, dword [esp + 0x20]
and ecx, 0x80000000
cmp ecx, 0x80000000
je 0x100069ee
inc dword [esp + 0x14]
inc edi
add ebx, 8
cmp edi, esi
jl 0x100069b5
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
inc eax
add edx, 8
cmp eax, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], edx
jl 0x10006923
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x10006a4e
xor eax, eax
mov edx, dword [ebp + 0xb2c]
pop edi
mov dword [esi + edx + 0x2e], eax
mov ecx, dword [ebp + 0xb2c]
mov dword [esi + ecx + 0x2a], eax
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x124
ret 4
mov eax, ecx
push 0
shl eax, 4
add eax, ecx
push 0
push 0
push 0
lea esi, [eax + eax*2]
mov dword [esp + 0x48], ecx
shl esi, 1
push esi
call sub.platform.dll_Ordinal_24
mov edi, eax
add esp, 0x14
test edi, edi
mov dword [esp + 0x10], edi
je 0x10006ac5
mov ecx, esi
xor eax, eax
mov edx, ecx
push 0x10
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor eax, eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], eax
xor edi, edi
mov dword [esp + 0x64], eax
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x6c], eax
push ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x74], eax
call fcn.10024490
cmp eax, 0x10
je 0x10006ad4
mov edx, dword [esp + 0x10]
push edx
call sub.platform.dll_Ordinal_27
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x124
ret 4
mov esi, dword [esp + 0x6a]
mov eax, dword [esp + 0x68]
and esi, 0xffff
and eax, 0xffff
add esi, eax
mov dword [esp + 0x18], edi
cmp esi, edi
mov dword [esp + 0x30], esi
jle 0x10006e27
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x24]
xor edx, edx
push 8
push eax
mov dword [esp + 0x2c], edx
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x34], edx
call fcn.10024490
cmp eax, 8
jne 0x10006ab8
mov eax, dword [esp + 0x28]
test eax, 0x80000000
je 0x10006e0b
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], edi
mov edx, ecx
and edx, 0x80000000
cmp edx, 0x80000000
jne 0x10006b7f
mov edi, dword [esp + 0x3c]
and ecx, 0x7fffffff
lea eax, [esp + 0xf4]
push 0x1e
add ecx, edi
push eax
push ecx
mov ecx, ebp
call fcn.100063e0
test eax, eax
je 0x10006e33
mov eax, dword [esp + 0x28]
mov dword [esp + 0x74], 1
jmp 0x10006b83
mov edi, dword [esp + 0x3c]
xor ecx, ecx
and eax, 0x7fffffff
mov dword [esp + 0x48], ecx
add eax, edi
mov dword [esp + 0x4c], ecx
lea edx, [esp + 0x48]
mov dword [esp + 0x50], ecx
mov esi, eax
push 0x10
mov dword [esp + 0x58], ecx
mov ecx, dword [ebp + 0xc]
push edx
push esi
call fcn.10024490
cmp eax, 0x10
jne 0x10006e3d
mov ebx, dword [esp + 0x56]
mov eax, dword [esp + 0x54]
and ebx, 0xffff
and eax, 0xffff
add ebx, eax
mov dword [esp + 0x34], 0
test ebx, ebx
mov dword [esp + 0x88], ebx
jle 0x10006e05
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, ecx
shl eax, 4
add eax, ecx
add esi, 0x10
mov dword [esp + 0x2c], esi
lea ecx, [eax + eax*2]
lea eax, [edx + ecx*2]
mov dword [esp + 0x70], eax
xor ecx, ecx
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
push 8
mov dword [esp + 0x24], ecx
mov ecx, dword [ebp + 0xc]
push edx
push esi
call fcn.10024490
cmp eax, 8
jne 0x10006ab8
mov eax, dword [esp + 0x20]
mov ecx, eax
and ecx, 0x80000000
cmp ecx, 0x80000000
je 0x10006de9
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
mov edx, ecx
and edx, 0x80000000
cmp edx, 0x80000000
jne 0x10006c7f
and ecx, 0x7fffffff
lea eax, [esp + 0x114]
push 0x1e
add ecx, edi
push eax
push ecx
mov ecx, ebp
call fcn.100063e0
test eax, eax
je 0x10006e33
mov eax, dword [esp + 0x20]
mov ebx, 1
xor ecx, ecx
and eax, 0x7fffffff
mov dword [esp + 0x78], ecx
lea edx, [esp + 0x78]
mov dword [esp + 0x7c], ecx
add eax, edi
mov dword [esp + 0x80], ecx
push 0x10
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0xc]
push edx
push eax
call fcn.10024490
cmp eax, 0x10
jne 0x10006e3d
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x8c]
mov edx, dword [esp + 0x80]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x74]
test eax, eax
mov byte [esp + 0xe1], 0
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], edx
jne 0x10006d26
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x90], 0
and ecx, 0xffff
mov dword [esp + 0x8c], ecx
jmp 0x10006d58
or ecx, 0xffffffff
lea edi, [esp + 0xf4]
xor eax, eax
mov dword [esp + 0x8c], ecx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x90]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebx, ebx
jne 0x10006d76
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xb2], bl
and ecx, 0xffff
mov dword [esp + 0xae], ecx
jmp 0x10006da8
or ecx, 0xffffffff
lea edi, [esp + 0x114]
xor eax, eax
mov dword [esp + 0xae], ecx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xb2]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jg 0x10006ab8
mov eax, dword [esp + 0x70]
mov ecx, 0x19
lea esi, [esp + 0x8c]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x88]
inc edx
add eax, 0x66
movsw word es:[edi], word [esi]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
inc eax
add esi, 8
cmp eax, ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], esi
jl 0x10006c03
mov esi, dword [esp + 0x30]
xor edi, edi
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x44]
inc eax
add edx, 8
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], edx
jl 0x10006b01
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x10006e47
mov eax, dword [esp + 0x10]
push eax
jmp 0x10006abd
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x10006abd
mov edx, dword [ebp + 0xb2c]
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x10]
pop edi
mov dword [eax + edx + 0x2a], esi
mov edx, dword [ebp + 0xb2c]
pop esi
pop ebp
mov dword [eax + edx + 0x2e], ecx
mov eax, 1
pop ebx
add esp, 0x124
ret 4