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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x6dbbd5
sub esp, 0x90
mov eax, dword [esp + 0x98]
test eax, eax
je 0x6dbb9f
call fcn.00580df0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 4]
test eax, eax
jne 0x6dbb7f
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x30], ebx
xor eax, eax
xor edx, edx
jmp 0x6db6dc
mov ebp, dword [esp + 0x34]
lea eax, [ebp + 1]
mov ebp, dword [esp + 0x30]
mov ebx, ebp
mov edx, ecx
mov ecx, dword [esp + 0x5c]
cmp eax, ebx
jge 0x6db7d8
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov ebp, dword [0xdb9fcc]
mov esi, dword [0xdb9fc8]
cmp ebp, 0x10
jge 0x6db7ce
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x48]
cmp edx, esi
je 0x6db739
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.004579b0
mov dword [esp + 0x54], 0xfb0000e0
lea edi, [esp + 0x78]
xor eax, eax
call fcn.004572aa
lea edi, [esp + 0x78]
call fcn.004572aa
lea ecx, [esp + 0x48]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], 0x10
mov dword [esp + 0x80], 0x10
mov ecx, dword [esp + 0x94]
test byte [ecx], al
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
cmp edx, ebx
jae 0x6dbbcb
lea eax, [ecx + 4]
mov dword [esp], eax
shl edx, 5
mov ebx, dword [esp + 0x5c]
add edx, ebx
mov dword [esp + 4], edx
lea edx, [0xa519c0]
mov dword [esp + 8], edx
lea ebp, [esp + 0x78]
mov dword [esp + 0xc], ebp
call fcn.006d7060
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6db7c5
mov ecx, dword [esp + 0x2c]
inc ecx
jmp 0x6db6c9
mov ecx, dword [esp + 0x2c]
jmp 0x6db6c9
mov ebp, 0x10
jmp 0x6db719
cmp edx, ebx
jge 0x6dbb53
lea eax, [0x982255]
mov dword [esp], eax
mov dword [esp + 4], 3
lea eax, [0x98afb2]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0x10
call fcn.00598240
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
test ecx, ecx
jne 0x6dbb33
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x14]
test ebx, ebx
je 0x6dbb15
mov dword [esp + 0x58], edx
mov dword [esp + 0x20], ebx
mov ebp, dword [ecx + 0xc]
mov dword [esp + 0x44], ebp
mov esi, dword [ecx + 8]
mov dword [esp + 0x74], esi
xor edi, edi
xor edi, edi
mov dword [esp + 0x24], edi
lea edi, [0xdd7ba0]
mov dword [esp + 0x70], edi
xor edi, edi
mov dword [esp + 0x28], edi
xor edi, edi
jmp 0x6db895
mov eax, dword [esp + 0x40]
inc eax
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x24], edi
mov dword [esp + 0x70], esi
mov dword [esp + 0x28], ebp
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x74]
mov edi, eax
mov eax, dword [esp + 0x60]
cmp edi, ebp
jge 0x6db961
mov dword [esp + 0x40], edi
lea eax, [esi + edi*8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x981d30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.00443900
mov eax, dword [esp + 0x24]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x28]
cmp ecx, ebp
ja 0x6db91a
mov esi, dword [esp + 0x70]
mov edi, ecx
lea ecx, [esi + eax*8 + 4]
mov dword [ecx], edx
mov ecx, dword [0xdd7ec0]
lea edx, [esi + eax*8]
test ecx, ecx
jne 0x6db906
mov dword [edx], ebx
jmp 0x6db867
mov eax, edi
mov edi, edx
mov ecx, eax
mov eax, ebx
call fcn.00456fe0
mov edi, ecx
jmp 0x6db867
mov dword [esp + 0x3c], edx
mov dword [esp + 0x6c], ebx
lea edx, [0x8eba40]
mov dword [esp], edx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
call fcn.00440660
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x6c]
jmp 0x6db8ea
mov eax, dword [ebx + 0x10]
mov dword [esp], edx
lea ecx, [0x982808]
mov dword [esp + 4], ecx
mov dword [esp + 8], 4
call eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
lea edx, [0x8cb140]
mov dword [esp], edx
mov dword [esp + 4], 0
call fcn.00403f10
mov eax, dword [esp + 8]
mov dword [esp + 0x68], eax
lea ecx, [0x955260]
mov dword [esp], ecx
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [eax + 0x28], 0x3b9aca00
mov dword [eax + 0x2c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x6dbae3
lea ecx, [0xdd7ba0]
mov dword [eax + 0x3c], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 0x34], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x38], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x6dbace
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x18], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x6dbaad
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x48], ecx
mov ecx, dword [esp + 0x98]
mov edx, dword [ecx + 4]
test edx, edx
setne bl
mov ecx, dword [ecx]
test ecx, ecx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or ebx, ebp
test bl, bl
je 0x6dba67
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
mov dword [esp + 0x64], eax
mov dword [esp], 4
lea ecx, [0x9b23a0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00435810
mov eax, dword [esp + 0x64]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
add esp, 0x90
ret
lea edi, [eax + 0x1c]
mov ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.00456fe0
lea edi, [ecx + 0x48]
mov eax, dword [esp + 0x68]
call fcn.00456fe0
mov eax, ecx
jmp 0x6dba41
lea edi, [eax + 0x30]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.00456fe0
mov eax, ecx
jmp 0x6dba22
lea edi, [eax + 0x3c]
mov ecx, eax
lea eax, [0xdd7ba0]
call fcn.00456fe0
lea edi, [ecx + 0x20]
mov eax, dword [esp + 0x94]
call fcn.00456fe0
lea edi, [ecx + 0x24]
mov eax, dword [esp + 0x60]
call fcn.00456fe0
mov eax, ecx
jmp 0x6db9ff
call fcn.004decf0
mov edx, dword [esp]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x98]
lea ebx, [0xa4d9e0]
jmp 0x6db835
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
add esp, 0x90
ret
mov eax, dword [0xdc2208]
mov ecx, dword [0xdc220c]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x90
ret
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
add esp, 0x90
ret
mov eax, dword [0xdc2210]
mov ecx, dword [0xdc2214]
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
add esp, 0x90
ret
mov eax, edx
mov ecx, ebx
call fcn.00457060
nop
call fcn.004557a0
jmp fcn.006db670