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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3b8
mov eax, dword [ebp + 0x28]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0x24]
push eax
push ecx
lea edi, [esi + 8]
push edx
mov ecx, edi
call fcn.6dd828d0
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x14]
mov dword [edi], 0x6dd3a104
mov dword [esi + 0x48], eax
xor eax, eax
lea edi, [esi + 0x6c]
push edi
mov dword [esi + 0x68], ecx
mov ecx, dword [ebp + 0x18]
push ebx
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x70], eax
mov eax, dword [ebp + 0x10]
push edx
mov dword [esi + 0x64], ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
mov byte [esi + 0x4c], dl
mov word [esi + 0x4e], 0xffff
mov dword [esi], 0x6dd3a11c
mov dword [esi + 0x50], 0x6dd3a0b8
mov dword [esi + 0xdc], 7
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 3
mov dword [esi + 0x74], ecx
mov dword [esi + 0x78], eax
call fcn.6dd45ea0
add esp, 0x14
test eax, eax
jne 0x6dd87e4d
mov edx, dword [ebp + 0x2c]
pop edi
mov eax, esi
pop esi
mov dword [edx], 0x8876086c
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov ecx, dword [ebp + 0x24]
cmp ecx, 2
je 0x6dd87e6d
cmp ecx, 3
je 0x6dd87e6d
mov eax, dword [esi + 0x14]
push ecx
push 3
push eax
call fcn.6dd80790
add esp, 0xc
test eax, eax
je 0x6dd87e8a
mov eax, dword [edi]
push eax
call fcn.6dd45c10
add esp, 4
test eax, eax
mov dword [esi + 0x58], eax
je 0x6dd87f75
mov dword [esi + 0x68], 2
mov edx, dword [ebp + 8]
xor eax, eax
mov ecx, 0xe0
lea edi, [ebp - 0x3b8]
rep stosd dword es:[edi], eax
mov ecx, 0xb
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x204]
mov edx, dword [esi + 0x64]
lea ecx, [ebp - 0x3b8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x20], ebx
xor ebx, ebx
cmp eax, 1
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], ebx
jne 0x6dd87ef2
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x3c]
push 3
call fcn.6dd7f870
mov ecx, dword [ebp + 0x14]
neg eax
sbb eax, eax
add eax, 2
cmp ecx, ebx
mov dword [ebp - 0x24], eax
jbe 0x6dd87f5c
lea edi, [ebp - 0x3b4]
nop
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [esi + 0x58]
test eax, eax
mov dword [edi - 4], edx
je 0x6dd87f35
lea ecx, [ebp - 8]
push ecx
push 0
push eax
lea eax, [esi + 0x5c]
push ebx
push eax
call fcn.6dd46f10
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x14]
add esp, 0x14
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
mov edx, dword [ebp + 0xc]
mov eax, 1
cmp edx, eax
jbe 0x6dd87f46
shr edx, 1
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 0x10]
cmp edx, eax
jbe 0x6dd87f54
mov eax, edx
shr eax, 1
mov dword [ebp + 0x10], eax
inc ebx
add edi, 0x1c
cmp ebx, ecx
jb 0x6dd87f00
lea ebx, [ecx*4]
push ebx
call fcn.6dd45c10
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 0x54], edi
jne 0x6dd87f89
mov ecx, dword [ebp + 0x2c]
pop edi
mov eax, esi
pop esi
mov dword [ecx], 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov ecx, ebx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
cmp dword [ebp + 0x24], 3
je 0x6dd87fca
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call dword [ecx + 0x148]
test eax, eax
mov edx, dword [ebp + 0x2c]
mov dword [edx], eax
jl 0x6dd880c5
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3a0]
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], ecx
mov eax, dword [ebp + 0x14]
xor ebx, ebx
test eax, eax
jbe 0x6dd88087
lea edi, [ebp - 0x3a0]
lea ecx, [ecx]
mov eax, dword [esi + 0x68]
cmp eax, 2
je 0x6dd8802d
cmp eax, 3
je 0x6dd8802d
push 0x18
call fcn.6dd45c10
add esp, 4
test eax, eax
je 0x6dd88067
mov ecx, dword [edi]
mov dword [eax], 0x6dd3a060
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov byte [eax + 0x10], bl
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x64]
and edx, 0x4000004
neg edx
sbb edx, edx
neg edx
mov dword [eax + 0xc], edx
mov dword [eax], 0x6dd3a158
jmp 0x6dd88069
push 0x18
call fcn.6dd45c10
add esp, 4
test eax, eax
je 0x6dd88067
mov ecx, dword [edi]
mov dword [eax + 4], 0
mov dword [eax], 0x6dd3a060
mov dword [eax + 8], esi
mov byte [eax + 0x10], bl
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x64]
and edx, 0x4000004
neg edx
sbb edx, edx
neg edx
mov dword [eax + 0xc], edx
jmp 0x6dd88069
xor eax, eax
mov ecx, dword [esi + 0x54]
mov dword [ecx + ebx*4], eax
mov edx, dword [esi + 0x54]
cmp dword [edx + ebx*4], 0
je 0x6dd880d0
mov eax, dword [ebp + 0x14]
inc ebx
add edi, 0x1c
cmp ebx, eax
jb 0x6dd87fe0
cmp dword [ebp + 0x24], 1
jne 0x6dd880c5
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x3c]
push 3
call fcn.6dd7f870
neg eax
sbb eax, eax
neg eax
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
je 0x6dd880c5
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 0x3c]
lea eax, [esi + 8]
lea edx, [eax + 0x1c]
push edx
push eax
call fcn.6dd7f360
mov ecx, dword [ebp + 0x2c]
mov dword [ecx], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov eax, dword [ebp + 0x2c]
mov dword [eax], 0x8007000e
cmp dword [ebp + 0x24], 3
je 0x6dd880c5
mov eax, dword [ebp + 0x14]
cmp ebx, eax
jae 0x6dd880c5
mov ecx, ebx
imul ecx, ecx, 0x1c
sub eax, ebx
lea edi, [ebp + ecx - 0x3a0]
mov ebx, eax
jmp 0x6dd88100
mov eax, dword [esi + 0x14]
mov edx, dword [eax + 0x204]
mov ecx, dword [edi]
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0xc]
push edx
mov dword [ebp - 8], ecx
call dword [eax + 0x14c]
add edi, 0x1c
dec ebx
jne 0x6dd88100
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28