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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
cmovle eax, dword [esp + 0x30]
cmp dword [esp + 0x38], eax
jg 0x6dd180
mov eax, dword [esp + 0x20]
mov dword [esp + 4], ebx
mov edi, ebx
mov dword [esp + 8], esi
mov dword [esp], eax
call fcn.0068786c
mov ebp, dword [esp + 0x20]
mov ebx, eax
cmp ebx, esi
je 0x6dd421
cmp edi, dword [esp + 0x2c]
jne 0x6dd3e0
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.0068786c
mov ecx, dword [esp + 0x28]
cmp dword [esp + 0x30], ecx
jg 0x6dd22f
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0068786c
cmp dword [esp + 0x20], ebx
jne 0x6dd1b6
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
jmp 0x6dd202
cmp esi, eax
je 0x6dd421
mov ebp, dword [esp + 0x2c]
lea edi, [eax - 0x30]
sub ebx, 0x30
movzx edx, word [edi + 0x2e]
movzx eax, word [ebx + 0x2e]
sub ebp, 0x30
cmp edx, eax
jg 0x6dd1e6
mov ax, word [edi + 0x2c]
mov dx, word [ebx + 0x2c]
jl 0x6dd217
cmp dx, ax
jae 0x6dd217
mov dword [esp], ebx
mov ecx, ebp
call fcn.006000d8
push edx
cmp dword [esp + 0x20], ebx
jne 0x6dd212
add edi, 0x30
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], esi
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.006a5040
sub ebx, 0x30
jmp 0x6dd1c8
mov dword [esp], edi
mov ecx, ebp
call fcn.006000d8
cmp esi, edi
push eax
je 0x6dd421
sub edi, 0x30
jmp 0x6dd1c8
mov ecx, dword [esp + 0x30]
cmp dword [esp + 0x38], ecx
mov ecx, 2
jle 0x6dd270
mov eax, dword [esp + 0x38]
cdq
idiv ecx
mov edx, dword [esp + 0x2c]
imul ebp, eax, 0x30
add ebp, dword [esp + 0x20]
mov dword [esp + 0x34], eax
mov eax, ebx
mov ecx, ebp
call fcn.0059369b
mov edi, eax
sub eax, ebx
sar eax, 4
imul eax, eax, 0xaaaaaaab
mov dword [esp + 0x24], eax
jmp 0x6dd2a0
mov eax, dword [esp + 0x30]
cdq
idiv ecx
mov edx, ebx
imul edi, eax, 0x30
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
add edi, ebx
mov ecx, edi
call fcn.00593629
mov ebp, eax
sub eax, dword [esp + 0x20]
sar eax, 4
imul eax, eax, 0xaaaaaaab
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
cmp dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
jge 0x6dd303
mov edx, dword [esp + 0x28]
cmp dword [esp + 0x24], edx
jg 0x6dd303
cmp dword [esp + 0x24], 0
mov eax, ebp
je 0x6dd368
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebx
call fcn.0068786c
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov dword [esp + 0x3c], eax
call fcn.006a5040
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], ebp
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.0068786c
jmp 0x6dd368
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x28], edx
jl 0x6dd34d
test edx, edx
mov eax, edi
je 0x6dd368
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.0068786c
mov dword [esp + 8], ebp
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 0x3c], eax
call fcn.0068786c
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edi
mov dword [esp], esi
mov dword [esp + 4], edx
call fcn.006a5040
jmp 0x6dd368
mov byte [esp + 0xc], 0
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], ebp
call fcn.006a6410
mov eax, edi
sub eax, ebx
add eax, ebp
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 8], eax
mov byte [esp + 0x1c], bl
mov dword [esp + 0x14], esi
mov dword [esp + 4], ebp
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.006dd0f4
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x24]
mov byte [esp + 0x1c], bl
mov dword [esp + 0x14], esi
mov dword [esp + 4], edi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esp], eax
call fcn.006dd0f4
jmp 0x6dd421
movzx edx, word [edi + 0x2e]
movzx eax, word [esi + 0x2e]
cmp edx, eax
jg 0x6dd3fb
mov ax, word [edi + 0x2c]
mov dx, word [esi + 0x2c]
jl 0x6dd40b
cmp dx, ax
jae 0x6dd40b
mov dword [esp], edi
mov ecx, ebp
add edi, 0x30
call fcn.006000d8
push eax
jmp 0x6dd419
mov ecx, ebp
mov dword [esp], esi
add esi, 0x30
call fcn.006000d8
push ecx
add ebp, 0x30
jmp 0x6dd156
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret