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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x1060f098]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
mov dword [esp + 0xc], esi
mov edi, dword [esi]
movzx eax, byte [esi + 0x92]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
test dword [edi + 0x1c], 0x4000
je 0x1008cc89
mov ecx, dword [edx + 0x48]
mov ebx, 0xfff0bdc0
mov dword [esp + 0x28], ebx
test ecx, ecx
je 0x1008c68c
mov eax, dword [edi + 0x10]
xor ebx, ebx
add eax, 0xc
mov dword [esp + 0x28], ebx
cmp dword [eax], ecx
je 0x1008c68c
nop
lea eax, [eax + 0x10]
inc ebx
cmp dword [eax], ecx
jne 0x1008c680
mov dword [esp + 0x28], ebx
mov eax, dword [edi + 0x10]
mov ecx, ebx
mov ebx, dword [edx + 0x10]
add ecx, ecx
mov dword [esp + 0x20], ebx
mov ecx, dword [eax + ecx*8]
mov dword [esp + 0x24], ecx
test ebx, ebx
je 0x1008ca60
nop dword [eax]
cmp dword [ebp + 0x10], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
je 0x1008c733
mov ecx, dword [edx]
mov eax, dword [ebx + 8]
test ecx, ecx
jne 0x1008c6dd
neg eax
sbb eax, eax
jmp 0x1008c6e8
test eax, eax
je 0x1008c6ec
mov edx, eax
call fcn.10044510
test eax, eax
je 0x1008c72f
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x1008ca45
lea ecx, [ebx + 0x24]
nop word [eax + eax]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
cmp dword [eax + edx*4], 0
jge 0x1008c72b
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x28]
cmp edx, eax
jne 0x1008c71d
cmp dword [ebp + 0x14], 0
jne 0x1008c72b
inc esi
add ecx, 8
cmp esi, dword [ebx + 0x14]
jl 0x1008c700
jmp 0x1008ca45
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x24]
cmp byte [esi + 0x92], 0
push ecx
je 0x1008c74c
mov edx, dword [ebx + 8]
mov ecx, edi
call fcn.1007fe70
add esp, 4
jmp 0x1008c75b
push dword [ebx + 8]
xor edx, edx
mov ecx, esi
call fcn.1007ffc0
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0x1008c90f
lea ecx, [esp + 0x14]
mov edx, eax
push ecx
lea ecx, [esp + 0x34]
push ecx
push ebx
mov ecx, esi
call fcn.1008b140
add esp, 0xc
test eax, eax
jne 0x1008c90b
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1008c796
mov ecx, eax
mov dword [esp + 0x20], eax
jmp 0x1008c7a5
mov eax, dword [ebx + 0x24]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], ecx
xor esi, esi
cmp dword [ebx + 0x14], esi
jle 0x1008c819
nop dword [eax]
mov eax, dword [esp + 0x10]
movsx eax, word [eax + 0x28]
cmp dword [ecx + esi*4], eax
jne 0x1008c7c4
mov dword [ecx + esi*4], 0xffffffff
cmp dword [edi + 0x130], 0
je 0x1008c813
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x1008c7e2
mov eax, dword [eax + 4]
movzx eax, word [eax + esi*2]
jmp 0x1008c7e6
movzx eax, word [edx + 0x28]
push dword [esp + 0x28]
movsx ecx, ax
mov eax, dword [edx + 4]
add ecx, ecx
mov edx, dword [edx]
push dword [eax + ecx*8]
mov ecx, dword [esp + 0x14]
call fcn.1007f600
xor ecx, ecx
add esp, 8
cmp eax, 2
sete cl
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, dword [ebx + 0x14]
jl 0x1008c7b0
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov ecx, esi
mov edx, dword [esp + 0x28]
push dword [eax]
push 0
push dword [eax + 0x1c]
call fcn.1007f830
inc dword [esi + 0x28]
add esp, 0xc
mov eax, dword [ebp + 8]
test eax, eax
je 0x1008c862
push dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
mov ecx, esi
push 0xffffffffffffffff
push eax
push dword [esp + 0x2c]
push ebx
push dword [esp + 0x44]
push dword [esp + 0x34]
call fcn.1008b400
add esp, 0x1c
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x1008c8b7
mov eax, dword [esi + 0x78]
mov ecx, esi
test eax, eax
cmovne ecx, eax
mov eax, dword [ecx + 0x1cc]
test eax, eax
je 0x1008c895
mov eax, dword [eax]
cmp eax, dword [ebx + 0x1c]
jne 0x1008c88a
cmp byte [ebx + 0x19], 7
je 0x1008c8b7
cmp eax, dword [ebx + 0x20]
jne 0x1008c895
cmp byte [ebx + 0x1a], 7
je 0x1008c8b7
push dword [esp + 0x18]
mov ecx, esi
push 1
push edx
push dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
push ebx
push dword [esp + 0x44]
push dword [esp + 0x34]
call fcn.1008b400
add esp, 0x1c
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1008ca49
cmp dword [edi + 0x1d8], 0
je 0x1008c8da
mov edx, ecx
mov ecx, edi
call fcn.10041070
jmp 0x1008ca49
cmp ecx, dword [edi + 0x128]
jb 0x1008c8fd
cmp ecx, dword [edi + 0x12c]
jae 0x1008c8fd
mov eax, dword [edi + 0x124]
mov dword [ecx], eax
mov dword [edi + 0x124], ecx
jmp 0x1008ca49
push ecx
call fcn.10041000
add esp, 4
jmp 0x1008ca49
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x34], 0
je 0x1008cc89
cmp byte [edi + 0x49], 0
jne 0x1008cc89
test eax, eax
jne 0x1008ca49
mov esi, dword [esi + 8]
test esi, esi
jne 0x1008c94f
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x78], esi
jne 0x1008c948
mov eax, dword [ecx]
test byte [eax + 0x44], 8
jne 0x1008c948
mov byte [ecx + 0x17], 1
call fcn.1005f830
mov esi, eax
mov eax, dword [esi + 0x88]
mov edx, dword [ebx + 0x14]
inc eax
add eax, edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
test edx, edx
jle 0x1008c9eb
lea edi, [ebx + 0x24]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
inc ecx
mov edx, dword [edi]
add edx, ecx
mov ecx, dword [esi + 0x88]
cmp dword [eax + 0x30], ecx
jg 0x1008c9a0
push 0
push dword [esp + 0x18]
mov ecx, esi
push edx
mov edx, 0x32
call fcn.1005fb00
add esp, 0xc
jmp 0x1008c9d6
mov ebx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x18]
add edi, 8
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, dword [ebx + 0x14]
jl 0x1008c972
mov edi, dword [esp + 0x2c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x88]
movzx edx, byte [ebx + 0x18]
cmp dword [eax + 0x30], ecx
jg 0x1008ca13
push 0
push 0xffffffffffffffff
push edx
mov edx, 0x93
mov ecx, esi
call fcn.1005fb00
add esp, 0xc
jmp 0x1008ca45
lea eax, [ecx + 1]
mov dword [esi + 0x88], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*4], 0x93
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0xffffffff
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0xc]
mov ebx, dword [ebx + 4]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], ebx
test ebx, ebx
jne 0x1008c6b0
mov ebx, dword [esp + 0x10]
push 0
mov ecx, dword [ebx + 0x48]
mov edx, dword [ebx]
add ecx, 0x38
call fcn.10045b30
add esp, 4
mov esi, dword [eax + 8]
mov dword [esp + 0x24], esi
test esi, esi
je 0x1008cc89
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
test eax, eax
je 0x1008cab4
push dword [ebp + 0x14]
mov edx, esi
mov ecx, ebx
push eax
call fcn.1008c520
add esp, 8
test eax, eax
je 0x1008cc7a
cmp byte [esi + 0x18], 0
jne 0x1008cad7
test dword [edi + 0x1c], 0x80000
jne 0x1008cad7
mov edx, dword [esp + 0xc]
cmp dword [edx + 0x78], 0
jne 0x1008cad7
cmp byte [edx + 0x14], 0
je 0x1008cc7a
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
mov edx, ebx
push eax
push esi
call fcn.1008b140
add esp, 0xc
test eax, eax
je 0x1008cb0e
cmp dword [esp + 0x34], 0
je 0x1008cc89
cmp byte [edi + 0x49], 0
jne 0x1008cc89
jmp 0x1008cc7a
push 0
push 0x58
mov ecx, edi
call fcn.10041390
mov ebx, dword [esp + 0x20]
mov edi, eax
add esp, 8
test edi, edi
je 0x1008cc31
push 0x50
lea eax, [edi + 8]
mov dword [edi + 4], 1
push 0
push eax
mov dword [edi], 1
call fcn.100eb400
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov dword [edi + 0x38], 0xffffffff
cmp byte [ecx + 0x49], 0
je 0x1008cb66
mov edx, edi
mov edi, ecx
call fcn.10084d80
jmp 0x1008cc35
mov eax, dword [edi]
xor edx, edx
lea esi, [eax + eax*4]
add esi, esi
call fcn.100808a0
mov ecx, dword [esp + 0xc]
mov dword [edi + esi*8 - 0x40], eax
mov dword [edi + esi*8 - 0x44], 0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, dword [esi]
mov dword [edi + 0x18], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x18]
inc dword [eax + 0x20]
mov eax, dword [ecx + 0x28]
mov dword [edi + 0x38], eax
inc dword [ecx + 0x28]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1008cbca
push 0xffffffffffffffff
push eax
push ebx
push esi
push edx
push dword [esp + 0x24]
mov edx, edi
call fcn.1008be20
mov ecx, dword [esp + 0x24]
add esp, 0x18
mov edx, dword [esp + 0x14]
cmp dword [ebp + 8], 0
je 0x1008cc1b
push 1
push dword [ebp + 8]
xor eax, eax
cmp dword [ebp + 0x10], eax
push ebx
setne al
push esi
push edx
push dword [esp + 0x24]
movzx eax, byte [eax + esi + 0x19]
mov edx, edi
mov dword [esp + 0x50], eax
call fcn.1008be20
add esp, 0x18
cmp byte [esi + 0x18], 0
jne 0x1008cc1b
mov eax, dword [esp + 0x38]
cmp eax, 9
je 0x1008cc1b
cmp eax, 7
je 0x1008cc1b
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x78]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov dword [edi + 0x10], 0
mov edx, edi
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.10084d80
jmp 0x1008cc35
mov edi, dword [esp + 0x2c]
test ebx, ebx
je 0x1008cc76
cmp dword [edi + 0x1d8], 0
je 0x1008cc4d
mov edx, ebx
mov ecx, edi
call fcn.10041070
jmp 0x1008cc76
cmp ebx, dword [edi + 0x128]
jb 0x1008cc6d
cmp ebx, dword [edi + 0x12c]
jae 0x1008cc6d
mov eax, dword [edi + 0x124]
mov dword [ebx], eax
mov dword [edi + 0x124], ebx
jmp 0x1008cc76
push ebx
call fcn.10041000
add esp, 4
mov ebx, dword [esp + 0x10]
mov esi, dword [esi + 0xc]
mov dword [esp + 0x24], esi
test esi, esi
jne 0x1008ca85
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d22d5
mov esp, ebp
pop ebp
ret