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

Disassembly:
sub esp, 0x87c
mov eax, dword [0x10c67840]
xor eax, esp
mov dword [esp + 0x874], eax
mov eax, dword [esp + 0x884]
push ebx
mov ebx, dword [esp + 0x884]
push ebp
push esi
push edi
mov edi, ecx
push ebx
mov ecx, 0x10c12b1c
mov dword [esp + 0x28], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x30], eax
call fcn.1006ef10
mov edx, dword [edi]
xor esi, esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], 0x800
mov dword [esp + 0x70], esi
mov eax, dword [edx]
mov ecx, dword [eax + 4]
push 0x25
push edi
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
call fcn.1006f330
mov ebp, eax
cmp ebp, esi
jl 0x1008cda5
mov ecx, dword [esp + 0x20]
sub ecx, ebp
cmp ecx, 3
mov ebx, ebp
jl 0x1008cbc2
mov edx, dword [edi]
mov eax, dword [edx]
lea edx, [ebp + 2]
mov edi, ecx
lea esi, [edx + edx]
cmp ebx, dword [eax + 4]
jae 0x1008cbba
test byte [eax + 0x1c], 1
je 0x1008cb6a
mov ecx, dword [eax + 0xc]
movzx cx, byte [ebx + ecx]
jmp 0x1008cb72
mov ecx, dword [eax + 8]
mov cx, word [ecx + esi - 4]
cmp cx, 0x25
jne 0x1008cbba
lea ecx, [edx - 1]
cmp ecx, dword [eax + 4]
jb 0x1008cbcc
xor cx, cx
movzx ecx, cx
movzx ecx, cl
test byte [ecx + 0x10c0dd70], 0x40
je 0x1008cbba
cmp edx, dword [eax + 4]
jb 0x1008cbf0
xor cx, cx
movzx ecx, cx
movzx ecx, cl
test byte [ecx + 0x10c0dd70], 0x40
je 0x1008cbba
sub edi, 3
add ebx, 3
add esi, 6
add edx, 3
cmp edi, 3
jge 0x1008cb55
cmp ebx, ebp
jne 0x1008cc12
mov edi, dword [esp + 0x10]
add dword [esp + 0x18], 1
jmp 0x1008cd87
test byte [eax + 0x1c], 1
je 0x1008cbdd
mov ecx, dword [eax + 0xc]
movzx cx, byte [ecx + edx - 1]
jmp 0x1008cbe5
mov ecx, dword [eax + 8]
mov cx, word [ecx + esi - 2]
cmp cx, 0xff
jbe 0x1008cb83
xor ecx, ecx
jmp 0x1008cb86
test byte [eax + 0x1c], 1
je 0x1008cc00
mov ecx, dword [eax + 0xc]
movzx cx, byte [edx + ecx]
jmp 0x1008cc07
mov ecx, dword [eax + 8]
mov cx, word [esi + ecx]
cmp cx, 0xff
jbe 0x1008cb9a
xor ecx, ecx
jmp 0x1008cb9d
mov edi, ebx
sub edi, ebp
lea esi, [edi + 1]
test esi, esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x70], 0
jbe 0x1008cc6b
mov eax, dword [esp + 0x78]
cmp esi, eax
jbe 0x1008cc6b
mov edx, eax
shr edx, 2
lea eax, [edx + eax + 1]
mov dword [esp + 0x34], eax
cmp eax, 0x10
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], 0x10
lea eax, [esp + 0x34]
ja 0x1008cc57
lea eax, [esp + 0x30]
cmp esi, dword [eax]
jb 0x1008cc5f
lea eax, [esp + 0x28]
mov eax, dword [eax]
push eax
lea eax, [esp + 0x74]
call fcn.10029ec0
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
push ecx
mov edx, ebp
mov dword [esp + 0x74], esi
call fcn.1006fce0
mov ecx, dword [esp + 0x74]
cmp byte [ecx], 0
mov edi, ecx
je 0x1008ccd1
lea edx, [ecx + 2]
lea ecx, [ecx]
mov al, byte [edx - 1]
cmp al, 0x41
jae 0x1008cc9f
movzx eax, al
sub eax, 0x30
jmp 0x1008cca5
sub eax, 7
and eax, 0xf
mov cl, byte [edx]
cmp cl, 0x41
jae 0x1008ccb4
movzx ecx, cl
sub ecx, 0x30
jmp 0x1008ccba
sub ecx, 7
and ecx, 0xf
shl al, 4
or al, cl
mov byte [edi], al
add edx, 3
add edi, 1
cmp byte [edx - 2], 0
jne 0x1008cc90
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x2c]
cmp dword [eax], 0
jne 0x1008cd02
test byte [0x10c88d5c], 1
jne 0x1008ccfd
or dword [0x10c88d5c], 1
mov eax, 0x10c12b64
mov esi, 0x10c88d58
call fcn.1030ad1f
mov ecx, dword [esp + 0x74]
mov eax, 0x10c88d58
sub edi, ecx
push edi
push ecx
lea esi, [esp + 0x1c]
call fcn.1030ad1f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1008cd1d
cmp dword [eax + 4], 0
jne 0x1008cd24
lea edx, [esp + 0x14]
push edx
jmp 0x1008cd7e
mov eax, dword [esp + 0x1c]
mov ecx, ebp
sub ecx, eax
push eax
mov eax, dword [esp + 0x14]
lea esi, [esp + 0x3c]
call fcn.1006fe00
mov edi, dword [esp + 0x24]
push eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edx
push edi
call fcn.100708b0
mov eax, esi
call fcn.1006ebf0
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1008cd60
xor ecx, ecx
jmp 0x1008cd66
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
push ecx
push eax
mov eax, dword [edi]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edx
call fcn.100709f0
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], ebx
push eax
call fcn.10001b00
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push 0x25
push edi
call fcn.1006f330
mov ebp, eax
test ebp, ebp
jge 0x1008cb3c
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
sub ecx, esi
push esi
lea esi, [esp + 0x3c]
mov eax, edi
call fcn.1006fe00
mov ecx, dword [ebx]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
push eax
push ebx
call fcn.100708b0
mov eax, esi
call fcn.1006ebf0
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x7c]
cmp eax, ecx
mov dword [esp + 0x70], 0
jne 0x1008cde7
xor eax, eax
mov dword [esp + 0x74], eax
push eax
call fcn.102f353f
mov ecx, dword [esp + 0x888]
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.102f2d37
add esp, 0x87c
ret