Function at 0x6dd89240
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 ebx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x24]
mov dword [edi], 0x6dd3a264
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 0xc]
lea edi, [esi + 0x6c]
push edi
push ebx
push edx
mov dword [esi + 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x64], ecx
mov ecx, dword [ebp + 0x10]
push eax
push ecx
mov dword [esi + 0x74], ecx
mov ecx, dword [ebp + 0xc]
push ecx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], dl
mov word [esi + 0x4e], 0xffff
mov dword [esi], 0x6dd3a27c
mov dword [esi + 0x50], 0x6dd3a218
mov dword [esi + 0x10c], 7
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 4
mov dword [esi + 0x78], eax
call fcn.6dd46000
add esp, 0x18
test eax, eax
jne 0x6dd892f1
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 0x6dd89311
cmp ecx, 3
je 0x6dd89311
mov eax, dword [esi + 0x14]
push ecx
push 4
push eax
call fcn.6dd80790
add esp, 0xc
test eax, eax
je 0x6dd89337
mov eax, dword [edi]
push eax
call fcn.6dd45c10
add esp, 4
test eax, eax
mov dword [esi + 0x58], eax
jne 0x6dd89337
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 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 + 0x18]
mov dword [ebp - 0x20], ebx
xor ebx, ebx
cmp eax, 1
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], ebx
jne 0x6dd8939f
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x3c]
push 4
call fcn.6dd7f870
mov ecx, dword [ebp + 0x18]
neg eax
sbb eax, eax
add eax, 2
cmp ecx, ebx
mov dword [ebp - 0x24], eax
jbe 0x6dd89424
lea edi, [ebp - 0x3b4]
lea esp, [esp]
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
mov edx, dword [ebp + 0x14]
mov dword [edi + 4], edx
je 0x6dd893f1
lea ecx, [ebp - 0xc]
push ecx
push 0
push eax
lea eax, [esi + 0x5c]
push ebx
push eax
call fcn.6dd47100
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp + 0x18]
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 0x6dd89402
shr edx, 1
mov dword [ebp + 0xc], edx
mov edx, dword [ebp + 0x10]
cmp edx, eax
jbe 0x6dd8940e
shr edx, 1
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0x14]
cmp edx, eax
jbe 0x6dd8941c
mov eax, edx
shr eax, 1
mov dword [ebp + 0x14], eax
inc ebx
add edi, 0x1c
cmp ebx, ecx
jb 0x6dd893b0
lea ebx, [ecx*4]
push ebx
call fcn.6dd45c10
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 0x54], edi
jne 0x6dd89451
mov edx, dword [ebp + 0x2c]
pop edi
mov eax, esi
pop esi
mov dword [edx], 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 0x6dd89492
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 0x6dd8958a
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3a0]
mov dword [esi + 0x68], eax
mov dword [esi + 0x18], ecx
mov eax, dword [ebp + 0x18]
xor ebx, ebx
test eax, eax
jbe 0x6dd8954c
lea edi, [ebp - 0x3a0]
mov eax, dword [esi + 0x68]
cmp eax, 2
je 0x6dd894f2
cmp eax, 3
je 0x6dd894f2
push 0x18
call fcn.6dd45c10
add esp, 4
test eax, eax
je 0x6dd8952c
mov ecx, dword [edi]
mov dword [eax], 0x6dd3a1b0
mov dword [eax + 4], esi
mov dword [eax + 8], 0
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], 0x6dd3a1e4
jmp 0x6dd8952e
push 0x18
call fcn.6dd45c10
add esp, 4
test eax, eax
je 0x6dd8952c
mov ecx, dword [edi]
mov dword [eax], 0x6dd3a1b0
mov dword [eax + 4], esi
mov dword [eax + 8], 0
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 0x6dd8952e
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 0x6dd89595
mov eax, dword [ebp + 0x18]
inc ebx
add edi, 0x1c
cmp ebx, eax
jb 0x6dd894a5
cmp dword [ebp + 0x24], 1
jne 0x6dd8958a
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x3c]
push 4
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 0x6dd8958a
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 0x6dd8958a
mov eax, dword [ebp + 0x18]
cmp ebx, eax
jae 0x6dd8958a
mov ecx, ebx
imul ecx, ecx, 0x1c
sub eax, ebx
lea edi, [ebp + ecx - 0x3a0]
mov ebx, eax
jmp 0x6dd895c0
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 0x6dd895c0
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28