Function at 0x10c1d640
Capabilities:
Check for peb beingdebugged flag
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10e28426
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
mov al, byte [esp + 2]
push ebx
mov ebx, dword [ecx + 0x10]
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ebx
mov byte [esp + 0x78], al
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x98]
mov esi, dword [eax + 4]
cmp esi, ebp
je 0x10c1db1f
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x48]
sub eax, esi
sar eax, 2
cmp ecx, eax
jae 0x10c1db1f
mov byte [esp + 0x58], 0
mov dword [esp + 0x2c], ebp
xor edi, edi
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + ecx]
mov ecx, dword [eax + 0x10]
add eax, 0xc
cmp ecx, ebp
je 0x10c1d705
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x10c1d705
mov edx, dword [esp + 0x18]
mov eax, dword [esi + edx]
mov ecx, dword [eax + 0x10]
mov edx, dword [ecx + edi*4]
push edx
call fcn.10c1d5f0
add esp, 4
test al, al
jne 0x10c1d6fe
inc dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
inc edi
jmp 0x10c1d6c3
mov eax, dword [esp + 0x2c]
cmp eax, ebx
jle 0x10c1da8e
cdq
idiv ebx
xor esi, esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], esi
mov edi, edx
cmp eax, ebp
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], edi
jle 0x10c1d97c
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], ebx
push 0x2c
call fcn.10901500
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
xor edi, edi
mov byte [esp + 0x90], 1
cmp esi, edi
je 0x10c1d786
mov edx, dword [esp + 0x58]
mov ecx, esi
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
lea eax, [esp + 0x13]
push eax
mov dword [ecx + 8], edx
lea ecx, [esi + 0xc]
call fcn.10c1ed30
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 0xffffffff
mov byte [esi + 0x24], 0
mov dword [esi + 0x28], edi
jmp 0x10c1d788
xor esi, esi
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov ebp, esi
lea edi, [ecx + eax]
add eax, edx
cmp edi, eax
mov byte [esp + 0x90], 0
mov dword [esp + 0x14], ebp
mov byte [esp + 0x12], 1
jge 0x10c1d892
mov dword [esp + 0x34], eax
lea eax, [edi + 1]
mov dword [esp + 0x1c], eax
lea esi, [edi*4]
mov ecx, dword [esp + 0x98]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + eax]
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x4c], eax
mov edx, dword [esi + eax]
push edx
call fcn.10c1d5f0
mov ecx, dword [esp + 0x20]
add esp, 4
test al, al
je 0x10c1d85d
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
inc ebx
inc eax
cmp ecx, eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], eax
jne 0x10c1d822
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
dec eax
cmp ecx, eax
jne 0x10c1d84e
mov eax, dword [esp + 0x24]
cmp eax, 4
jge 0x10c1d84e
test eax, eax
jle 0x10c1d84e
mov al, byte [esp + 0x12]
test al, al
jne 0x10c1d84e
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x4c]
mov eax, esi
inc edi
add esi, 4
inc ecx
mov dword [esp + 0x1c], ecx
lea ecx, [ebp + 0xc]
add eax, edx
push eax
mov eax, dword [ecx + 8]
push eax
call fcn.10c1edd0
jmp 0x10c1d880
mov eax, dword [esp + 0x1c]
inc edi
add esi, 4
inc eax
mov dword [esp + 0x1c], eax
jmp 0x10c1d884
mov edx, dword [esp + 0x4c]
mov eax, esi
inc edi
add esi, 4
inc ecx
add eax, edx
mov dword [esp + 0x1c], ecx
lea ecx, [ebp + 0xc]
push eax
mov eax, dword [ecx + 8]
push eax
call fcn.10c1edd0
mov byte [esp + 0x12], 0
mov ebp, dword [esp + 0x14]
cmp edi, dword [esp + 0x34]
jl 0x10c1d7c6
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jne 0x10c1d934
mov eax, dword [esp + 0x24]
cmp eax, 4
jge 0x10c1d934
test eax, eax
jle 0x10c1d934
mov dword [esp + 0x34], 0
lea esi, [edi*4]
jmp 0x10c1d8cb
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x98]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 4]
mov edx, dword [eax + ecx]
mov edi, dword [edx + 0x10]
mov eax, dword [esi + edi]
push eax
call fcn.10c1d5f0
add esp, 4
lea ecx, [ebp + 0xc]
test al, al
mov eax, esi
jne 0x10c1d909
mov edx, dword [ecx + 8]
add eax, edi
push eax
push edx
add esi, 4
call fcn.10c1edd0
inc dword [esp + 0x34]
jmp 0x10c1d91c
add eax, edi
add esi, 4
push eax
mov eax, dword [ecx + 8]
push eax
call fcn.10c1edd0
inc dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
cmp ecx, eax
jl 0x10c1d8c7
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x80]
call fcn.10c1f430
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
inc eax
add esi, ebx
add edx, ebx
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
jl 0x10c1d738
mov edi, dword [esp + 0x24]
mov esi, eax
imul esi, ebx
mov ecx, dword [esp + 0x20]
xor ebp, ebp
add esi, ecx
cmp edi, ebp
je 0x10c1da73
push 0x2c
call fcn.10901500
add esp, 4
cmp eax, ebp
je 0x10c1d9d0
mov edx, eax
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [edx + 8], ecx
mov dl, byte [esp + 0x13]
mov byte [eax + 0xc], dl
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ebp
mov dword [eax + 0x18], ebp
mov dword [eax + 0x1c], ebp
mov dword [eax + 0x20], 0xffffffff
mov byte [eax + 0x24], 0
mov dword [eax + 0x28], ebp
jmp 0x10c1d9d2
xor eax, eax
cmp edi, ebp
mov dword [esp + 0x14], eax
mov byte [esp + 0x12], 1
jle 0x10c1da58
shl esi, 2
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edx]
mov edi, dword [eax + 0x10]
mov ecx, dword [edi + esi]
push ecx
call fcn.10c1d5f0
add esp, 4
test al, al
jne 0x10c1da27
mov edx, dword [esp + 0x14]
mov byte [esp + 0x12], al
mov eax, esi
inc ebp
lea ecx, [edx + 0xc]
add edi, eax
push edi
push 1
mov eax, dword [ecx + 8]
add esi, 4
push eax
call fcn.10c1f9a0
jmp 0x10c1da4e
mov al, byte [esp + 0x12]
test al, al
jne 0x10c1da4b
mov ecx, dword [esp + 0x14]
mov eax, esi
add ecx, 0xc
add edi, eax
push edi
push 1
mov edx, dword [ecx + 8]
add esi, 4
push edx
call fcn.10c1f9a0
jmp 0x10c1da4e
add esi, 4
cmp ebp, dword [esp + 0x24]
jl 0x10c1d9e2
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x14]
push eax
push 1
push ecx
lea ecx, [esp + 0x84]
call fcn.10c1fbe0
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
inc ecx
add eax, 4
mov dword [esp + 0x48], ecx
mov dword [esp + 0x18], eax
xor ebp, ebp
jmp 0x10c1d692
push 0x2c
call fcn.10901500
add esp, 4
cmp eax, ebp
je 0x10c1dacf
mov edx, eax
xor ecx, ecx
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [edx + 8], ecx
mov dl, byte [esp + 0x13]
mov byte [eax + 0xc], dl
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ebp
mov dword [eax + 0x18], ebp
mov dword [eax + 0x1c], ebp
mov dword [eax + 0x20], 0xffffffff
mov byte [eax + 0x24], 0
mov dword [eax + 0x28], ebp
jmp 0x10c1dad1
xor eax, eax
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
xor esi, esi
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 4]
mov edx, dword [edi + ecx]
mov ecx, dword [edx + 0x10]
cmp ecx, ebp
je 0x10c1da58
mov eax, dword [edx + 0x14]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x10c1da58
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
lea ecx, [eax + 0xc]
lea eax, [edx + esi*4]
push eax
push 1
mov edx, dword [ecx + 8]
push edx
call fcn.10c1f9a0
inc esi
jmp 0x10c1dadb
mov dl, byte [esp + 0x13]
mov dword [esp + 0x6c], ebp
mov byte [esp + 0x68], dl
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0xa4]
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov byte [esp + 0x9c], 2
call fcn.10c1cac0
mov edi, dword [esp + 0x9c]
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
push ecx
push eax
push eax
call fcn.10c209f0
add esp, 0xc
mov esi, eax
mov eax, dword [edi + 8]
mov ecx, edi
push eax
push esi
call fcn.10c1f620
mov eax, dword [esp + 0x6c]
mov dword [edi + 8], esi
cmp eax, ebp
je 0x10c1df29
mov ecx, dword [esp + 0x70]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x4c], ecx
je 0x10c1df29
push 8
call fcn.10901500
mov esi, eax
add esp, 4
mov dword [esp + 0x4c], esi
test esi, esi
mov byte [esp + 0x90], 3
je 0x10c1dbf1
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x10]
mov dword [esi + 4], eax
shl eax, 2
push eax
call fcn.10901500
mov ecx, dword [esi + 4]
mov dword [esi], eax
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x10c1dbed
mov ecx, dword [esi]
inc eax
mov dword [ecx + eax*4 - 4], 0xffffffff
mov ecx, dword [esi + 4]
cmp eax, ecx
jl 0x10c1dbdb
mov ebx, esi
jmp 0x10c1dbf3
xor ebx, ebx
mov edi, dword [esp + 0x6c]
xor esi, esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x90], 2
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], 0x461c4000
xor ebp, ebp
test edi, edi
je 0x10c1dccc
mov eax, dword [esp + 0x70]
sub eax, edi
sar eax, 2
cmp ebp, eax
jae 0x10c1dccc
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x48], ebx
mov eax, dword [edi + ebp*4]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x10c1dc6a
mov ecx, dword [eax + 0x14]
sub ecx, edx
sar ecx, 2
cmp esi, ecx
jae 0x10c1dc6a
mov ecx, dword [esp + 0x28]
mov eax, edx
mov edx, dword [esp + 0xa0]
mov eax, dword [eax + esi*4]
push edx
push eax
call fcn.10c1e280
mov edi, dword [esp + 0x6c]
add ebx, eax
inc esi
jmp 0x10c1dc34
mov eax, dword [edi + ebp*4]
mov dword [esp + 0x48], ebx
add eax, 0xc
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x10c1dc7f
xor eax, eax
jmp 0x10c1dc87
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
fild dword [esp + 0x48]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0
fidiv dword [esp + 0x3c]
fcom dword [esp + 0x4c]
fnstsw ax
test ah, 5
jp 0x10c1dcbc
fstp dword [esp + 0x4c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x44], ebp
mov esi, dword [esp + 0x44]
inc ebp
jmp 0x10c1dc13
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x44]
fstp st(0)
inc ebp
jmp 0x10c1dc13
mov ecx, dword [edi + esi*4]
mov ebp, dword [esp + 0x28]
push ecx
push ebx
mov ecx, ebp
call fcn.10c1df70
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x9c]
mov ecx, dword [edi + 8]
lea eax, [edx + esi*4]
push eax
push 1
push ecx
mov ecx, edi
call fcn.10c1fbe0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + esi*4]
mov byte [eax + 0x24], 1
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + esi*4]
add eax, 0xc
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x10c1dd18
xor eax, eax
jmp 0x10c1dd20
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
not al
and al, 1
mov byte [esp + 0x12], al
mov dword [esp + 0x24], 0xbf800000
xor esi, esi
test edx, edx
mov dword [esp + 0x2c], esi
je 0x10c1de96
mov eax, dword [esp + 0x70]
sub eax, edx
sar eax, 2
cmp esi, eax
jae 0x10c1de96
mov eax, dword [edx + esi*4]
mov cl, byte [eax + 0x24]
test cl, cl
jne 0x10c1de81
push eax
push ebx
mov ecx, ebp
call fcn.10c1e140
fcom dword [esp + 0x24]
fnstsw ax
and eax, 0x4100
jne 0x10c1dd8d
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x48], esi
inc esi
jmp 0x10c1dd32
fcomp dword [esp + 0x24]
fnstsw ax
and eax, 0x100
jne 0x10c1de81
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + esi*4]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x10c1ddb0
xor ebx, ebx
jmp 0x10c1ddb8
mov ebx, dword [eax + 0x14]
sub ebx, ecx
sar ebx, 2
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], eax
mov esi, dword [eax]
or eax, 0xffffffff
cmp ebx, 1
mov dword [esp + 0x5c], eax
mov ebp, dword [esi]
mov edi, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
jle 0x10c1de5f
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x50]
push eax
mov edx, dword [ecx + 4]
push edx
call fcn.10c1bb60
add esp, 8
cmp eax, edi
jne 0x10c1de0e
mov eax, ebp
mov ebp, edi
mov edi, eax
mov dword [esp + 0x54], edi
jmp 0x10c1de1e
mov ecx, dword [esp + 0x58]
cmp eax, ecx
jne 0x10c1de22
mov eax, ebp
mov ebp, ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], ebp
cmp ebx, 2
jle 0x10c1de5f
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x44]
push eax
mov eax, dword [esp + 0x50]
push ecx
lea edx, [esp + 0x58]
mov ecx, dword [eax + 8]
push edx
push ecx
call fcn.10c1bbb0
mov eax, dword [esp + 0x54]
add esp, 0x10
cmp eax, edi
jne 0x10c1de5f
cmp dword [esp + 0x3c], 0xffffffff
jne 0x10c1de5f
mov eax, edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x28]
push edi
push ebp
push esi
call fcn.10c1cd80
mov cl, byte [esp + 0x12]
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp cl, al
jne 0x10c1de81
mov edx, esi
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x9c]
inc esi
jmp 0x10c1dd32
fld dword [esp + 0x24]
fcomp dword [0x10e49260]
fnstsw ax
test ah, 0x44
jnp 0x10c1df0e
mov esi, dword [esp + 0x48]
mov eax, dword [edx + esi*4]
mov byte [eax + 0x24], 1
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + esi*4]
mov ecx, ebp
push edx
push ebx
call fcn.10c1df70
mov eax, dword [esp + 0x6c]
mov edx, dword [edi + 8]
lea ecx, [eax + esi*4]
push ecx
push 1
push edx
mov ecx, edi
call fcn.10c1fbe0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + esi*4]
add eax, 0xc
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x10c1deec
xor eax, eax
jmp 0x10c1def4
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
test al, 1
mov al, byte [esp + 0x12]
je 0x10c1dd24
test al, al
sete cl
mov byte [esp + 0x12], cl
jmp 0x10c1dd28
test ebx, ebx
je 0x10c1df29
mov edx, dword [ebx]
push edx
call fcn.10901520
push ebx
mov dword [ebx], 0
call fcn.10901520
add esp, 8
mov eax, dword [esp + 0x6c]
push eax
call fcn.10901520
mov ecx, dword [esp + 0x80]
xor eax, eax
push ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
call fcn.10901520
mov ecx, dword [esp + 0x90]
add esp, 8
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 0x10