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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6dbf6c
sub esp, 0x54
mov eax, dword [esp + 0x58]
movzx ecx, word [eax]
test cx, 0x80
jne 0x6db8ac
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x54
ret
mov ecx, dword [esp + 0x60]
cmp ecx, 2
jl 0x6db867
mov edx, dword [esp + 0x5c]
cmp byte [edx], 0x5c
jne 0x6db867
movzx ebx, byte [edx + 1]
cmp bl, 0x70
je 0x6db8cc
cmp bl, 0x50
jne 0x6db867
cmp bl, 0x50
jne 0x6dbf3b
mov ebx, 0xffffffff
mov dword [esp + 0x28], ebx
lea eax, [ecx - 2]
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, 2
add eax, edx
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.006dd6d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x6dbefe
cmp ebp, 0x7b
je 0x6dbd29
mov ebx, dword [esp + 0x60]
mov ebp, ebx
sub ebx, ecx
cmp ebx, ebp
ja 0x6dbf62
cmp ebx, 2
jb 0x6dbf56
lea eax, [ebx - 2]
mov ebp, eax
neg eax
sar eax, 0x1f
and eax, 2
mov esi, dword [esp + 0x5c]
add eax, esi
test ebp, ebp
je 0x6dbd20
cmp byte [eax], 0x5e
jne 0x6dbd20
mov edi, dword [esp + 0x28]
xchg edi, ebx
neg ebx
xchg edi, ebx
dec ebp
mov dword [esp + 0x30], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add eax, ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x28], edi
cmp ebp, 3
jne 0x6dbc01
cmp word [eax], 0x6e41
jne 0x6dbc01
cmp byte [eax + 2], 0x79
jne 0x6dbc01
mov eax, dword [0x10d78c8]
mov ebp, eax
test eax, eax
je 0x6dbb73
mov ebx, dword [esp + 0x58]
movzx esi, word [ebx]
test si, 1
jne 0x6dba63
test edi, edi
jle 0x6dba35
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.006dcee0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x54
ret
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.006dd0b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
jmp 0x6db9fc
test ebp, ebp
je 0x6db9cc
mov dword [esp + 0x50], ebp
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x28]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.006dcee0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
call fcn.006dcee0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], edx
lea edi, [ebx + 0x20]
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x6dbb69
mov dword [ebx + 0x20], eax
mov dword [esp], edi
call fcn.006dc710
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x28]
test ebx, ebx
jle 0x6dbb30
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.006dcc50
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x6db9fc
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.006dcdd0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
jmp 0x6db9fc
call fcn.00460b40
jmp 0x6dbadb
lea eax, [0xaef680]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0xba872c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x6dbbef
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0xc837e0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x54
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00460b40
mov eax, ecx
jmp 0x6dbbac
mov dword [esp + 0x34], ebp
mov dword [esp + 0x48], eax
lea ecx, [0xab4620]
mov dword [esp], ecx
mov edx, dword [0x10e3b04]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
call fcn.00410690
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
je 0x6dbc82
mov dword [esp + 0x44], eax
lea eax, [0xab4620]
mov dword [esp], eax
mov eax, dword [0x10e3b08]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.00410690
mov eax, dword [esp + 0x10]
mov ebp, dword [eax]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
jmp 0x6db9b2
lea eax, [0xab4620]
mov dword [esp], eax
mov ecx, dword [0x10e3b14]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0xc], edx
call fcn.00410690
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
test eax, eax
jne 0x6dbcd1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
xor eax, eax
xor ebp, ebp
jmp 0x6db9b2
mov dword [esp + 0x40], eax
lea eax, [0xab4620]
mov dword [esp], eax
mov eax, dword [0x10e3b0c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
call fcn.00410690
mov eax, dword [esp + 0x10]
mov ebp, dword [eax]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
jmp 0x6db9b2
mov edi, dword [esp + 0x28]
jmp 0x6db97c
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x7d
call fcn.004b29e0
mov ecx, dword [esp + 0xc]
test ecx, ecx
jl 0x6dbe0f
lea ebx, [ecx + 1]
mov edx, dword [esp + 0x60]
cmp ebx, edx
ja 0x6dbf4f
sub edx, ebx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ebx
mov esi, dword [esp + 0x5c]
add edx, esi
cmp ecx, 3
jb 0x6dbf45
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], edx
lea eax, [ecx - 3]
mov dword [esp + 0x30], eax
mov ecx, eax
neg eax
sar eax, 0x1f
and eax, 3
add eax, esi
mov dword [esp + 0x4c], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.006dd5d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x6dbdd2
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
jmp 0x6db94a
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x54
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
call fcn.006dd5d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
jne 0x6dbec1
lea eax, [0xaef680]
mov dword [esp], eax
call fcn.0040bd00
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0xba872c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x10fd360]
test ecx, ecx
jne 0x6dbeaf
mov ecx, dword [esp + 0x5c]
mov dword [eax + 8], ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0xc837e0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x54
ret
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00460b40
mov eax, ecx
jmp 0x6dbe6c
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x54
ret
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
add esp, 0x54
ret
mov ebx, 1
jmp 0x6db8da
mov eax, 3
call fcn.00460c20
mov ecx, ebx
call fcn.00460be0
mov eax, 2
mov ecx, ebx
call fcn.00460c20
mov ecx, ebx
mov edx, ebp
call fcn.00460be0
nop
call fcn.0045f5f0
jmp fcn.006db840