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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6e17b0
sub esp, 0x50
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
xor eax, eax
xor ecx, ecx
xor ebp, ebp
xor esi, esi
lea edi, [esp + 0x28]
jmp 0x6e11b2
inc eax
mov ebx, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
mov ebx, esi
mov esi, ecx
mov ecx, edx
mov edx, dword [esp + 0x58]
cmp eax, ebx
jge 0x6e1772
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x4c], edi
mov byte [esp + 0x2a], cl
lea edx, [edx + eax*8]
mov ebx, dword [edx]
mov dword [esp + 0x48], ebx
mov edx, dword [edx + 4]
mov dword [esp + 0x38], edx
cmp edx, 2
jge 0x6e172d
mov dword [esp + 0x3c], eax
xor eax, eax
mov byte [esp + 0x29], al
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esp + 0x29]
test bl, bl
jne 0x6e16e4
xor ebx, ebx
test bl, bl
jne 0x6e1600
cmp edx, 1
jge 0x6e15bf
xor ebx, ebx
test bl, bl
jne 0x6e1576
xor ebx, ebx
test bl, bl
je 0x6e156f
cmp edx, 2
je 0x6e151b
xor ebx, ebx
test bl, bl
je 0x6e12b4
lea ebx, [esi + 1]
cmp ebx, ebp
ja 0x6e1279
mov ecx, ebx
lea ebx, [edi + esi*8 + 4]
mov dword [ebx], edx
lea edx, [edi + esi*8]
mov ebx, dword [0xc83da0]
test ebx, ebx
jne 0x6e1264
mov ebx, dword [esp + 0x48]
mov dword [edx], ebx
mov edx, 1
jmp 0x6e119f
mov ebx, edi
mov edi, edx
mov esi, eax
mov eax, dword [esp + 0x48]
call fcn.00459d90
mov eax, esi
mov edi, ebx
jmp 0x6e125a
lea eax, [0x7cfd20]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00443b60
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
jmp 0x6e123f
test cl, cl
je 0x6e1331
lea ebx, [esi + 1]
cmp ebx, ebp
ja 0x6e12f6
mov ecx, ebx
lea ebx, [edi + esi*8 + 4]
mov dword [ebx], edx
mov edx, dword [0xc83da0]
lea ebx, [edi + esi*8]
test edx, edx
jne 0x6e12e1
mov edx, dword [esp + 0x48]
mov dword [ebx], edx
xor edx, edx
jmp 0x6e119f
mov edx, edi
mov edi, ebx
mov esi, eax
mov eax, dword [esp + 0x48]
call fcn.00459d90
mov eax, esi
mov edi, edx
jmp 0x6e12da
lea eax, [0x7cfd20]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00443b60
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
jmp 0x6e12bf
cmp edx, 3
jl 0x6e150f
mov ebx, dword [esp + 0x48]
cmp byte [ebx + 1], 0x2d
jne 0x6e13cc
lea ebx, [esi + 1]
cmp ebx, ebp
ja 0x6e138c
mov dword [esp + 0x30], ebx
lea ebx, [edi + esi*8 + 4]
mov dword [ebx], edx
mov edx, dword [0xc83da0]
lea ebx, [edi + esi*8]
test edx, edx
jne 0x6e1377
mov edx, dword [esp + 0x48]
mov dword [ebx], edx
mov edx, ecx
mov ecx, dword [esp + 0x30]
jmp 0x6e119f
mov edx, edi
mov edi, ebx
mov esi, eax
mov eax, dword [esp + 0x48]
call fcn.00459d90
mov eax, esi
mov edi, edx
jmp 0x6e136c
lea eax, [0x7cfd20]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00443b60
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
jmp 0x6e134f
cmp edx, 2
jl 0x6e13e0
cmp byte [ebx], 0x2d
jne 0x6e13e0
cmp byte [ebx + 1], 0x2d
jne 0x6e1348
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.006e0f60
mov eax, dword [esp + 0xc]
test eax, eax
je 0x6e14db
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.006e52a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x6e14af
mov edx, dword [esp + 0x2c]
lea eax, [edx + 1]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
ja 0x6e179e
mov edx, dword [esp + 0x44]
mov dword [esp], edx
mov edx, dword [esp + 0x60]
sub edx, eax
mov ebx, edx
neg edx
mov ebp, eax
shl eax, 3
sar edx, 0x1f
and edx, eax
mov eax, dword [esp + 0x58]
add eax, edx
mov dword [esp + 4], eax
sub ecx, ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
call fcn.006e1170
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
add esp, 0x50
ret
mov dword [esp + 0x64], 0
mov edx, dword [esp + 0x58]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
add esp, 0x50
ret
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x50
ret
cmp edx, 2
mov ebx, dword [esp + 0x48]
jmp 0x6e13cf
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.006e43f0
mov eax, dword [esp + 0x48]
lea ecx, [eax + 1]
mov edx, dword [esp + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
lea ebx, [ecx - 1]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.006e0590
movzx ebx, byte [esp + 0xc]
xor ebx, 1
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
jmp 0x6e1234
xor ebx, ebx
jmp 0x6e1234
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [0x83f3a9]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.004efdd0
mov eax, dword [esp + 0x10]
test eax, eax
setl bl
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
jmp 0x6e1221
mov eax, dword [esp + 0x48]
mov dword [esp], eax
lea ecx, [0x83f39f]
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
call fcn.00402420
movzx ebx, byte [esp + 0xc]
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
jmp 0x6e1217
cmp edx, 2
jb 0x6e17a3
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call fcn.006e43f0
mov eax, dword [esp + 0x38]
lea ecx, [eax - 2]
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 2
mov ebx, dword [esp + 0x48]
add ecx, ebx
mov ebp, dword [esp + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
call fcn.006e0500
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x34]
cmp edx, ebx
ja 0x6e16a1
mov ebp, dword [esp + 0x4c]
lea esi, [ebp + ecx*8 + 4]
mov edi, edx
mov edx, dword [esp + 0x38]
mov dword [esi], edx
lea edx, [ebp + ecx*8]
mov esi, dword [0xc83da0]
test esi, esi
jne 0x6e168c
mov esi, dword [esp + 0x48]
mov dword [edx], esi
xor eax, 1
mov edx, eax
mov ecx, edi
mov edi, ebp
mov eax, dword [esp + 0x2c]
mov ebp, ebx
jmp 0x6e119f
mov ecx, edi
mov edi, edx
mov esi, eax
mov eax, dword [esp + 0x48]
call fcn.00459d90
mov eax, esi
mov edi, ecx
jmp 0x6e1678
mov byte [esp + 0x2b], al
lea eax, [0x7cfd20]
mov dword [esp], eax
mov ebp, dword [esp + 0x4c]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00443b60
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
movzx eax, byte [esp + 0x2b]
mov ecx, dword [esp + 0x30]
jmp 0x6e1658
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov dword [esp + 4], edx
lea ecx, [0x83f3a9]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
call fcn.004efdd0
mov eax, dword [esp + 0x10]
test eax, eax
setl bl
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
jmp 0x6e1204
mov dword [esp], ebx
lea eax, [0x83f402]
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.00402420
movzx eax, byte [esp + 0xc]
movzx ecx, byte [esp + 0x2a]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x4c]
mov byte [esp + 0x29], al
mov eax, dword [esp + 0x2c]
jmp 0x6e11f5
mov eax, dword [esp + 0x54]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
add esp, 0x50
ret
call fcn.00459e70
mov eax, 2
mov ecx, edx
call fcn.00459e70
nop
call fcn.00458550
jmp fcn.006e1170