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

Disassembly:
sub esp, 0xd4
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi]
push 0
call dword [eax + 0x64]
test eax, eax
jne 0x6ce9b3
mov eax, dword [esi + 0x108]
test eax, eax
jne 0x6ce9b3
mov ecx, dword [0x821b68]
mov eax, dword [ecx + 0xb4]
test eax, eax
je 0x6ce5ea
push 0x1a8
call fcn.0076d5a7
mov edi, eax
add esp, 4
test edi, edi
je 0x6ce521
mov edx, dword [esi]
push 0
push 0x600
push 1
lea eax, [esp + 0xdc]
push 0
push eax
mov ecx, esi
call dword [edx + 0x48]
mov ecx, dword [0x821b68]
push eax
mov edx, dword [ecx + 0xb4]
mov ecx, edi
push edx
call fcn.00420110
jmp 0x6ce523
xor eax, eax
test eax, eax
mov dword [esi + 0x108], eax
je 0x6ce9b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
cmp eax, 6
je 0x6ce5b9
mov edx, dword [0xaa86e0]
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0xaa86e0
mov dword [esp + 0x1c], esi
call dword [edx + 0x10]
cmp eax, 0xffffffff
je 0x6ce564
push eax
mov ecx, 0xaa86e0
call fcn.004547a0
mov eax, dword [0xaa86e8]
mov ecx, dword [0xaa86f0]
cmp ecx, eax
jl 0x6ce5a1
mov cl, byte [0xaa86ed]
test cl, cl
jne 0x6ce581
test eax, eax
jne 0x6ce5b9
mov ecx, dword [0xaa86f4]
test ecx, ecx
jle 0x6ce5b9
add eax, ecx
push 0
push eax
mov eax, dword [0xaa86e0]
mov ecx, 0xaa86e0
call dword [eax + 8]
test al, al
je 0x6ce5b9
mov ecx, dword [0xaa86f0]
mov eax, ecx
inc ecx
mov dword [0xaa86f0], ecx
mov ecx, dword [0xaa86e4]
mov dword [ecx + eax*4], esi
mov ecx, dword [esi + 0x108]
push esi
call fcn.00422540
mov al, byte [0xa28753]
test al, al
jne 0x6ce9b3
mov edx, dword [esi + 0x108]
pop edi
pop esi
mov byte [edx + 0x17d], 1
add esp, 0xd4
ret 8
mov eax, dword [0x81a6e4]
push ebx
push ebp
cmp dword [eax + 4], 1
jne 0x6ce606
mov eax, dword [eax + 0x174]
xor ecx, ecx
mov cl, byte [eax + 0xc]
mov ebp, ecx
jmp 0x6ce612
mov edx, dword [eax + 0x174]
xor ebp, ebp
mov bp, word [edx + 0x18]
mov eax, dword [esp + 0xe8]
mov cl, byte [0xa2894c]
mov ebx, dword [eax]
mov esi, dword [eax + 4]
mov eax, 8
test al, cl
je 0x6ce63c
mov ecx, 0xc
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x6ce650
mov dword [esp + 0x14], 0xa
mov dword [esp + 0x18], 6
mov ecx, dword [esp + 0x14]
lea edx, [ebx + ecx]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
sub edx, ecx
mov edi, ecx
mov dword [esp + 0x2c], edx
mov edx, 4
sub edx, ecx
mov dword [esp + 0x20], 2
mov dword [esp + 0x30], edx
mov edx, 0xfffffffc
neg edi
neg eax
sub edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x38], edx
jmp 0x6ce693
mov eax, dword [esp + 0x1c]
lea ecx, [esi + edi]
add eax, ebx
mov dword [esp + 0x98], ecx
lea ecx, [esi + edi]
mov dword [esp + 0x94], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [0x821c7c]
lea edx, [esp + 0x94]
lea eax, [edi + ebx]
push ebp
push edx
mov dword [esp + 0x5c], eax
mov eax, dword [ecx]
lea edx, [esp + 0x5c]
push edx
call dword [eax + 0x30]
mov eax, dword [esp + 0x10]
lea ecx, [esi + edi]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], eax
add eax, ecx
lea ecx, [esi + edi]
mov dword [esp + 0x34], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov ecx, dword [0x821c7c]
lea eax, [esp + 0xa4]
push ebp
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x6c]
push eax
call dword [edx + 0x30]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
add ecx, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
lea ecx, [esi + edi]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov ecx, dword [0x821c7c]
lea eax, [esp + 0x3c]
push ebp
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x7c]
push eax
call dword [edx + 0x30]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ebp
lea eax, [esi + ecx]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xb4], eax
lea eax, [esi + edx]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x88], ecx
mov ecx, dword [0x821c7c]
lea edx, [esp + 0xb0]
push edx
mov dword [esp + 0x90], eax
mov eax, dword [ecx]
lea edx, [esp + 0x8c]
push edx
call dword [eax + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xb4], eax
lea eax, [esi + ecx]
mov ecx, dword [0x821c7c]
mov dword [esp + 0x44], edx
lea edx, [esp + 0xb4]
push ebp
mov dword [esp + 0xbc], eax
mov dword [esp + 0x4c], eax
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x4c]
push edx
call dword [eax + 0x30]
mov ecx, dword [esp + 0x1c]
lea eax, [edi + ebx]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
add eax, esi
add ecx, ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
mov ecx, dword [0x821c7c]
lea eax, [esp + 0x4c]
push ebp
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x64]
push eax
call dword [edx + 0x30]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea eax, [edi + ebx]
push ebp
mov dword [esp + 0x70], eax
lea eax, [esi + ecx]
mov ecx, dword [0x821c7c]
mov dword [esp + 0x74], eax
lea eax, [edi + ebx]
mov dword [esp + 0x80], eax
lea eax, [esi + edx]
lea edx, [esp + 0x70]
mov dword [esp + 0x84], eax
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x84]
push edx
call dword [eax + 0x30]
lea ecx, [esi + edi]
lea eax, [edi + ebx]
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
lea eax, [edi + ebx]
add ecx, esi
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ecx
mov ecx, dword [0x821c7c]
lea eax, [esp + 0x8c]
push ebp
mov edx, dword [ecx]
push eax
lea eax, [esp + 0xa4]
push eax
call dword [edx + 0x30]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
add ecx, eax
add eax, edx
mov dword [esp + 0xbc], ecx
mov ecx, dword [0x821c7c]
lea edx, [esp + 0xbc]
push ebp
push edx
mov dword [esp + 0xc8], esi
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], esi
mov eax, dword [ecx]
lea edx, [esp + 0xd4]
push edx
call dword [eax + 0x30]
mov ecx, dword [0x821c7c]
lea eax, [esi + 4]
mov dword [esp + 0xc8], eax
lea eax, [esi - 4]
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], eax
mov eax, dword [ecx]
push ebp
lea edx, [esp + 0xc8]
push edx
lea edx, [esp + 0xe0]
push edx
call dword [eax + 0x30]
mov ecx, dword [esp + 0x10]
inc ebx
inc ecx
lea eax, [esp + 0xd4]
mov dword [esp + 0x10], ecx
mov ecx, dword [0xa1e0c4]
push eax
mov eax, dword [0xa9e9e4]
mov edx, dword [ecx + 0x15f40]
inc esi
mov ecx, dword [eax + edx*4]
add ecx, 0x308
call fcn.004fe400
mov cx, word [eax]
mov word [esp + 0x24], cx
mov cl, byte [0x83b2d4]
mov dl, byte [eax + 2]
mov byte [esp + 0x26], dl
mov ebp, dword [esp + 0x26]
mov eax, dword [esp + 0x25]
and ebp, 0xff
shr ebp, cl
mov ecx, dword [0x83b2d0]
mov edx, dword [esp + 0x24]
and eax, 0xff
and edx, 0xff
shl ebp, cl
mov cl, byte [0x83b2dc]
shr eax, cl
mov ecx, dword [0x83b2d8]
shl eax, cl
mov cl, byte [0x83b2cc]
shr edx, cl
mov ecx, dword [0x83b2c8]
or ebp, eax
mov eax, dword [esp + 0x20]
shl edx, cl
or ebp, edx
dec eax
mov dword [esp + 0x20], eax
jne 0x6ce68f
pop ebp
pop ebx
pop edi
pop esi
add esp, 0xd4
ret 8