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

Disassembly:
push ebp
push edi
push esi
mov esi, ecx
push ebx
xor ebx, ebx
sub esp, 0x4c
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x28], eax
mov edx, dword [eax + 0x78]
mov eax, dword [ecx + 0x28]
mov dword [esp + 0xc], edi
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], 0
mov word [esp + 0x3c], bx
test eax, eax
je 0x6ddb28
sub esp, 4
push dword [ecx]
push 0xa30e4a
lea eax, [esp + 0x34]
push eax
call fcn.006ce9c0
add esp, 0x10
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x6ddad2
mov edx, dword [esp + 0x38]
mov byte [eax + edx], 0
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x6ddb10
mov eax, dword [esp + 0x2c]
movzx edx, byte [esi + 0x38]
mov ecx, 0x813
and edx, 3
cmp dl, 2
mov edx, 0x613
cmovne edx, ecx
sub esp, 4
push 2
push 0xfffffffffffffffa
push eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
call fcn.006dd950
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [esp + 0x3d], 4
jne 0x6ddace
lea eax, [esp + 0x28]
call fcn.006d0d30
jmp 0x6ddad2
cmp word [ecx + 0x32], 0
je 0x6ddad2
mov eax, dword [ecx + 4]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], ecx
xor edx, edx
xor ebx, ebx
movsx eax, word [eax]
shl eax, 4
add eax, dword [edi + 4]
xor edi, edi
mov eax, dword [eax]
mov esi, eax
jmp 0x6ddbfd
add ebx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov byte [ebx], 0x2e
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
test esi, esi
je 0x6ddc80
sub esp, 0xc
push esi
call fcn.007985d8
add esp, 0x10
and eax, 0x3fffffff
mov ecx, eax
add eax, ebx
cmp eax, ebp
jae 0x6ddc90
test ecx, ecx
je 0x6ddbaa
mov dword [esp + 0x38], eax
add ebx, dword [esp + 0x2c]
sub esp, 4
push ecx
push esi
push ebx
call fcn.00798628
add esp, 0x10
mov eax, dword [esp + 0x10]
add edi, 1
movzx eax, word [eax + 0x32]
cmp eax, edi
jle 0x6ddcae
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
mov eax, dword [eax + 4]
movsx eax, word [eax + edi*2]
shl eax, 4
add eax, dword [esi + 4]
mov esi, dword [eax]
mov eax, dword [esp + 0x38]
lea edx, [eax + 2]
cmp edx, dword [esp + 0x30]
jae 0x6ddcf0
mov dword [esp + 0x38], edx
add eax, dword [esp + 0x2c]
mov edx, 0x202c
mov word [eax], dx
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0xc]
mov ebp, dword [eax]
test ebp, ebp
je 0x6ddcc0
mov dword [esp + 0x14], edx
sub esp, 0xc
push ebp
call fcn.007985d8
mov edx, dword [esp + 0x24]
add esp, 0x10
and eax, 0x3fffffff
mov ecx, eax
add eax, ebx
cmp edx, eax
jbe 0x6ddcd0
test ecx, ecx
je 0x6ddc52
mov dword [esp + 0x38], eax
add ebx, dword [esp + 0x2c]
sub esp, 4
push ecx
push ebp
push ebx
call fcn.00798628
mov ebx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
add esp, 0x10
lea eax, [ebx + 1]
cmp eax, edx
jb 0x6ddb58
mov ecx, 1
mov edx, 0xa30b2d
lea eax, [esp + 0x28]
call fcn.006d44c0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
test esi, esi
jne 0x6ddb73
cmp ebx, ebp
jb 0x6ddbaa
xor ecx, ecx
lea esi, [esi]
lea eax, [esp + 0x28]
mov edx, esi
add edi, 1
call fcn.006d44c0
mov eax, dword [esp + 0x10]
movzx eax, word [eax + 0x32]
cmp eax, edi
jg 0x6ddbbd
mov esi, dword [esp + 0x10]
jmp 0x6ddab6
cmp edx, ebx
ja 0x6ddc52
xor ecx, ecx
lea esi, [esi]
lea esi, [esi]
mov edx, ebp
lea eax, [esp + 0x28]
call fcn.006d44c0
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
jmp 0x6ddc52
mov ecx, 2
mov edx, 0xa30e55
lea eax, [esp + 0x28]
call fcn.006d44c0
jmp 0x6ddbf5