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

Disassembly:
sub esp, 0x54
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x64]
push ebx
xor ebx, ebx
test edx, edx
setne bl
push ebp
push esi
push edi
inc ebx
test ecx, ecx
mov dword [esp + 0x5c], ebx
je 0x6ce32f
mov esi, dword [esp + 0x70]
xor eax, eax
test esi, esi
setne al
inc eax
mov esi, eax
jmp 0x6ce331
xor esi, esi
sar ecx, 1
mov eax, 8
shl eax, cl
mov edi, ebx
shl edi, 6
mov ebp, esi
mov dword [esp + 0x34], eax
lea eax, [esi + ebx]
shl eax, 6
add eax, 0x3f
cdq
and edx, 0x3f
add eax, edx
mov edx, dword [esp + 0x78]
sar eax, 6
shl eax, 6
lea ecx, [ebx + eax*8]
lea edx, [ecx + edx + 0xf]
mov ecx, dword [esp + 0x68]
shr edx, 4
shl edx, 4
lea edi, [edi + edx + 0xf]
shr edi, 4
shl ebp, 5
shl edi, 4
lea ebp, [edi + ebp + 0xf]
shr ebp, 4
mov dword [ecx + 0x66d0c], edx
shl ebp, 4
mov dword [esp + 0x6c], ebp
mov dword [ecx + 0x66e2c], ebp
mov ebp, eax
shl ebp, 4
add ebp, edx
mov edx, eax
imul edx, dword [esp + 0x34]
mov dword [ecx + 0x66d9c], edi
add edi, edx
mov dword [ecx + 0x67b1c], edi
mov edi, dword [esp + 0x6c]
add edx, edi
mov dword [ecx + 0x67bac], edx
mov edx, eax
imul edx, edx, 0xf
mov dword [esp + 0x44], edx
mov edx, eax
imul edx, edx, 0x1e
mov dword [esp + 0x48], edx
mov edx, ebx
shl edx, 4
mov dword [esp + 0x54], edx
mov edx, ebx
imul edx, edx, 0xf
mov dword [esp + 0x58], edx
lea edx, [ecx + 0x66d0c]
mov dword [ecx + 0x67a8c], ebp
xor ebp, ebp
mov dword [esp + 0x28], edx
lea edi, [ecx + 0x673cc]
lea edx, [ecx + 0x66d20]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edx
jmp 0x6ce414
xor ebp, ebp
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x40], 4
mov edx, dword [esp + 0x1c]
mov edx, dword [edx - 0x6c0]
mov ebp, dword [esp + 0x10]
add edx, ebp
mov dword [edi - 0x6c0], edx
mov edx, ebp
mov ebp, dword [esp + 0x18]
add ecx, 0x66d0c
add edx, ebp
mov ebp, dword [ecx]
mov ecx, dword [edi - 0x6c0]
add edx, ebp
sub ecx, ebx
mov dword [edi], edx
sub edx, ebx
mov dword [edi - 0x6bc], ecx
mov dword [edi + 4], edx
mov edx, 0x302b3a78
lea ecx, [edi + 8]
mov ebp, dword [edx + 4]
mov edi, dword [edx]
imul ebp, eax
imul edi, ebx
add ebp, edi
mov edi, dword [esp + 0x6c]
add ebp, dword [edi - 0x6c0]
add edi, 0xfffff940
mov dword [ecx - 0x6c0], ebp
mov edi, dword [edx + 4]
mov ebp, dword [edx]
imul edi, eax
imul ebp, ebx
lea edi, [ebp + edi*2]
mov ebp, dword [esp + 0x6c]
add edi, dword [ebp]
mov dword [ecx], edi
mov edi, dword [ecx - 0x6c0]
sub edi, ebx
mov dword [ecx - 0x6bc], edi
mov edi, dword [ecx]
sub edi, ebx
mov dword [ecx + 4], edi
mov ebp, dword [edx + 0xc]
mov edi, dword [edx + 8]
imul ebp, eax
imul edi, ebx
add ebp, edi
mov edi, dword [esp + 0x6c]
add ebp, dword [edi - 0x6c0]
add edi, 0xfffff940
mov dword [ecx - 0x6b8], ebp
mov edi, dword [edx + 0xc]
mov ebp, dword [edx + 8]
imul edi, eax
imul ebp, ebx
lea edi, [ebp + edi*2]
mov ebp, dword [esp + 0x6c]
add edi, dword [ebp]
mov dword [ecx + 8], edi
mov edi, dword [ecx - 0x6b8]
sub edi, ebx
mov dword [ecx - 0x6b4], edi
mov edi, dword [ecx + 8]
sub edi, ebx
mov dword [ecx + 0xc], edi
mov ebp, dword [edx + 0x14]
mov edi, dword [edx + 0x10]
imul ebp, eax
imul edi, ebx
add ebp, edi
mov edi, dword [esp + 0x6c]
add ebp, dword [edi - 0x6c0]
add edi, 0xfffff940
mov dword [ecx - 0x6b0], ebp
mov edi, dword [edx + 0x14]
mov ebp, dword [edx + 0x10]
imul edi, eax
imul ebp, ebx
lea edi, [ebp + edi*2]
mov ebp, dword [esp + 0x6c]
add edi, dword [ebp]
mov dword [ecx + 0x10], edi
mov edi, dword [ecx - 0x6b0]
sub edi, ebx
mov dword [ecx - 0x6ac], edi
mov edi, dword [ecx + 0x10]
sub edi, ebx
mov dword [ecx + 0x14], edi
mov ebp, dword [edx + 0x1c]
mov edi, dword [edx + 0x18]
imul ebp, eax
imul edi, ebx
add ebp, edi
mov edi, dword [esp + 0x6c]
add ebp, dword [edi - 0x6c0]
add edi, 0xfffff940
mov dword [ecx - 0x6a8], ebp
mov edi, dword [edx + 0x1c]
mov ebp, dword [edx + 0x18]
imul edi, eax
imul ebp, ebx
lea edi, [ebp + edi*2]
mov ebp, dword [esp + 0x6c]
add edi, dword [ebp]
add edx, 0x28
mov dword [ecx + 0x18], edi
mov edi, dword [ecx - 0x6a8]
sub edi, ebx
mov dword [ecx - 0x6a4], edi
mov edi, dword [ecx + 0x18]
sub edi, ebx
mov dword [ecx + 0x1c], edi
mov ebp, dword [edx - 4]
mov edi, dword [edx - 8]
imul ebp, eax
imul edi, ebx
add ebp, edi
mov edi, dword [esp + 0x6c]
add ebp, dword [edi - 0x6c0]
add edi, 0xfffff940
mov dword [ecx - 0x6a0], ebp
mov edi, dword [edx - 4]
mov ebp, dword [edx - 8]
imul edi, eax
imul ebp, ebx
lea ebp, [ebp + edi*2]
mov edi, dword [esp + 0x6c]
add ebp, dword [edi]
add ecx, 0x28
mov dword [ecx - 8], ebp
mov ebp, dword [ecx - 0x6c8]
sub ebp, ebx
mov dword [ecx - 0x6c4], ebp
mov ebp, dword [ecx - 8]
sub ebp, ebx
cmp edx, 0x302b3af0
mov dword [ecx - 4], ebp
jl 0x6ce475
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], ecx
lea ecx, [edi - 0x6c0]
mov dword [esp + 0x20], 2
lea esp, [esp]
mov edx, dword [ecx]
mov ebp, edx
sub ebp, eax
mov dword [ecx + 0x80], ebp
mov ebp, dword [esp + 0x78]
mov ebp, dword [ebp]
sub ebp, eax
mov dword [ecx + 0x740], ebp
mov ebp, dword [esp + 0x44]
add edx, ebp
mov ebp, dword [esp + 0x48]
mov dword [ecx + 0x88], edx
mov edx, dword [esp + 0x78]
mov edx, dword [edx]
add edx, ebp
mov ebp, dword [esp + 0x78]
mov dword [ecx + 0x748], edx
mov edx, dword [esp + 0x20]
add ebp, 4
add ecx, 4
dec edx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x20], edx
jne 0x6ce640
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x6ce911
mov edx, dword [esp + 0x1c]
shl ecx, 7
lea ecx, [ecx + 0x302b3a78]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x34]
dec ecx
imul ecx, eax
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x68]
add ecx, 0x66d9c
add edi, 0x90
add edx, 0xfffff9d0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x3c], 2
mov edx, dword [esp + 0x78]
mov edx, dword [edx]
mov ecx, dword [esp + 0x14]
add edx, ecx
mov dword [edi - 0x6c0], edx
mov edx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [esp + 0x20]
add ecx, dword [edx]
mov dword [edi], ecx
mov ecx, dword [edi - 0x6c0]
mov edx, dword [edi]
sub ecx, esi
sub edx, esi
mov dword [edi - 0x6bc], ecx
mov dword [edi + 4], edx
mov edx, dword [esp + 0x4c]
lea ecx, [edi + 8]
mov dword [esp + 0x38], 3
mov ebx, dword [edx + 4]
mov ebp, dword [edx]
imul ebx, eax
imul ebp, esi
add ebx, ebp
add ebx, dword [edi - 0x6c0]
mov dword [ecx - 0x6c0], ebx
mov ebx, dword [edx + 4]
mov ebp, dword [edx]
imul ebx, eax
imul ebp, esi
lea ebx, [ebp + ebx*2]
add ebx, dword [edi]
mov dword [ecx], ebx
mov ebx, dword [ecx - 0x6c0]
sub ebx, esi
mov dword [ecx - 0x6bc], ebx
mov ebx, dword [ecx]
sub ebx, esi
mov dword [ecx + 4], ebx
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 8]
imul ebx, eax
imul ebp, esi
add ebx, ebp
add ebx, dword [edi - 0x6c0]
mov dword [ecx - 0x6b8], ebx
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 8]
imul ebx, eax
imul ebp, esi
lea ebx, [ebp + ebx*2]
add ebx, dword [edi]
mov dword [ecx + 8], ebx
mov ebx, dword [ecx - 0x6b8]
sub ebx, esi
mov dword [ecx - 0x6b4], ebx
mov ebx, dword [ecx + 8]
sub ebx, esi
mov dword [ecx + 0xc], ebx
mov ebx, dword [edx + 0x14]
mov ebp, dword [edx + 0x10]
imul ebx, eax
imul ebp, esi
add ebx, ebp
add ebx, dword [edi - 0x6c0]
mov dword [ecx - 0x6b0], ebx
mov ebx, dword [edx + 0x14]
mov ebp, dword [edx + 0x10]
imul ebx, eax
imul ebp, esi
lea ebx, [ebp + ebx*2]
add ebx, dword [edi]
mov dword [ecx + 0x10], ebx
mov ebx, dword [ecx - 0x6b0]
sub ebx, esi
mov dword [ecx - 0x6ac], ebx
mov ebx, dword [ecx + 0x10]
sub ebx, esi
mov dword [ecx + 0x14], ebx
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x18]
imul ebx, eax
imul ebp, esi
add ebx, ebp
add ebx, dword [edi - 0x6c0]
mov dword [ecx - 0x6a8], ebx
mov ebx, dword [edx + 0x1c]
mov ebp, dword [edx + 0x18]
imul ebx, eax
imul ebp, esi
lea ebx, [ebp + ebx*2]
add ebx, dword [edi]
mov dword [ecx + 0x18], ebx
mov ebx, dword [ecx - 0x6a8]
sub ebx, esi
mov dword [ecx - 0x6a4], ebx
mov ebx, dword [ecx + 0x18]
sub ebx, esi
mov dword [ecx + 0x1c], ebx
mov ebx, dword [edx + 0x24]
mov ebp, dword [edx + 0x20]
imul ebx, eax
imul ebp, esi
add ebx, ebp
add ebx, dword [edi - 0x6c0]
mov dword [ecx - 0x6a0], ebx
mov ebx, dword [edx + 0x24]
mov ebp, dword [edx + 0x20]
imul ebx, eax
imul ebp, esi
lea ebx, [ebp + ebx*2]
add ebx, dword [edi]
mov dword [ecx + 0x20], ebx
mov ebx, dword [ecx - 0x6a0]
sub ebx, esi
mov dword [ecx - 0x69c], ebx
mov ebx, dword [ecx + 0x20]
sub ebx, esi
mov dword [ecx + 0x24], ebx
mov ebx, dword [esp + 0x38]
add edx, 0x28
add ecx, 0x28
dec ebx
mov dword [esp + 0x38], ebx
jne 0x6ce725
lea ecx, [edi - 0x6c0]
mov dword [esp + 0x38], 2
lea ecx, [ecx]
mov edx, dword [ecx]
mov ebx, edx
sub ebx, eax
mov dword [ecx + 0x80], ebx
mov ebx, dword [ecx + 0x6c0]
mov ebp, ebx
sub ebp, eax
mov dword [ecx + 0x740], ebp
mov ebp, dword [esp + 0x50]
add edx, ebp
mov dword [ecx + 0x88], edx
lea edx, [ebx + ebp*2]
mov dword [ecx + 0x748], edx
mov edx, dword [esp + 0x38]
add ecx, 4
dec edx
mov dword [esp + 0x38], edx
jne 0x6ce8a0
mov ebp, dword [esp + 0x78]
mov ebx, dword [esp + 0x20]
mov ecx, 0x90
add ebp, ecx
add ebx, ecx
add edi, ecx
mov ecx, dword [esp + 0x3c]
dec ecx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x3c], ecx
jne 0x6ce6e1
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x68]
add ebp, 0x1b0
mov dword [esp + 0x24], ebp
add dword [esp + 0x10], edx
mov ebp, dword [esp + 0x14]
lea edx, [esi*8]
add ebp, edx
mov edx, dword [esp + 0x40]
add edi, 0x1b0
dec edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x40], edx
jne 0x6ce430
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x58]
mov ebp, dword [edx + 0x4fc]
add ebp, edi
mov dword [edx - 0x10], ebp
mov ebp, dword [edx + 0xbbc]
add ebp, edi
mov dword [edx + 0x6b0], ebp
mov ebp, dword [edx + 0x50c]
add ebp, edi
mov dword [edx], ebp
mov ebp, dword [edx + 0xbcc]
add ebp, edi
mov dword [edx + 0x6c0], ebp
mov ebp, dword [edx + 0x53c]
add ebp, edi
mov dword [edx + 0x30], ebp
mov ebp, dword [edx + 0xbfc]
add ebp, edi
mov dword [edx + 0x6f0], ebp
mov ebp, dword [edx + 0x54c]
add ebp, edi
mov dword [edx + 0x40], ebp
mov ebp, dword [edx + 0xc0c]
add ebp, edi
mov dword [edx + 0x700], ebp
mov ebp, dword [edx + 0x57c]
add ebp, edi
mov dword [edx + 0x70], ebp
mov ebp, dword [edx + 0xc3c]
add ebp, edi
mov dword [edx + 0x730], ebp
mov ebp, dword [edx + 0x584]
add ebp, edi
mov dword [edx + 0x78], ebp
mov ebp, dword [edx + 0xc44]
add ebp, edi
mov edi, dword [esp + 0x74]
test edi, edi
mov dword [edx + 0x738], ebp
je 0x6ceaaa
mov ebp, 1
mov dword [esp + 0x40], ebp
jmp 0x6cea10
mov edi, dword [esp + 0x74]
lea edi, [edi + edi + 2]
test edi, edi
mov dword [esp + 0x78], edi
jle 0x6cea9c
mov edx, dword [esp + 0x30]
add edx, ebp
mov ebp, dword [esp + 0x74]
lea ebp, [ebp + ebp*2]
lea ebp, [ebp*8 + 0x302724f8]
mov edi, esi
lea edx, [edx + edx*8]
imul edi, edi, 7
mov dword [esp + 0x6c], ebp
mov ebp, dword [esp + 0x78]
shl edx, 1
mov dword [esp + 0x50], edx
mov dword [esp + 0x78], ebp
jmp 0x6cea55
mov edx, dword [esp + 0x50]
mov ebp, dword [esp + 0x6c]
mov ebp, dword [ebp]
add edx, ebp
mov ebp, dword [ecx + edx*8 + 0x6721c]
add ebp, edi
mov dword [ecx + edx*8 + 0x66d10], ebp
mov ebp, dword [ecx + edx*8 + 0x678dc]
add ebp, edi
mov dword [ecx + edx*8 + 0x673d0], ebp
mov ebp, dword [esp + 0x6c]
mov edx, dword [esp + 0x78]
add ebp, 4
dec edx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x78], edx
jne 0x6cea51
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x40]
inc ebp
cmp ebp, 3
mov dword [esp + 0x40], ebp
jl 0x6cea10
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x18]
add edx, 0xd80
add edi, 0x1440
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x1c]
add edx, 0x18
add ebp, eax
add edi, 0xd80
cmp edx, 0x30
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], edx
jl 0x6ce412
pop edi
mov dword [ecx + 0x88878], esi
pop esi
pop ebp
mov dword [ecx + 0x88874], ebx
mov dword [ecx + 0x6880c], eax
pop ebx
add esp, 0x54
ret