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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x60], 0xffff
mov dword [esp + 0x64], 0xffff0000
mov dword [esp + 0x68], 0x10000
mov edi, dword [ebp + 0x2004]
mov eax, dword [ebp + 0x2008]
mov dword [esp + 0x6c], 1
mov dword [esp + 0x70], 0xffffffff
mov esi, edi
mov dword [esp + 0x40], edi
mov edi, dword [esp + 0xa4]
mov ecx, eax
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x6084]
mov dword [esp + 0x74], 0xffff0001
mov dword [esp + 0x78], 0x1ffff
movsx edx, word [edi]
mov dword [esp + 0x30], eax
mov edi, eax
mov dword [esp + 0x7c], 0x10001
imul edx, eax
mov eax, dword [esp + 0xa4]
movsx eax, word [eax + 2]
add eax, edx
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x6080]
add dword [esp + 0x2c], eax
lea eax, [ebp + 0x86230]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc6238]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0xc623c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xbc]
movzx eax, word [eax]
mov word [esp + 0x38], ax
mov eax, dword [esp + 0xbc]
sar word [esp + 0x38], 3
movzx eax, word [eax + 2]
mov dword [esp + 4], ecx
mov dword [esp], esi
mov dword [esp + 0x14], 0x7fffffff
mov word [esp + 0x3a], ax
mov eax, dword [esp + 0xc0]
sar word [esp + 0x3a], 3
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb0]
call dword [eax + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xa4]
movzx ecx, word [eax]
movzx edx, word [eax + 2]
mov ebx, ecx
mov esi, edx
sub si, word [esp + 0x3a]
sub bx, word [esp + 0x38]
mov word [esp + 0x22], cx
mov word [esp + 0x28], dx
jne 0x700de005
xor eax, eax
test si, si
setne al
shl eax, 2
mov edi, dword [esp + 0x44]
movsx ebx, bx
movsx esi, si
mov eax, dword [ebp + eax + 0x86230]
add eax, dword [edi + ebx*4]
mov edi, dword [esp + 0x48]
add eax, dword [edi + esi*4]
imul eax, dword [esp + 0xa8]
sub eax, 0xffffff80
sar eax, 8
add eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xac]
test eax, eax
jle 0x700ddef5
mov word [esp + 0x22], cx
mov dword [esp + 0x28], 0
nop
mov dword [esp + 0x24], 0xffffffff
xor ebx, ebx
lea esi, [esi]
movsx eax, word [esp + ebx*4 + 0x62]
movsx esi, dx
movsx ecx, word [esp + ebx*4 + 0x60]
add esi, eax
cmp esi, dword [ebp + 0x107330]
jle 0x700dde96
cmp esi, dword [ebp + 0x107334]
jge 0x700dde96
movsx edi, word [esp + 0x22]
add edi, ecx
cmp edi, dword [ebp + 0x107338]
jle 0x700dde96
cmp edi, dword [ebp + 0x10733c]
jl 0x700ddf13
add ebx, 1
cmp ebx, 8
jne 0x700dde60
cmp dword [esp + 0x24], 0xffffffff
je 0x700ddef0
mov edi, dword [esp + 0x24]
movzx ecx, word [esp + 0x22]
add dword [esp + 0x28], 1
mov esi, dword [esp + 0xa4]
movsx eax, word [esp + edi*4 + 0x60]
movsx ebx, word [esp + edi*4 + 0x62]
add ecx, eax
imul eax, dword [esp + 0x30]
add edx, ebx
mov word [esi], cx
mov word [esi + 2], dx
mov word [esp + 0x22], cx
add eax, ebx
add dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0xac]
jne 0x700dde50
mov word [esp + 0x28], dx
cmp dword [esp + 0x34], 0x7ffffffe
mov eax, 0x7fffffff
jbe 0x700de016
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esp + 0x34]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0xc0]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x30]
imul ecx, edx
mov dword [esp + 0xc], edx
add eax, ecx
add eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
call dword [eax + 4]
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
jae 0x700ddfd5
sub si, word [esp + 0x3a]
sub di, word [esp + 0x38]
jne 0x700ddff4
xor edx, edx
test si, si
setne dl
shl edx, 2
mov ecx, dword [esp + 0x4c]
movsx edi, di
movsx esi, si
mov edx, dword [ecx + edx]
mov ecx, dword [esp + 0x44]
add edx, dword [ecx + edi*4]
mov edi, dword [esp + 0x48]
add edx, dword [edi + esi*4]
imul edx, dword [esp + 0xa8]
sub edx, 0xffffff80
sar edx, 8
add eax, edx
cmp eax, dword [esp + 0x34]
mov dword [esp + 0x5c], eax
jae 0x700ddfd5
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x34], eax
movzx edi, word [edi]
mov word [esp + 0x22], di
mov edi, dword [esp + 0xa4]
movzx edx, word [edi + 2]
jmp 0x700dde96
mov eax, dword [esp + 0xa4]
movzx eax, word [eax]
mov word [esp + 0x22], ax
mov eax, dword [esp + 0xa4]
movzx edx, word [eax + 2]
jmp 0x700dde96
cmp si, 1
sbb edx, edx
and edx, 0xfffffffc
add edx, 0xc
jmp 0x700ddf79
cmp si, 1
sbb eax, eax
and eax, 0xfffffffc
add eax, 0xc
jmp 0x700dde01
mov eax, dword [esp + 0xc0]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
call dword [eax + 0x10]
mov edi, dword [esp + 0xb8]
mov ecx, dword [ebp + 0x61d4]
test edi, edi
je 0x700de0ee
mov edi, dword [esp + 0xbc]
movzx edx, word [esp + 0x22]
movzx ebp, word [esp + 0x28]
shl edx, 3
shl ebp, 3
sub bp, word [edi + 2]
sub dx, word [edi]
movsx esi, dx
jne 0x700de0e0
xor edx, edx
test bp, bp
setne dl
shl edx, 2
mov edi, dword [esp + 0xb8]
movsx ebp, bp
mov ebx, dword [edi]
mov edi, dword [esp + 0xb4]
mov edx, dword [edi + edx]
mov edi, dword [esp + 0xb8]
add edx, dword [ebx + esi*4]
mov ebx, dword [edi + 4]
add edx, dword [ebx + ebp*4]
imul edx, ecx
add edx, 0x1000
sar edx, 0xd
add eax, edx
add esp, 0x8c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp bp, 1
sbb edx, edx
and edx, 0xfffffffc
add edx, 0xc
jmp 0x700de0a1
xor edx, edx
add eax, edx
jmp 0x700de0d5