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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x84
cmp byte [0x1019dd38], 0
push ebx
push esi
push edi
jne 0x1008dd04
mov eax, dword [0x1019294c]
mov byte [0x1019dd38], 1
mov eax, dword [eax + 0x48]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx]
mov ecx, eax
call edx
mov edi, eax
xor edx, edx
xor eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], edx
mov esi, dword [edi + 0x230]
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], eax
test esi, esi
je 0x1008d62b
cmp esi, 0x15555555
ja 0x1008dd0b
push esi
call fcn.100721f0
mov edx, eax
mov dword [esp + 0x18], eax
lea ecx, [esi + esi*2]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
lea eax, [edx + ecx*4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 0x230]
mov ecx, eax
mov esi, dword [edi + 0x220]
shl ecx, 4
sub ecx, eax
lea ebx, [esi + ecx*8]
cmp esi, ebx
je 0x1008d6ac
mov edx, dword [esi + 0x10]
mov eax, edx
mov edi, dword [esi + 0x14]
and eax, 3
or eax, 0
jne 0x1008d691
mov eax, dword [esi + 0x18]
mov ecx, edx
mov dword [esp + 0x30], eax
mov eax, edi
shrd ecx, eax, 0x10
shrd edx, edi, 2
movzx eax, cx
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], eax
and edx, 0x3fff
lea eax, [esp + 0x30]
mov dword [esp + 0x24], edx
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.10090050
add esi, 0x78
cmp esi, ebx
jne 0x1008d645
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], edx
mov ecx, dword [esp + 0x48]
mov eax, 0x2aaaaaab
push dword [esp + 0x40]
mov ebx, dword [esp + 0x1c]
sub ecx, edx
imul ecx
mov ecx, ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x4c]
push eax
mov dword [esp + 0x38], eax
call fcn.10090870
mov ecx, dword [0x1027cdfc]
mov eax, 0x66666667
sub ecx, dword [0x1027cdf4]
mov esi, dword [edi + 0x2a4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x1008d718
cmp esi, 0x3333333
ja 0x1008dd10
push esi
mov ecx, 0x1027cdf4
call fcn.1008fef0
mov ecx, dword [0x1027d188]
mov eax, 0x66666667
sub ecx, dword [0x1027d180]
mov esi, dword [edi + 0x2a4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x1008d756
cmp esi, 0x3333333
ja 0x1008dd10
push esi
mov ecx, 0x1027d180
call fcn.1008fef0
mov ecx, dword [edi + 0x28c]
mov eax, dword [edi + 0x29c]
mov dword [esp + 0x20], ecx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov dword [esp + 0x24], eax
cmp ecx, eax
je 0x1008dbdb
nop dword [eax + eax]
mov ebx, dword [ecx + 0x14]
mov dword [esp + 0x1c], ebx
mov esi, dword [ebx]
test esi, esi
je 0x1008dbc8
cmp esi, 0x2329
je 0x1008dbc8
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
cmp esi, 0x2710
jl 0x1008d958
xor eax, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 7
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x70], xmm0
mov word [esp + 0x50], ax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0xf
mov byte [esp + 0x70], al
test edx, edx
jle 0x1008d811
nop
mov ecx, edx
shr ecx, 1
lea eax, [ecx + ecx*2]
cmp dword [edi + eax*4], esi
lea eax, [edi + eax*4]
jge 0x1008d80b
lea edi, [eax + 0xc]
or eax, 0xffffffff
sub eax, ecx
add edx, eax
jmp 0x1008d80d
mov edx, ecx
test edx, edx
jg 0x1008d7f0
cmp edi, dword [esp + 0x48]
je 0x1008d89c
cmp dword [edi], esi
jne 0x1008d89c
mov edx, dword [esp + 0x28]
movzx ecx, word [edi + 4]
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
call eax
test eax, eax
je 0x1008d880
mov ecx, dword [0x10192958]
mov esi, dword [ecx + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1008d856
sub edx, esi
lea ecx, [esp + 0x50]
sar edx, 1
push edx
push eax
call fcn.1001c530
push 3
push 0x10177dc4
lea ecx, [esp + 0x58]
call fcn.1001a2d0
mov edx, dword [edi + 8]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008d888
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x78]
call fcn.1001c6a0
mov eax, dword [0x10192958]
mov ecx, dword [ebx + 0x24]
inc ecx
push ecx
mov edx, dword [eax + 0x30]
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x30]
call eax
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1008d8b7
sub edx, esi
lea ecx, [esp + 0x50]
sar edx, 1
push edx
push eax
call fcn.1001a2d0
mov eax, dword [0x1027d184]
lea ecx, [ebx + 0x78]
cmp eax, dword [0x1027d188]
je 0x1008d8ff
push dword [ecx]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x58]
push ecx
push dword [ebx]
mov ecx, eax
call fcn.1008f790
add dword [0x1027d184], 0x50
jmp 0x1008d911
push ecx
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x58]
push ecx
push ebx
push eax
call fcn.10090ab0
mov ecx, dword [esp + 0x84]
cmp ecx, 0x10
jb 0x1008d94a
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d940
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008dd15
push ecx
push edx
call fcn.10117c1f
add esp, 8
lea ecx, [esp + 0x50]
call fcn.10001ed0
jmp 0x1008dbc0
test edx, edx
jle 0x1008d989
nop dword [eax]
mov ecx, edx
shr ecx, 1
lea eax, [ecx + ecx*2]
cmp dword [edi + eax*4], esi
lea eax, [edi + eax*4]
jge 0x1008d97b
lea edi, [eax + 0xc]
or eax, 0xffffffff
sub eax, ecx
add edx, eax
jmp 0x1008d97d
mov edx, ecx
test edx, edx
jg 0x1008d960
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp edi, dword [esp + 0x48]
je 0x1008dbc8
add edi, 8
nop word [eax + eax]
mov eax, dword [edi - 8]
cmp eax, dword [ebx]
jne 0x1008dbc0
mov edx, dword [esp + 0x28]
movzx ecx, word [edi - 4]
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
call eax
mov dword [esp + 0x34], eax
test eax, eax
je 0x1008dbb0
mov ecx, dword [0x10192958]
mov esi, dword [ecx + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
mov edx, eax
mov dword [esp + 0x60], 0
mov ecx, edx
mov dword [esp + 0x64], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008da04
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.10022940
push 3
push 0x10177dc4
lea ecx, [esp + 0x58]
call fcn.1001a2d0
mov eax, dword [0x10192958]
mov ecx, dword [ebx + 0x24]
inc ecx
push ecx
mov edx, dword [eax + 0x30]
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x30]
call eax
mov edx, eax
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1008da50
sub edx, esi
lea ecx, [esp + 0x50]
sar edx, 1
push edx
push eax
call fcn.1001a2d0
mov eax, dword [esp + 0x1c]
xor ebx, ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], 0
cmp dword [eax + 0x78], 7
mov eax, dword [ecx]
sete bl
add ebx, 6
mov dword [esp + 0x3c], ebx
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [esp + 0x1c]
lea esi, [esp + 0x34]
movzx ecx, al
mov eax, dword [edx + 0x78]
dec eax
add ecx, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x34], ecx
cmovns eax, esi
cmp ebx, ecx
mov ebx, dword [0x1027cdf8]
lea esi, [esp + 0x3c]
cmovge esi, eax
cmp ebx, dword [0x1027cdfc]
je 0x1008db62
mov edx, dword [edi]
xorps xmm0, xmm0
mov eax, edx
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [eax + 1]
mov dword [esp + 0x40], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1008daf1
sub eax, dword [esp + 0x40]
lea ecx, [esp + 0x70]
push eax
push edx
call fcn.10022b10
push dword [esi]
lea eax, [esp + 0x74]
mov ecx, ebx
push eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x28]
push dword [eax]
call fcn.1008f790
mov ecx, dword [esp + 0x84]
cmp ecx, 0x10
jb 0x1008db59
mov edx, dword [esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008db4f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008dd15
push ecx
push edx
call fcn.10117c1f
add esp, 8
add dword [0x1027cdf8], 0x50
jmp 0x1008db70
push esi
push edi
lea eax, [esp + 0x58]
push eax
push edx
push ebx
call fcn.10090c00
mov ecx, dword [esp + 0x64]
cmp ecx, 8
jb 0x1008dbac
mov edx, dword [esp + 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008dba2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008dd15
push ecx
push edx
call fcn.10117c1f
add esp, 8
mov ebx, dword [esp + 0x1c]
add edi, 0xc
lea eax, [edi - 8]
cmp eax, dword [esp + 0x48]
jne 0x1008d9a0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add ecx, 0x18
mov dword [esp + 0x20], ecx
cmp ecx, eax
jne 0x1008d780
mov ebx, dword [esp + 0x18]
mov edi, dword [0x1027cdf4]
mov eax, 0x66666667
mov ecx, dword [0x1027cdf8]
add edi, 0x50
sub ecx, edi
mov byte [esp + 0x40], 0
push dword [esp + 0x40]
imul ecx
mov ecx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x1027cdf8]
push eax
call fcn.100916a0
mov edx, dword [0x1027cdf8]
cmp edx, dword [0x1027cdfc]
je 0x1008dc50
mov eax, dword [0x1027cdf4]
mov ecx, 0x1027cdf4
cmp eax, edx
jne 0x1008dc37
call fcn.1008fe70
jmp 0x1008dc50
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.1008fef0
mov esi, dword [0x1027d184]
mov eax, 0x66666667
mov ecx, dword [0x1027d180]
sub esi, ecx
imul esi
mov byte [esp + 0x40], 0
push dword [esp + 0x40]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x1027d184]
push eax
call fcn.100916a0
mov edx, dword [0x1027d184]
cmp edx, dword [0x1027d188]
je 0x1008dcc0
mov eax, dword [0x1027d180]
mov ecx, 0x1027d180
cmp eax, edx
jne 0x1008dca7
call fcn.1008fe70
jmp 0x1008dcc0
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.1008fef0
test ebx, ebx
je 0x1008dd04
mov ecx, dword [esp + 0x2c]
mov eax, 0x2aaaaaab
sub ecx, ebx
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebx
shl ecx, 2
cmp ecx, 0x1000
jb 0x1008dcfa
mov ebx, dword [eax - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008dd15
push ecx
push ebx
call fcn.10117c1f
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1001e810
call fcn.1001e810
call fcn.10124776
int3