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

Disassembly:
sub esp, 0x64
cmp byte [0x1034e4f4], 0
push ebx
push ebp
push esi
push edi
jne 0x1008c712
mov eax, dword [0x10189814]
mov byte [0x1034e4f4], 1
mov eax, dword [eax + 0x48]
call eax
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx]
call eax
mov esi, eax
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x24], esi
xor edx, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x40], eax
mov edi, dword [esi + 0x230]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], edx
test edi, edi
je 0x1008c0d7
cmp edi, 0x15555555
ja 0x1008c71a
push edi
call fcn.1006d880
push edi
push ebx
push eax
lea ecx, [esp + 0x4c]
call fcn.1006d800
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov edi, dword [esi + 0x230]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov esi, dword [esi + 0x220]
mov eax, edi
shl eax, 4
sub eax, edi
lea ebp, [esi + eax*8]
cmp esi, ebp
je 0x1008c184
nop
mov ecx, dword [esi + 0x10]
mov eax, ecx
mov edi, dword [esi + 0x14]
and eax, 3
or eax, 0
jne 0x1008c16f
mov ebx, dword [esi + 0x18]
mov edx, ecx
mov eax, edi
mov dword [esp + 0x30], ebx
shrd edx, eax, 0x10
shrd ecx, edi, 2
movzx eax, dx
mov dword [esp + 0x2c], eax
and ecx, 0x3fff
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
cmp eax, dword [esp + 0x20]
je 0x1008c146
mov dword [eax], ecx
mov word [eax + 4], dx
mov dword [eax + 8], ebx
add eax, 0xc
mov dword [esp + 0x14], eax
mov ebx, eax
mov dword [esp + 0x44], eax
jmp 0x1008c16f
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x30]
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.1008ed80
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ebx
add esi, 0x78
cmp esi, ebp
jne 0x1008c0f0
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x18], ebp
jmp 0x1008c188
mov ebp, dword [esp + 0x18]
push dword [esp + 0x3c]
mov ecx, ebx
mov eax, 0x2aaaaaab
sub ecx, ebp
imul ecx
mov ecx, ebp
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ebx
push eax
mov dword [esp + 0x38], eax
call fcn.1008fd70
mov ecx, dword [0x102715d4]
mov eax, 0x66666667
sub ecx, dword [0x102715cc]
mov edi, dword [esp + 0x24]
imul ecx
mov esi, dword [edi + 0x2a4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x1008c1f6
cmp esi, 0x3333333
ja 0x1008c71f
push esi
mov ecx, 0x102715cc
call fcn.1008ec20
mov esi, dword [edi + 0x2a4]
mov ecx, dword [0x10351dfc]
mov eax, 0x66666667
sub ecx, dword [0x10351df4]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jbe 0x1008c22e
cmp esi, 0x3333333
ja 0x1008c71f
push esi
mov ecx, 0x10351df4
call fcn.1008ec20
mov ecx, dword [edi + 0x28c]
mov eax, dword [edi + 0x29c]
mov dword [esp + 0x1c], ecx
lea eax, [eax + eax*2]
lea eax, [ecx + eax*8]
mov dword [esp + 0x2c], eax
cmp ecx, eax
je 0x1008c5e9
mov ebp, dword [ecx + 0x14]
mov dword [esp + 0x28], ebp
mov esi, dword [ebp]
test esi, esi
je 0x1008c5d6
cmp esi, 0x2329
je 0x1008c5d6
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
cmp esi, 0x2710
jl 0x1008c420
mov dword [esp + 0x40], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 7
mov dword [esp + 0x58], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0xf
test edx, edx
jle 0x1008c2d7
mov ecx, edx
shr ecx, 1
lea eax, [ecx + ecx*2]
cmp dword [edi + eax*4], esi
lea eax, [edi + eax*4]
jge 0x1008c2d1
lea edi, [eax + 0xc]
or eax, 0xffffffff
sub eax, ecx
add edx, eax
jmp 0x1008c2d3
mov edx, ecx
test edx, edx
jg 0x1008c2b6
cmp edi, ebx
je 0x1008c366
cmp dword [edi], esi
jne 0x1008c366
mov edx, dword [esp + 0x24]
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 0x1008c34a
mov ecx, dword [0x10189820]
mov esi, dword [ecx + 0x34]
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]
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x1008c320
sub edx, esi
lea ecx, [esp + 0x40]
sar edx, 1
push edx
push eax
call fcn.1001bbd0
push 3
push 0x1016d924
lea ecx, [esp + 0x48]
call fcn.10019bd0
mov edx, dword [edi + 8]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008c352
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x60]
call fcn.1001bfe0
mov eax, dword [0x10189820]
mov ecx, dword [ebp + 0x24]
inc ecx
push ecx
mov edx, dword [eax + 0x34]
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 0x1008c381
sub edx, esi
lea ecx, [esp + 0x40]
sar edx, 1
push edx
push eax
call fcn.10019bd0
mov eax, dword [0x10351df8]
lea ecx, [ebp + 0x78]
cmp eax, dword [0x10351dfc]
je 0x1008c3ca
push dword [ecx]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x48]
push ecx
push dword [ebp]
mov ecx, eax
call fcn.1008e520
add dword [0x10351df8], 0x50
jmp 0x1008c3dc
push ecx
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x48]
push ecx
push ebp
push eax
call fcn.1008eee0
mov edx, dword [esp + 0x6c]
cmp edx, 0x10
jb 0x1008c412
mov ecx, dword [esp + 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008c408
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008c724
push edx
push ecx
call fcn.1011c1c8
add esp, 8
lea ecx, [esp + 0x40]
call fcn.10002100
jmp 0x1008c5ce
test edx, edx
jle 0x1008c44d
mov ecx, edx
shr ecx, 1
lea eax, [ecx + ecx*2]
cmp dword [edi + eax*4], esi
lea eax, [edi + eax*4]
jge 0x1008c43f
lea edi, [eax + 0xc]
or eax, 0xffffffff
sub eax, ecx
add edx, eax
jmp 0x1008c441
mov edx, ecx
test edx, edx
jg 0x1008c424
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp edi, ebx
je 0x1008c5d6
add edi, 8
nop dword [eax + eax]
mov eax, dword [edi - 8]
cmp eax, dword [ebp]
jne 0x1008c5ce
mov edx, dword [esp + 0x24]
movzx ecx, word [edi - 4]
push ecx
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x10]
call eax
mov ebp, eax
test ebp, ebp
je 0x1008c5bc
mov ecx, dword [0x10189820]
mov esi, dword [ecx + 0x34]
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
mov ecx, ebp
call edx
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x30]
mov ecx, esi
call edx
mov edx, eax
mov dword [esp + 0x40], 0
mov ecx, edx
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 7
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1008c4c4
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.1001bbd0
push 3
push 0x1016d924
lea ecx, [esp + 0x48]
call fcn.10019bd0
mov eax, dword [0x10189820]
mov esi, dword [esp + 0x28]
mov edx, dword [eax + 0x34]
mov ecx, dword [esi + 0x24]
inc ecx
push ecx
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x30]
call eax
mov ecx, eax
lea ebx, [ecx + 2]
nop dword [eax]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1008c510
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x48]
call fcn.10019bd0
mov eax, dword [ebp]
xor ebx, ebx
cmp dword [esi + 0x78], 7
mov ecx, ebp
mov dword [esp + 0x38], 0
sete bl
mov eax, dword [eax + 0x30]
add ebx, 6
mov dword [esp + 0x34], ebx
call eax
mov ebp, dword [esp + 0x28]
movzx ecx, al
mov eax, dword [ebp + 0x78]
dec eax
add ecx, eax
mov dword [esp + 0x3c], ecx
cmp ebx, ecx
jge 0x1008c567
lea eax, [esp + 0x34]
jmp 0x1008c574
test ecx, ecx
lea eax, [esp + 0x38]
lea edx, [esp + 0x3c]
cmovns eax, edx
mov ecx, dword [0x102715d0]
push eax
lea eax, [esp + 0x44]
push edi
push eax
push ebp
cmp ecx, dword [0x102715d4]
je 0x1008c5a7
mov edx, ecx
call fcn.1008f030
add dword [0x102715d0], 0x50
lea ecx, [esp + 0x40]
call fcn.10002100
mov ebx, dword [esp + 0x14]
jmp 0x1008c5c0
push ecx
call fcn.1008f0d0
lea ecx, [esp + 0x40]
call fcn.10002100
mov ebx, dword [esp + 0x14]
jmp 0x1008c5c0
mov ebp, dword [esp + 0x28]
add edi, 0xc
lea eax, [edi - 8]
cmp eax, ebx
jne 0x1008c460
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
add ecx, 0x18
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jne 0x1008c250
mov ebp, dword [esp + 0x18]
mov edi, dword [0x102715cc]
mov eax, 0x66666667
mov ecx, dword [0x102715d0]
add edi, 0x50
sub ecx, edi
mov byte [esp + 0x3c], 0
push dword [esp + 0x3c]
imul ecx
mov ecx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x102715d0]
push eax
call fcn.10090370
mov edx, dword [0x102715d0]
cmp edx, dword [0x102715d4]
je 0x1008c65e
mov eax, dword [0x102715cc]
mov ecx, 0x102715cc
cmp eax, edx
jne 0x1008c645
call fcn.1008eba0
jmp 0x1008c65e
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.1008ec20
mov esi, dword [0x10351df8]
mov eax, 0x66666667
mov ecx, dword [0x10351df4]
sub esi, ecx
imul esi
mov byte [esp + 0x3c], 0
push dword [esp + 0x3c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x10351df8]
push eax
call fcn.10090370
mov edx, dword [0x10351df8]
cmp edx, dword [0x10351dfc]
je 0x1008c6ce
mov eax, dword [0x10351df4]
mov ecx, 0x10351df4
cmp eax, edx
jne 0x1008c6b5
call fcn.1008eba0
jmp 0x1008c6ce
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.1008ec20
test ebp, ebp
je 0x1008c712
mov ecx, dword [esp + 0x20]
mov eax, 0x2aaaaaab
sub ecx, ebp
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, ebp
shl ecx, 2
cmp ecx, 0x1000
jb 0x1008c708
mov ebp, dword [ebp - 4]
add ecx, 0x23
sub eax, ebp
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008c724
push ecx
push ebp
call fcn.1011c1c8
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
call fcn.1001dd10
call fcn.1001dd10
call fcn.10120cee
int3