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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x6e5bb4
sub esp, 0xb0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
lea eax, [esp + 0x18]
mov dword [esp + 0x3c], eax
movzx ecx, byte [esp + 0xb5]
test cl, cl
je 0x6e5a23
movzx ecx, cl
cmp ecx, 4
jae 0x6e5b9f
lea eax, [0xb7b2a0]
lea eax, [eax + ecx*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xc0]
mov dword [esp], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xc8]
mov dword [esp + 8], edx
call fcn.004cec50
mov eax, dword [esp + 0x14]
cmp eax, 0xffffffff
jne 0x6e5620
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x34], eax
movzx ecx, byte [esp + 0xb5]
cmp cl, 3
je 0x6e586c
mov ecx, dword [esp + 0xc4]
cmp eax, ecx
jne 0x6e5797
mov dword [esp], 0
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc], eax
call fcn.0043beb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.006cda70
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.0043c000
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x6e56d5
lea edi, [esp + 0xb4]
lea esi, [esp + 0x40]
call fcn.0044cf82
mov ecx, dword [esp + 0x2c]
sub ecx, eax
mov edx, dword [esp + 0x30]
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov ebp, dword [esp + 0x38]
add eax, ebp
mov edx, ebx
test ecx, ecx
je 0x6e576f
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
movzx ebx, byte [esp + 0xb4]
cmp ebx, 0x19
jae 0x6e5b8a
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], edx
lea ebp, [0xb7c100]
mov ebx, dword [ebp + ebx*4]
mov edi, esp
lea esi, [esp + 0xb4]
call fcn.0044cf82
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov ebp, dword [ebx]
mov edx, ebx
call ebp
lea edi, [esp + 0x58]
mov esi, dword [esp + 0x3c]
call fcn.0044cf82
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x40]
lea esi, [esp + 0x58]
call fcn.0044cf82
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jbe 0x6e56a8
jmp 0x6e5b83
lea edi, [esp + 0xcc]
lea esi, [esp + 0xb4]
call fcn.0044cf82
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xd8], eax
add esp, 0xb0
ret
movzx ecx, byte [esp + 0xb9]
mov byte [esp + 0x2b], cl
movzx edx, byte [esp + 0xb4]
cmp dl, 7
jne 0x6e580d
cmp cl, 1
jne 0x6e580d
movzx edx, byte [esp + 0xb8]
cmp dl, 2
jne 0x6e580d
mov edx, dword [esp + 0xc8]
cmp eax, edx
ja 0x6e5b7c
mov dword [esp], 0
mov ecx, dword [esp + 0xc0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0043beb0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.006e7fc0
movzx eax, byte [esp + 8]
test al, al
je 0x6e5868
movzx eax, byte [esp + 0x2b]
movzx ecx, byte [esp + 0xb5]
cmp cl, 3
je 0x6e5862
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xcc], 1
mov byte [esp + 0xd1], al
mov dword [esp + 0xd8], ecx
add esp, 0xb0
ret
mov ecx, dword [esp + 0x34]
jmp 0x6e5824
xor eax, eax
jmp 0x6e5812
mov ecx, dword [esp + 0xc8]
cmp eax, ecx
ja 0x6e5b98
mov edx, dword [esp + 0xc0]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea ebx, [0x833f4c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 5
call fcn.004cec50
mov eax, dword [esp + 0x14]
test eax, eax
jge 0x6e58b5
mov eax, dword [esp + 0x34]
jmp 0x6e5635
lea ecx, [eax + 1]
cmp eax, ecx
ja 0x6e5b91
mov edx, dword [esp + 0xc8]
cmp ecx, edx
ja 0x6e5b91
mov ecx, edx
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0xc0]
add eax, edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], ebx
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea eax, [0x7948e0]
mov dword [esp], eax
lea ecx, [esp + 0x70]
mov dword [esp + 4], ecx
call fcn.00407530
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
lea eax, [0x7948e0]
mov dword [esp], eax
lea eax, [esp + 0x64]
mov dword [esp + 4], eax
call fcn.00407530
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp], 2
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea eax, [0x83eca1]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x17
lea eax, [esp + 0xa0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], 2
mov dword [esp + 0x20], 2
call fcn.006e0c20
mov eax, dword [esp + 0x24]
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov byte [esp + 0xcc], 0x18
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0xd8], eax
add esp, 0xb0
ret
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov edi, esp
lea esi, [esp + 0xb4]
call fcn.0044cf82
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0x14], ecx
call fcn.006eb140
lea edi, [esp + 0x94]
mov esi, dword [esp + 0x3c]
call fcn.0044cf82
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x4c]
lea esi, [esp + 0x94]
call fcn.0044cf82
test eax, eax
je 0x6e5b5a
mov ecx, dword [esp + 0xc8]
cmp eax, ecx
ja 0x6e5bad
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
movzx ebx, byte [esp + 0xb4]
cmp ebx, 0x19
jae 0x6e5ba6
lea ebp, [0xb7c100]
mov edx, dword [ebp + ebx*4]
mov edi, esp
lea esi, [esp + 0xb4]
call fcn.0044cf82
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0x14], eax
mov eax, dword [edx]
call eax
lea edi, [esp + 0x7c]
mov esi, dword [esp + 0x3c]
call fcn.0044cf82
mov eax, dword [esp + 0x24]
lea edi, [esp + 0x88]
lea esi, [esp + 0x7c]
call fcn.0044cf82
lea edi, [esp + 0xcc]
lea esi, [esp + 0x88]
call fcn.0044cf82
mov dword [esp + 0xd8], eax
add esp, 0xb0
ret
lea edi, [esp + 0xcc]
lea esi, [esp + 0x4c]
call fcn.0044cf82
mov dword [esp + 0xd8], 0
add esp, 0xb0
ret
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004264e0
ud2
call fcn.004265e0
ud2
call fcn.004265e0
ud2
call fcn.004264e0
ud2
call fcn.004264e0
ud2
call fcn.004265e0
ud2
call fcn.0044b230
jmp fcn.006e5570