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

Disassembly:
push 0xffffffffffffffff
push 0x1006c560
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x1008c288]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1008c288]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x80]
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x88]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
call fcn.100015d0
push eax
mov dword [esp + 0x68], 0
call fcn.10007180
mov edi, dword [esp + 0x30]
add esp, 4
test edi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x64], 0xffffffff
je 0x10008502
push 0
lea ecx, [esp + 0x18]
call fcn.10029ea3
mov eax, dword [edi + 4]
test eax, eax
jbe 0x100084e0
cmp eax, 0xffffffff
jae 0x100084e0
add eax, 0xffffffff
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x14]
and esi, edi
call fcn.10029ec4
test esi, esi
je 0x10008502
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x3c]
push eax
call fcn.1001e050
mov al, byte [ebx]
cmp al, 0x2b
mov ecx, 1
mov dword [esp + 0x64], ecx
je 0x10008546
cmp al, 0x2d
je 0x10008546
cmp al, 0x30
jne 0x1000853c
mov al, byte [ebx + 1]
cmp al, 0x78
je 0x10008532
cmp al, 0x58
jne 0x1000853c
mov dword [esp + 0x14], 2
jmp 0x1000854a
mov dword [esp + 0x14], 0
jmp 0x1000854a
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x54]
cmp ecx, 0x10
mov edx, dword [esp + 0x40]
mov eax, edx
jae 0x1000855d
lea eax, [esp + 0x40]
cmp byte [eax], 0x7f
je 0x10008609
cmp ecx, 0x10
mov eax, edx
jae 0x10008571
lea eax, [esp + 0x40]
cmp byte [eax], 0
jle 0x10008609
cmp ecx, 0x10
jb 0x10008585
mov dword [esp + 0x18], edx
jmp 0x1000858d
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x18]
mov al, byte [edx]
cmp al, 0x7f
mov edi, dword [esp + 0x8c]
mov esi, edi
je 0x100085f6
jmp 0x100085a6
mov ebp, dword [esp + 0x24]
test al, al
jle 0x100085f6
mov ecx, esi
sub ecx, dword [esp + 0x14]
movsx eax, al
cmp eax, ecx
jae 0x100085f6
sub esi, eax
mov edx, edi
sub edx, esi
lea eax, [edx + 1]
push eax
lea ebp, [ebx + esi]
push ebp
push eax
lea eax, [ebx + esi + 1]
push eax
call dword [sym.imp.MSVCR80.dll_memmove_s]
mov eax, dword [esp + 0x28]
add esp, 0x10
mov byte [ebp], 0
add edi, 1
cmp byte [eax + 1], 0
jle 0x100085ec
add eax, 1
mov dword [esp + 0x18], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x100085a2
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx + 0x18]
test esi, esi
jle 0x10008612
cmp esi, edi
jbe 0x10008612
sub esi, edi
jmp 0x10008614
mov edi, dword [esp + 0x8c]
jmp 0x100085f6
xor esi, esi
mov edx, ecx
mov eax, dword [edx + 0x10]
and eax, 0x1c0
cmp eax, 0x40
je 0x10008703
cmp eax, 0x100
je 0x10008680
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
push esi
push eax
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], edx
lea edx, [esp + 0x44]
push edx
push ebp
mov dword [eax + 8], ecx
call fcn.100056b0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
jmp 0x100086fe
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x7c]
push ebx
sub esp, 0xc
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x44]
push eax
push ebp
call fcn.10005730
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
add esp, 0x1c
add ebx, ecx
sub edi, ecx
mov ecx, dword [esp + 0x84]
push esi
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x44]
push ecx
push ebp
call fcn.100056b0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x90], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], edx
add esp, 0x1c
xor esi, esi
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
movzx eax, ax
push eax
push edi
push ebx
sub esp, 0xc
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 4], edx
lea edx, [esp + 0x48]
push edx
push ebp
mov dword [eax + 8], ecx
call fcn.10005800
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x3c]
add esp, 0x20
push esi
mov esi, dword [esp + 0x2c]
mov dword [ecx + 0x18], 0
mov ecx, dword [esp + 0x88]
push ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
push esi
mov dword [ecx + 4], edi
push ebp
mov dword [ecx + 8], eax
call fcn.100056b0
add esp, 0x1c
cmp dword [esp + 0x54], 0x10
jb 0x10008789
mov edx, dword [esp + 0x40]
push edx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.10028d90
add esp, 0x54
ret