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

Disassembly:
push edi
push ebx
push ebp
sub esp, 0x278
mov eax, dword [0x102e9794]
mov edi, dword [esp + 0x288]
xor eax, esp
mov dword [esp + 0x274], eax
mov ebp, dword [esp + 0x28c]
mov ebx, dword [esp + 0x290]
test edi, edi
je 0x100c0623
test ebp, ebp
je 0x100c05fd
test ebx, ebx
jle 0x100c05d7
cmp ebx, 2
jge 0x100c00b3
mov dword [ebp], 0
mov ecx, dword [esp + 0x274]
xor ecx, esp
cmp ecx, dword [0x102e9794]
jne 0x100c0495
xor eax, eax
add esp, 0x278
pop ebp
pop ebx
pop edi
ret 0xc
push ebx
push ebp
call fcn.100c8e20
add esp, 8
mov edx, 1
lea ecx, [ebp + ebx*4 - 4]
mov dword [esp + 0x18], edx
lea eax, [edi + ebx*4 - 4]
mov dword [esp + 0x44], ecx
mov dword [esp], esi
nop dword [eax]
nop dword [eax]
cmp ebx, 9
jg 0x100c029e
cmp eax, edi
jbe 0x100c023f
mov ecx, eax
lea ebx, [edi + 4]
sub ecx, edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x60], edi
lea edx, [ecx + 3]
sar edx, 1
shr edx, 0x1e
lea esi, [edx + ecx + 3]
mov ecx, eax
sar esi, 2
sub ecx, ebx
mov dword [esp + 0x34], ecx
xor edx, edx
mov dword [esp + 0x50], esi
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
nop dword [eax]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [ecx]
cmp ebx, dword [esp + 0x54]
mov ebx, dword [esp + 0x48]
jb 0x100c0210
lea esi, [edx*4]
neg esi
add esi, dword [esp + 0x34]
lea edi, [esi + 4]
mov dword [esp + 0x38], edi
shr edi, 3
test edi, edi
jbe 0x100c049a
mov dword [esp + 0x40], esi
xor eax, eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], edi
mov edx, dword [esp + 0x54]
mov esi, ebx
nop dword [eax + eax]
nop dword [eax]
nop word [eax + eax]
mov edi, dword [edx + eax*8]
cmp edi, ebp
jl 0x100c01b5
mov ecx, dword [esp + 0x60]
mov ebp, edi
lea ebx, [esi + eax*8 + 4]
lea ecx, [ecx + eax*8 + 4]
mov edi, dword [edx + eax*8 + 4]
cmp edi, ebp
jl 0x100c01cb
mov ecx, dword [esp + 0x60]
mov ebp, edi
lea ebx, [esi + eax*8 + 8]
lea ecx, [ecx + eax*8 + 8]
inc eax
cmp eax, dword [esp + 0x70]
jb 0x100c01a0
mov esi, dword [esp + 0x40]
lea eax, [eax + eax + 1]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
sar edi, 1
shr edi, 0x1e
lea edi, [edi + esi + 4]
sar edi, 2
lea esi, [eax - 1]
cmp esi, edi
jae 0x100c0210
mov esi, dword [esp + 0x60]
lea esi, [esi + eax*4 + 4]
mov edi, dword [esi - 4]
cmp edi, ebp
jl 0x100c0210
mov ecx, dword [esp + 0x48]
mov ebp, edi
lea ebx, [ecx + eax*4]
lea ecx, [esi - 4]
mov esi, dword [esp + 0x4c]
inc edx
mov edi, dword [esp + 0x44]
mov eax, dword [esi]
mov dword [ecx], eax
mov dword [esi], ebp
add esi, 0xfffffffc
mov ecx, dword [edi]
mov ebp, dword [ebx]
mov dword [ebx], ecx
mov dword [edi], ebp
add edi, 0xfffffffc
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], edi
cmp edx, dword [esp + 0x50]
jb 0x100c0140
mov edx, dword [esp + 0x18]
mov eax, dword [esp + edx*4 + 0x74]
dec edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + edx*4 + 0xf4]
mov edi, dword [esp + edx*4 + 0x174]
mov ebp, dword [esp + edx*4 + 0x1f4]
mov ebx, eax
sub ebx, edi
sar ebx, 2
inc ebx
cmp dword [esp + 0x18], 0
jne 0x100c00e0
mov ecx, dword [esp + 0x274]
xor ecx, esp
mov esi, dword [esp]
cmp ecx, dword [0x102e9794]
jne 0x100c0495
xor eax, eax
add esp, 0x278
pop ebp
pop ebx
pop edi
ret 0xc
mov edx, dword [ebp]
mov dword [esp + 0x10], edx
mov edx, dword [edi]
mov ecx, edx
mov esi, dword [edi + 4]
cmp edx, esi
jge 0x100c02bd
mov ecx, dword [ebp + 4]
mov dword [ebp], ecx
mov esi, dword [edi + 4]
mov ecx, esi
mov dword [edi], esi
cmp edx, esi
jge 0x100c02cd
mov ecx, dword [esp + 0x10]
mov dword [ebp + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [edi]
sar ebx, 1
mov esi, dword [edi + ebx*4]
cmp ecx, esi
jle 0x100c02e9
mov edx, esi
mov esi, dword [ebp + ebx*4]
mov dword [esp + 0x14], esi
mov esi, dword [ebp]
mov dword [esp + 4], esi
jmp 0x100c02fc
mov edx, ecx
mov ecx, esi
mov esi, dword [ebp]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + ebx*4]
mov dword [esp + 4], esi
mov esi, dword [eax]
cmp edx, esi
jle 0x100c030c
mov dword [edi], esi
mov esi, dword [esp + 0x44]
mov esi, dword [esi]
jmp 0x100c0312
mov dword [edi], edx
mov esi, dword [esp + 0x14]
mov dword [ebp], esi
mov esi, dword [eax]
cmp edx, esi
jg 0x100c0327
mov edx, esi
mov esi, dword [esp + 0x44]
mov esi, dword [esi]
mov dword [esp + 0x14], esi
cmp edx, ecx
jl 0x100c033a
mov dword [edi + ebx*4], ecx
mov ecx, dword [esp + 4]
mov dword [ebp + ebx*4], ecx
mov dword [eax], edx
jmp 0x100c034f
mov dword [edi + ebx*4], edx
mov edx, dword [esp + 0x14]
mov dword [ebp + ebx*4], edx
mov dword [eax], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x58], esi
mov dword [esi], edx
mov edx, eax
mov ecx, dword [edi + ebx*4]
lea ebx, [ebp + 4]
mov dword [esp + 0x20], ecx
lea ecx, [edi + 4]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x60], edi
mov esi, dword [esp + 0x20]
jmp 0x100c03a0
mov eax, dword [edx]
mov ebx, dword [ecx]
mov dword [ecx], eax
mov dword [edx], ebx
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x5c]
mov ebp, dword [ebx]
mov eax, dword [edi]
mov dword [edi], ebp
mov dword [ebx], eax
nop word [eax + eax]
mov ebx, dword [esp + 0x5c]
mov eax, ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], edx
mov ebx, dword [esp + 0x58]
cmp edx, ecx
jbe 0x100c048c
mov edi, edx
sub edi, ecx
lea ebp, [edi + 3]
sar ebp, 1
shr ebp, 0x1e
lea ebp, [ebp + edi + 3]
sar ebp, 2
cmp esi, dword [ecx]
jl 0x100c0446
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov dword [esp + 0x6c], ebp
xor edi, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edx
mov ebp, dword [esp + 0x24]
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
mov ebx, dword [esp + 0x68]
inc ecx
lea edx, [ebp + 4]
lea ebx, [edi + ebx + 4]
cmp ecx, dword [esp + 0x6c]
jae 0x100c0421
lea ebp, [eax + ecx*4]
lea edi, [ecx*4]
cmp esi, dword [ebp]
jge 0x100c0400
mov dword [esp + 0x5c], ebx
mov ecx, edx
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp edx, ecx
jbe 0x100c048c
mov ebp, edx
sub ebp, ecx
lea eax, [ebp + 3]
sar eax, 1
shr eax, 0x1e
lea ebp, [eax + ebp + 3]
sar ebp, 2
xor eax, eax
cmp esi, dword [edx]
jge 0x100c048c
mov dword [esp + 0x6c], ebp
xor edi, edi
mov dword [esp + 0x30], ecx
nop dword [eax]
nop dword [eax]
neg edi
inc eax
add edi, ebx
lea ecx, [edx - 4]
lea ebp, [edi - 4]
cmp eax, dword [esp + 0x6c]
jae 0x100c0482
mov edx, dword [esp + 0x64]
lea edi, [eax*4]
sub edx, edi
cmp esi, dword [edx]
jl 0x100c0460
mov dword [esp + 0x58], ebp
mov edx, ecx
mov ecx, dword [esp + 0x30]
cmp ecx, edx
je 0x100c04a4
jmp 0x100c0382
call fcn.1023c450
mov eax, 1
jmp 0x100c01de
mov dword [esp + 0x2c], edx
lea esi, [ecx - 4]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
add ebx, 0xfffffffc
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], ebx
cmp edx, dword [esi]
mov edx, dword [esp + 0x2c]
jne 0x100c0539
mov dword [esp + 8], 0
mov dword [esp + 0x2c], edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebp
mov edx, dword [esp + 8]
mov edi, esi
nop dword [eax + eax]
nop dword [eax]
nop
inc edx
mov eax, esi
lea ebp, [edx*4]
sub eax, ebp
lea ecx, [eax + 4]
cmp ecx, dword [esp + 0x60]
jbe 0x100c0525
mov ecx, dword [esp + 0x20]
mov edi, eax
mov ebx, dword [esp + 0x1c]
sub ebx, ebp
cmp ecx, dword [eax]
je 0x100c0500
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x60]
mov esi, eax
mov ecx, dword [esp + 0xc]
sub esi, edx
sub ecx, edi
sar ecx, 2
sar esi, 2
cmp ecx, esi
jge 0x100c0595
cmp edi, dword [esp + 0xc]
je 0x100c058a
mov ecx, dword [esp + 0x18]
mov dword [esp + ecx*4 + 0x174], edx
mov dword [esp + ecx*4 + 0xf4], eax
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x44]
mov dword [esp + ecx*4 + 0x1f4], edx
mov dword [esp + ecx*4 + 0x78], eax
inc ecx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], ebx
jmp 0x100c0265
mov ebp, dword [esp + 0x58]
mov edi, edx
jmp 0x100c0265
cmp edx, eax
je 0x100c05ca
mov ecx, dword [esp + 0x18]
mov dword [esp + ecx*4 + 0x1f4], ebp
mov ebp, dword [esp + 0xc]
mov dword [esp + ecx*4 + 0x174], edi
mov edi, edx
mov dword [esp + ecx*4 + 0xf4], ebp
mov dword [esp + ecx*4 + 0x78], ebx
inc ecx
mov dword [esp + 0x18], ecx
mov ebp, dword [esp + 0x58]
jmp 0x100c0265
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], ebx
jmp 0x100c0265
mov ecx, dword [esp + 0x274]
xor ecx, esp
cmp ecx, dword [0x102e9794]
jne 0x100c0495
mov eax, 0xfffffffa
add esp, 0x278
pop ebp
pop ebx
pop edi
ret 0xc
mov ecx, dword [esp + 0x274]
xor ecx, esp
cmp ecx, dword [0x102e9794]
jne 0x100c0495
mov eax, 0xfffffff8
add esp, 0x278
pop ebp
pop ebx
pop edi
ret 0xc
mov ecx, dword [esp + 0x274]
xor ecx, esp
cmp ecx, dword [0x102e9794]
jne 0x100c0495
jmp 0x100c0612