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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
mov ecx, dword [ebp + 0x14]
push 0xffffffffffffffff
push 0x100450cf
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
xor esi, esi
mov ebx, ecx
inc esi
and ebx, 7
push edi
je 0x10008ef6
test cl, 2
je 0x10008eee
test cl, 4
je 0x10008eea
push 0x67
pop eax
mov ecx, 0x100490d8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa70
lea eax, [esp + 0x10]
push eax
call fcn.10035946
push 2
jmp 0x10008ef5
test cl, 4
je 0x10008f0d
push 4
pop esi
test cx, 0x800
je 0x10008f28
mov dword [ebp + 0x1c], 0x100489a0
mov dword [ebp + 0x20], 0x1004843b
jmp 0x10008f5d
push 0x67
pop eax
mov ecx, 0x1004910c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa70
lea eax, [esp + 0x10]
jmp 0x10008ee4
mov eax, dword [ebp + 0x1c]
cmp byte [eax], 0
jne 0x10008f37
mov dword [ebp + 0x1c], 0x10049138
mov eax, dword [ebp + 0x20]
cmp byte [eax], 0
jne 0x10008f5d
test cl, 0x40
mov dword [ebp + 0x20], 0x100489a0
jne 0x10008f52
mov dword [ebp + 0x20], 0x1004913c
test cl, cl
jns 0x10008f5d
mov dword [ebp + 0x20], 0x10049140
mov dword [esp + 0x14], ecx
and dword [esp + 0x14], 0x200
je 0x10008fbc
test cx, 0x110
je 0x10008f90
push 0x67
pop eax
mov ecx, 0x10049144
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa70
lea eax, [esp + 0x10]
jmp 0x10008ee4
lea eax, [esi - 1]
mov esi, dword [ebp + 0x18]
test esi, eax
je 0x1000904d
push 0x67
pop eax
mov ecx, 0x10049174
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa70
lea eax, [esp + 0x10]
jmp 0x10008ee4
test cl, 0x20
je 0x10008fec
test cx, 0x110
je 0x10008fe6
push 0x67
pop eax
mov ecx, 0x100491ac
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa70
lea eax, [esp + 0x10]
jmp 0x10008ee4
and dword [ebp + 0x18], 0
jmp 0x1000904a
test cl, 0x10
je 0x10009016
test cx, 0x100
je 0x10008fe6
push 0x67
pop eax
mov ecx, 0x100491d8
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa70
lea eax, [esp + 0x10]
jmp 0x10008ee4
cmp dword [ebp + 0x18], 0
jne 0x10009024
mov eax, esi
shl eax, 0xb
mov dword [ebp + 0x18], eax
test cx, 0x100
je 0x1000904a
push 0x10049214
push dword [ebp + 8]
mov ecx, 0x10049208
call fcn.100049cf
test al, al
jne 0x1000904a
imul esi, esi, 0x2710
add dword [ebp + 0x18], esi
mov esi, dword [ebp + 0x18]
push 0xf
pop edi
push 0
lea ecx, [esp + 0x5c]
mov dword [esp + 0x74], edi
call fcn.10002a1c
push dword [ebp + 0x24]
and dword [esp + 0xa0], 0
test byte [ebp + 0x14], 0x80
push dword [ebp + 0x20]
lea eax, [esp + 0x60]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
je 0x10009088
call fcn.10008b89
jmp 0x1000908d
call fcn.10008108
add esp, 0x18
test ebx, ebx
jne 0x10009151
cmp dword [esp + 0x14], ebx
je 0x100090ce
mov eax, dword [0x10059558]
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x6c]
cmp eax, esi
jbe 0x100090cc
push 0x6b
pop eax
mov ecx, 0x10049234
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa70
lea eax, [esp + 0x10]
jmp 0x10008ee4
sub esi, eax
push dword [ebp + 0x1c]
call fcn.10031410
cmp esi, eax
pop ecx
mov dword [esp + 0x14], eax
jae 0x100090f0
mov edi, dword [0x10059558]
push 0x20
mov ebx, esi
call fcn.10002929
jmp 0x10009139
sub esi, eax
jmp 0x10009115
push 0x64
pop ebx
call fcn.10002929
push dword [ebp + 0x1c]
push dword [0x10059558]
call fcn.1000240e
mov eax, dword [esp + 0x14]
push 0xffffffffffffff9c
pop ecx
sub ecx, eax
add esi, ecx
mov edi, dword [0x10059558]
add eax, 0x64
cmp esi, eax
push 0x20
jae 0x100090f4
mov ebx, esi
call fcn.10002929
push dword [ebp + 0x1c]
push dword [0x10059558]
call fcn.1000240e
mov esi, dword [0x10059558]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x60]
call fcn.10002d86
jmp 0x100095a2
push 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
call fcn.10002a1c
push 0
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], edi
call fcn.10002a1c
mov al, bl
not al
and al, 1
test bl, 2
mov byte [esp + 0x9c], 2
mov byte [esp + 0x1c], al
lea ecx, [esp + 0x3c]
je 0x1000936f
push 0x10049140
call fcn.100023e2
xor edi, edi
lea eax, [esp + 0x3c]
mov byte [esp + 0x9c], 3
call fcn.100095e6
mov edi, dword [0x10059558]
mov byte [eax], 0
mov eax, edi
lea ecx, [esp + 0x20]
call fcn.1000962b
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x100091d1
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
mov ecx, edi
call fcn.100188a7
pop ecx
pop ecx
lea eax, [esp + 0x58]
lea ecx, [esp + 0x20]
call fcn.1000962b
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x100091ff
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x60]
call fcn.100188a7
xor edi, edi
cmp dword [esp + 0x1c], edi
pop ecx
pop ecx
je 0x1000924b
mov eax, dword [0x10059558]
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x6c]
cmp eax, esi
jbe 0x10009249
push 0x6b
pop eax
mov ecx, 0x10049234
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
push 0x1004fa70
lea eax, [esp + 0x10]
jmp 0x10008ee4
sub esi, eax
push dword [ebp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.100029ff
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x10009266
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x7c]
call fcn.100188a7
mov eax, dword [esp + 0x90]
pop ecx
or ebx, 0xffffffff
cmp esi, eax
pop ecx
mov dword [esp + 0x1c], eax
jae 0x100092ba
shr esi, 1
cmp esi, edi
mov dword [esp + 0x14], esi
jle 0x1000934d
mov esi, dword [0x10059558]
push ebx
push edi
lea eax, [esp + 0x44]
call fcn.10002d86
dec dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jg 0x1000929a
jmp 0x1000934d
sub esi, eax
add eax, 0xc8
cmp esi, eax
mov dword [ebp + 0x18], esi
mov dword [esp + 0xc], eax
jb 0x10009317
mov dword [esp + 0x14], 0x64
mov esi, dword [0x10059558]
push ebx
push edi
lea eax, [esp + 0x44]
call fcn.10002d86
dec dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jg 0x100092d4
mov esi, dword [0x10059558]
push ebx
push edi
lea eax, [esp + 0x7c]
call fcn.10002d86
mov eax, 0xffffff38
sub eax, dword [esp + 0x1c]
add dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x18]
cmp eax, dword [esp + 0xc]
jae 0x100092cc
mov esi, eax
shr esi, 1
cmp esi, edi
mov dword [esp + 0x14], esi
jle 0x1000933c
mov esi, dword [0x10059558]
push ebx
push edi
lea eax, [esp + 0x44]
call fcn.10002d86
dec dword [esp + 0x14]
cmp dword [esp + 0x14], edi
jg 0x10009321
mov esi, dword [0x10059558]
push ebx
push edi
lea eax, [esp + 0x7c]
call fcn.10002d86
mov esi, dword [0x10059558]
push ebx
push edi
lea eax, [esp + 0x60]
call fcn.10002d86
push edi
push 1
lea ecx, [esp + 0x44]
call fcn.10002a38
jmp 0x1000958a
push 0x1004925c
call fcn.100023e2
push 2
pop edi
lea eax, [esp + 0x3c]
mov byte [esp + 0x9c], 4
call fcn.100095e6
mov byte [eax], 0
xor edi, edi
inc edi
lea eax, [esp + 0x3c]
call fcn.100095e6
mov byte [eax], 0
xor edi, edi
lea eax, [esp + 0x3c]
call fcn.100095e6
test bl, 1
mov byte [eax], 0
je 0x100093eb
lea eax, [esp + 0x3c]
call fcn.100095e6
push 3
mov byte [eax], 0x20
pop edi
lea eax, [esp + 0x3c]
call fcn.100095e6
push 2
mov byte [eax], 0
pop edi
lea eax, [esp + 0x3c]
call fcn.100095e6
xor edi, edi
mov byte [eax], 0
inc edi
lea eax, [esp + 0x3c]
call fcn.100095e6
mov byte [eax], 0
mov edi, dword [0x10059558]
mov eax, edi
lea ecx, [esp + 0x20]
call fcn.1000962b
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x1000940b
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
mov ecx, edi
call fcn.10018945
pop ecx
pop ecx
lea eax, [esp + 0x58]
lea ecx, [esp + 0x20]
call fcn.1000962b
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x10009439
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x60]
call fcn.10018945
cmp dword [esp + 0x1c], 0
pop ecx
pop ecx
je 0x10009484
mov eax, dword [0x10059558]
mov eax, dword [eax + 0x14]
add eax, dword [esp + 0x6c]
cmp eax, esi
jbe 0x10009482
push 0x6b
pop eax
mov ecx, 0x10049234
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
push 0x1004fa70
lea eax, [esp + 0x18]
jmp 0x10008ee4
sub esi, eax
push dword [ebp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.100029ff
cmp dword [esp + 0x38], 0x10
mov eax, dword [esp + 0x24]
jae 0x1000949f
lea eax, [esp + 0x24]
push dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x7c]
call fcn.10018945
mov eax, dword [esp + 0x90]
pop ecx
or ebx, 0xffffffff
cmp esi, eax
pop ecx
mov dword [esp + 0xc], eax
jae 0x100094e8
shr esi, 2
mov edi, esi
jmp 0x100094df
mov esi, dword [0x10059558]
push ebx
push 0
lea eax, [esp + 0x44]
call fcn.10002d86
dec edi
test edi, edi
jg 0x100094cc
jmp 0x10009569
sub esi, eax
lea edi, [eax + 0x190]
cmp esi, edi
mov dword [ebp + 0x18], esi
jb 0x10009542
mov dword [esp + 0x14], 0x64
mov esi, dword [0x10059558]
push ebx
push 0
lea eax, [esp + 0x44]
call fcn.10002d86
dec dword [esp + 0x14]
cmp dword [esp + 0x14], 0
jg 0x100094ff
mov esi, dword [0x10059558]
push ebx
push 0
lea eax, [esp + 0x7c]
call fcn.10002d86
mov eax, 0xfffffe70
sub eax, dword [esp + 0xc]
add dword [ebp + 0x18], eax
cmp dword [ebp + 0x18], edi
jae 0x100094f7
mov esi, dword [ebp + 0x18]
shr esi, 2
mov edi, esi
jmp 0x10009553
lea eax, [esp + 0x44]
call fcn.10002d86
dec edi
test edi, edi
mov esi, dword [0x10059558]
push ebx
push 0
jg 0x10009549
lea eax, [esp + 0x7c]
call fcn.10002d86
mov esi, dword [0x10059558]
push ebx
push 0
lea eax, [esp + 0x60]
call fcn.10002d86
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.10002a38
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x7c]
call fcn.10002a38
push edi
push 1
lea ecx, [esp + 0x28]
call fcn.10002a38
mov eax, dword [0x10059558]
cmp dword [eax + 0x18], 0x10
jb 0x100095b2
mov ecx, dword [eax + 4]
jmp 0x100095b5
lea ecx, [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp + 0x10]
push 0
mov dword [ecx], eax
push 1
lea ecx, [esp + 0x60]
call fcn.10002a38
mov ecx, dword [esp + 0x94]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x20