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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x6dbe9db6
sub esp, 0xa4
mov ecx, dword [esp + 0xb0]
test ecx, ecx
je 0x6dbe9b4c
mov ebx, dword [esp + 0xa8]
mov ebp, dword [ebx + 0x6c]
test ebp, ebp
je 0x6dbe9ad7
mov ebp, dword [ebx + 0x70]
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x6dbe9aaf
imul esi, esi, 0x34
mov eax, dword [esi + ebp - 8]
mov edx, dword [esi + ebp - 4]
mov edi, ebx
mov ebx, dword [ebx + 8]
cmp eax, ebx
jge 0x6dbe9a9d
sub ebx, eax
cmp ecx, ebx
jge 0x6dbe99f1
mov ebx, ecx
jmp 0x6dbe99fa
mov ecx, ebx
mov ebx, dword [esp + 0xb0]
lea ebx, [ecx + eax]
cmp edx, ebx
jb 0x6dbe9dae
mov dword [esi + ebp - 8], ebx
mov edx, dword [esi + ebp - 0xc]
mov ebp, dword [esi + ebp - 4]
cmp eax, ebx
ja 0x6dbe9da7
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add edx, eax
mov ebx, dword [esp + 0xb0]
cmp ebx, ecx
jge 0x6dbe9a37
mov eax, ebx
jmp 0x6dbe9a3b
mov eax, ebx
mov ebx, ecx
mov ebp, dword [esp + 0xac]
cmp ebp, edx
je 0x6dbe9a7d
mov dword [esp + 0x28], ecx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.6db23ec0
mov ecx, dword [esp + 0xb0]
mov eax, dword [esp + 0x28]
cmp ecx, eax
mov ebp, dword [esp + 0xac]
mov edi, dword [esp + 0xa8]
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x6dbe9a7f
cmp eax, ecx
jb 0x6dbe9d9c
mov edx, dword [esp + 0xb4]
sub edx, ecx
sub eax, ecx
mov ebx, edx
neg edx
sar edx, 0x1f
and ecx, edx
add ecx, ebp
jmp 0x6dbe9ac1
mov ebx, dword [esp + 0xb4]
mov eax, ecx
mov ecx, dword [esp + 0xac]
jmp 0x6dbe9ac1
mov edi, ebx
mov eax, ecx
mov ebx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xac]
test eax, eax
jne 0x6dbe9ae9
mov dword [esp + 0xb8], 0
add esp, 0xa4
ret
mov edi, ebx
mov eax, ecx
mov ebx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xac]
mov edx, dword [edi + 8]
cmp eax, edx
jg 0x6dbe9af7
mov edx, 1
jmp 0x6dbe9b21
lea ebp, [edx + eax - 1]
test edx, edx
je 0x6dbe9d97
mov dword [esp + 0x38], ecx
mov esi, eax
mov eax, ebp
mov ecx, edx
cmp ecx, 0xffffffff
je 0x6dbe9b17
cdq
idiv ecx
jmp 0x6dbe9b19
neg eax
mov ecx, dword [esp + 0x38]
mov edx, eax
mov eax, esi
cmp edx, 0xff
jg 0x6dbe9b3a
test edx, edx
jne 0x6dbe9b32
mov edx, 1
mov dword [esp + 0x2c], edx
xor ebp, ebp
jmp 0x6dbe9b91
mov dword [esp + 0xb8], 0xfffffffe
add esp, 0xa4
ret
mov dword [esp + 0xb8], 0xffffffff
add esp, 0xa4
ret
mov esi, dword [esp + 0x24]
inc esi
mov edx, esi
mov esi, dword [esp + 0x34]
sub esi, eax
sub ecx, eax
mov edi, esi
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and eax, esi
lea esi, [ebp + eax]
mov ebp, edx
mov eax, ecx
mov ebx, edi
mov ecx, esi
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0xa8]
cmp edx, ebp
jle 0x6dbe9d5e
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x24], ebp
mov esi, dword [edi + 8]
cmp eax, esi
jg 0x6dbe9bb2
mov esi, eax
mov dword [esp + 0x20], esi
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.6db237c3
lea ecx, [0x6dd85260]
mov dword [esp], ecx
call fcn.6db298a0
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
lea ebx, [0x6dc4e680]
cmp ecx, ebx
jne 0x6dbe9d81
mov ebp, dword [edx + 8]
mov ebx, dword [edx]
mov ecx, dword [esp + 0x20]
cmp ecx, ebp
ja 0x6dbe9d7a
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebp
lea edi, [esp + 0x70]
lea esi, [esp + 0x3c]
call fcn.6db23c5e
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
cmp ecx, edx
ja 0x6dbe9d75
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x9c]
cmp ecx, ebp
jge 0x6dbe9c35
mov eax, ecx
jmp 0x6dbe9c39
mov eax, ecx
mov ecx, ebp
mov ebp, dword [esp + 0x38]
cmp ebp, ebx
je 0x6dbe9c5d
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
call fcn.6db23ec0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0xa8]
mov ebx, dword [ecx + 0x6c]
test ebx, ebx
jne 0x6dbe9c80
mov ebx, dword [esp + 0x2c]
mov esi, ebp
mov ebp, dword [esp + 0x24]
mov edi, ebx
sub ebx, ebp
dec ebx
mov byte [esp + 0x75], bl
jmp 0x6dbe9c91
mov byte [esp + 0x75], 0
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov ebx, dword [ecx + 0x74]
inc ebx
mov edx, dword [ecx + 0x70]
mov ebp, dword [ecx + 0x78]
cmp ebp, ebx
jae 0x6dbe9d05
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x6dc6baa0]
mov dword [esp + 0x10], eax
call fcn.6db0b1d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x78], edx
mov edx, dword [0x6ddaa8e0]
test edx, edx
jne 0x6dbe9ce6
mov dword [ebx + 0x70], eax
jmp 0x6dbe9cee
lea edi, [ebx + 0x70]
call fcn.6db235b0
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov ebx, ecx
mov edx, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xa8]
mov dword [ecx + 0x74], ebx
imul ebx, ebx, 0x34
lea edx, [ebx + edx - 0x34]
mov ebx, dword [0x6ddaa8e0]
test ebx, ebx
jne 0x6dbe9d2a
mov ebx, edi
mov edi, edx
mov ebp, esi
lea esi, [esp + 0x70]
call fcn.6db23c5e
jmp 0x6dbe9d50
lea eax, [0x6dc6baa0]
mov dword [esp], eax
mov dword [esp + 4], edx
lea eax, [esp + 0x70]
mov dword [esp + 8], eax
call fcn.6dad1910
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jbe 0x6dbe9b5e
jmp 0x6dbe9d70
mov dword [esp + 0xb8], 0
add esp, 0xa4
ret
call fcn.6db23690
call fcn.6db23670
mov edx, ebp
call fcn.6db23670
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x6dc52d80]
mov dword [esp + 8], eax
call fcn.6dac9cf0
call fcn.6daf55c0
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.6db23690
mov ecx, ebx
call fcn.6db23690
mov ecx, ebx
call fcn.6db23670
nop
call fcn.6db22180
jmp fcn.6dbe9980