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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x1029e0c0]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 0x10]
mov edx, 1
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x58], eax
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x28], eax
lea eax, [esi + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x24]
mov dword [esp + 0x14], eax
mov eax, edi
sub eax, ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0xb8]
shl edx, cl
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x10], eax
sub eax, ecx
mov dword [esp + 0xc], esi
mov esi, dword [esp + 0x10]
sub esi, edx
mov dword [esp + 0x34], edi
cmp eax, edx
mov dword [esp + 0x4c], 3
mov edx, dword [esp + 0xc]
cmovbe esi, ecx
mov dword [esp + 0x38], 0x1f
cmp dword [edx + 0x18], 0
mov eax, dword [edx + 0xc4]
cmovne esi, ecx
mov ecx, 5
cmp eax, ecx
mov dword [esp + 0x48], esi
mov esi, dword [edx + 0x50]
cmovb ecx, eax
mov dword [esp + 0x44], esi
mov eax, dword [edx + 0x54]
mov dword [esp + 0x20], eax
mov eax, 1
shl eax, cl
cmp dword [edx + 0xdc], 0
mov dword [esp + 0x58], eax
jne 0x100c06ae
mov esi, dword [edx + 0x1c]
mov eax, dword [esp + 0x10]
sub eax, esi
mov dword [esp + 8], esi
cmp eax, 0x180
jbe 0x100c05c6
lea eax, [esi + 0x60]
mov dword [esp + 0x2c], eax
cmp esi, eax
jae 0x100c0547
mov eax, dword [esp + 0x14]
mov edi, esi
add eax, 8
mov dword [esp + 0x30], eax
nop dword [eax]
push dword [edx + 0x54]
push dword [edx + 0x50]
push eax
mov eax, dword [esp + 0x24]
add eax, 8
add eax, edi
push eax
call fcn.100d43a0
mov esi, dword [esp + 0x2c]
mov ecx, eax
mov eax, edi
add esp, 0x10
and eax, 7
mov edx, dword [esi + eax*4]
mov dword [esi + eax*4], ecx
mov eax, edx
mov ecx, dword [esp + 0x24]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 8], edx
mov edx, dword [esp + 0x28]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 8]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
mov dword [esi + ecx*4], edi
inc edi
cmp edi, dword [esp + 0x2c]
jb 0x100c04d0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x10]
lea ecx, [edi + 1]
mov eax, dword [esp + 0x18]
add esi, 0xffffffe0
add eax, esi
mov dword [esp + 8], esi
cmp eax, ecx
jbe 0x100c0563
xor ecx, ecx
jmp 0x100c056a
sub ecx, dword [esp + 0x18]
sub ecx, esi
inc ecx
mov eax, 8
cmp ecx, eax
cmova ecx, eax
add ecx, esi
mov dword [esp + 0x30], ecx
cmp esi, ecx
jae 0x100c05c6
mov eax, dword [edx + 0x24]
mov edi, ecx
add eax, 8
mov dword [esp + 0x40], eax
nop word [eax + eax]
push dword [edx + 0x54]
push dword [edx + 0x50]
push eax
mov eax, dword [esp + 0x24]
add eax, esi
push eax
call fcn.100d43a0
mov edx, dword [esp + 0x1c]
mov ecx, eax
mov eax, esi
add esp, 0x10
and eax, 7
inc esi
mov dword [edx + eax*4 + 0x2c], ecx
mov eax, dword [esp + 0x40]
cmp esi, edi
jb 0x100c0590
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 8]
mov eax, dword [edx + 0x5c]
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x54], ecx
cmp esi, dword [esp + 0x10]
jae 0x100c066e
mov edi, dword [esp + 8]
add eax, 8
mov dword [esp + 0x50], eax
push dword [edx + 0x54]
push dword [edx + 0x50]
push eax
lea eax, [ecx + 8]
add eax, edi
push eax
call fcn.100d43a0
mov esi, dword [esp + 0x2c]
mov ecx, eax
mov eax, edi
add esp, 0x10
and eax, 7
mov edx, dword [esi + eax*4]
mov dword [esi + eax*4], ecx
mov eax, edx
mov ecx, dword [esp + 0x40]
shr eax, 3
and eax, 0x1fffffe0
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
add edx, eax
lea esi, [ecx + eax*4]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x2c]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x50]
mov dword [esi + ecx*4], edi
inc edi
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
cmp edi, esi
jb 0x100c05f3
mov edi, dword [esp + 0x34]
jmp 0x100c0672
mov esi, dword [esp + 0x10]
push dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add ecx, 8
push dword [esp + 0x48]
add eax, 8
mov dword [edx + 0x1c], esi
add eax, esi
push ecx
push eax
call fcn.100d43a0
mov ecx, eax
add esp, 0x10
mov eax, esi
mov esi, dword [esp + 0x1c]
and eax, 7
mov edx, dword [esi + eax*4]
mov dword [esi + eax*4], ecx
mov esi, dword [esp + 0xc]
jmp 0x100c06d1
push dword [esp + 0x20]
mov eax, dword [esp + 0x18]
add eax, 8
push esi
push eax
push edi
call fcn.100d43a0
mov esi, dword [esp + 0x1c]
mov edx, eax
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esi + 0x1c], eax
add dword [esi + 0x58], edx
mov ecx, edx
movzx eax, dl
mov edx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
shr ecx, 3
and ecx, 0x1fffffe0
mov dword [esp + 8], 0
add edx, ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x44], edx
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [esp + 0x24], eax
movzx eax, byte [edx]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
movsx eax, al
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
movups xmm0, xmmword [edx]
lea edx, [edx + 0x10]
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov dword [esp + ecx*4 + 0x60], eax
inc ecx
cmp ecx, 2
jl 0x100c0734
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
shl edx, 0x10
and ecx, 0x1f
or edx, dword [esp + 0x60]
ror edx, cl
xor ecx, ecx
mov dword [esp + 0x14], ecx
test edx, edx
je 0x100c07cb
mov esi, dword [esp + 0x58]
xor edi, edi
test esi, esi
je 0x100c07bf
test edx, edx
jne 0x100c0780
bsf eax, ecx
add eax, 0x20
jmp 0x100c0783
bsf eax, edx
add eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
and eax, 0x1f
mov eax, dword [ecx + eax*4]
je 0x100c079f
cmp eax, dword [esp + 0x48]
jb 0x100c07bf
mov dword [esp + edi*4 + 0x78], eax
inc edi
dec esi
mov eax, dword [esp + 0x14]
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
and edx, ecx
mov ecx, dword [esp + 0x14]
and ecx, eax
mov dword [esp + 0x14], ecx
ja 0x100c0770
jb 0x100c07bf
test edx, edx
jne 0x100c0770
mov esi, dword [esp + 0xc]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
mov eax, 0
movzx ecx, byte [edx]
dec ecx
and ecx, 0x1f
cmove eax, dword [esp + 0x38]
add ecx, eax
mov eax, dword [esp + 0x20]
mov byte [edx], cl
mov byte [ecx + edx], al
mov edx, dword [esp + 0x24]
mov eax, dword [esi + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 0x1c]
cmp dword [esp + 8], 0
jbe 0x100c08ec
mov ecx, dword [esp + 8]
xor eax, eax
lea esi, [eax + 3]
nop dword [eax]
mov eax, dword [esp + eax*4 + 0x78]
mov edx, dword [esp + 0x18]
add edx, eax
mov dword [esp + 0x48], eax
mov eax, dword [edx + esi - 3]
cmp eax, dword [esi + edi - 3]
jne 0x100c08b9
mov esi, dword [esp + 0x3c]
mov eax, edi
add esi, 0xfffffffd
cmp edi, esi
jae 0x100c0865
mov eax, dword [edx]
xor eax, dword [edi]
je 0x100c0847
bsf ecx, eax
shr ecx, 3
jmp 0x100c088d
lea eax, [edi + 4]
add edx, 4
cmp eax, esi
jae 0x100c0865
mov ecx, dword [eax]
xor ecx, dword [edx]
jne 0x100c08e0
add eax, 4
add edx, 4
cmp eax, esi
jb 0x100c0851
mov esi, dword [esp + 0x3c]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x100c087e
mov cx, word [edx]
cmp cx, word [eax]
jne 0x100c087e
add eax, 2
add edx, 2
cmp eax, esi
jae 0x100c0889
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x100c0889
inc eax
mov ecx, eax
sub ecx, edi
mov esi, dword [esp + 0x4c]
cmp ecx, esi
jbe 0x100c08b5
mov eax, dword [esp + 0x10]
mov esi, ecx
sub eax, dword [esp + 0x48]
mov edx, dword [esp + 0x5c]
add eax, 3
mov dword [esp + 0x4c], esi
mov dword [edx], eax
lea eax, [ecx + edi]
cmp eax, dword [esp + 0x3c]
je 0x100c08ca
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, ecx
jb 0x100c0810
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.10002c9d
mov esp, ebp
pop ebp
ret
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x100c088d
mov ecx, dword [esp + 0x17c]
mov eax, 3
pop edi
pop esi
xor ecx, esp
call fcn.10002c9d
mov esp, ebp
pop ebp
ret