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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1544
call fcn.6dd8ca40
mov eax, dword [ebp + 0x24]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x20]
mov esi, ecx
mov ecx, dword [ebp + 8]
push eax
push edi
lea ebx, [esi + 8]
push ecx
mov ecx, ebx
call fcn.6dd828d0
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov dword [esi + 0x60], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x48], edx
mov edx, dword [ebp + 0x10]
mov dword [ebx], 0x6dd3a35c
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x6c], edi
mov byte [esi + 0x4c], dl
mov word [esi + 0x4e], 0xffff
mov dword [esi], 0x6dd3a374
mov dword [esi + 0x50], 0x6dd3a310
mov dword [esi + 0x64], 5
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
xor ebx, ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x74], ebx
mov ecx, 1
mov dword [esi + 0x110], ecx
mov dword [esi + 0xf8], ecx
mov dword [esi + 0xfc], ecx
mov dword [esi + 0x100], ecx
mov dword [esi + 0x104], ecx
mov dword [esi + 0x108], ecx
mov dword [esi + 0x10c], ecx
mov ecx, dword [ebp + 0x1c]
lea edi, [esi + 0x5c]
push edi
push ecx
push edx
push eax
push eax
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
call fcn.6dd45ea0
add esp, 0x14
test eax, eax
je 0x6dd8a68f
mov eax, dword [edi]
add eax, 0x1f
and eax, 0xffffffe0
mov ecx, 6
mov dword [edi], eax
mul ecx
cmp edx, ebx
ja 0x6dd8a68f
cmp eax, 0x80000000
jbe 0x6dd8a6a3
mov edx, dword [ebp + 0x28]
pop edi
mov eax, esi
pop esi
mov dword [edx], 0x8876086c
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov dword [esi + 0x70], eax
mov eax, dword [ebp + 0x20]
cmp eax, 2
je 0x6dd8a6d8
cmp eax, 3
je 0x6dd8a6d8
cmp eax, 1
jne 0x6dd8a6ff
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x3c]
push 5
call fcn.6dd7f870
neg eax
sbb eax, eax
neg eax
xor ecx, ecx
cmp eax, ebx
sete cl
mov eax, ecx
cmp eax, ebx
je 0x6dd8a6ff
mov edx, dword [esi + 0x70]
push edx
call fcn.6dd45c10
add esp, 4
cmp eax, ebx
mov dword [esi + 0x58], eax
jne 0x6dd8a6ff
mov eax, dword [ebp + 0x28]
pop edi
mov dword [eax], 0x8007000e
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
xor eax, eax
mov ecx, 0x540
lea edi, [ebp - 0x1544]
rep stosd dword es:[edi], eax
mov ecx, 0xb
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x204]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x1544]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
lea edi, [ecx + ecx*2]
shl edi, 1
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
cmp eax, 1
mov dword [ebp - 0x44], edx
mov edx, dword [esi + 0x68]
mov dword [ebp - 8], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x28], ebx
jne 0x6dd8a770
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0x3c]
push 5
call fcn.6dd7f870
mov ecx, dword [ebp + 0x10]
neg eax
sbb eax, eax
add eax, 2
mov dword [ebp - 0x30], eax
mov eax, ecx
xor edx, edx
imul eax, eax, 0x1c
lea ecx, [ebp - 0x1540]
mov dword [ebp + 0x1c], edx
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x24], ecx
jmp 0x6dd8a790
xor ebx, ebx
lea ecx, [ecx]
cmp dword [ebp + 0x10], 0
mov ecx, dword [esi + 0x78]
mov dword [ebp + 0xc], ecx
jbe 0x6dd8a7f0
mov edi, dword [ebp + 0x24]
nop
mov eax, dword [esi + 0x58]
test eax, eax
mov dword [edi - 4], ecx
mov dword [edi], ecx
je 0x6dd8a7da
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [esi + 0x5c]
imul ecx, edx
push 0
add ecx, eax
push ecx
lea eax, [esi + 0x60]
push ebx
push eax
call fcn.6dd46f10
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [edi + 8], edx
mov edx, dword [ebp + 0x1c]
add esp, 0x14
mov dword [edi + 0xc], eax
mov eax, dword [ebp + 0x10]
shr ecx, 1
inc ebx
add edi, 0x1c
cmp ebx, eax
mov dword [ebp + 0xc], ecx
jb 0x6dd8a7a0
mov edi, dword [ebp - 8]
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x24]
inc edx
add ebx, eax
cmp edx, 6
mov dword [ebp + 0x1c], edx
mov dword [ebp + 0x24], ebx
jb 0x6dd8a78b
lea ebx, [edi*4]
push ebx
call fcn.6dd45c10
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi + 0x54], edi
jne 0x6dd8a82e
mov ecx, dword [ebp + 0x28]
pop edi
mov eax, esi
pop esi
mov dword [ecx], 0x8007000e
pop ebx
mov esp, ebp
pop ebp
ret 0x24
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 + 0x20], 3
je 0x6dd8a86f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
call dword [ecx + 0x148]
test eax, eax
mov edx, dword [ebp + 0x28]
mov dword [edx], eax
jl 0x6dd8a9ed
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x152c]
mov dword [esi + 0x6c], eax
mov dword [esi + 0x18], ecx
mov edx, dword [ebp + 0x10]
lea eax, [edx*4]
xor edi, edi
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x152c]
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x24], edi
mov dword [ebp + 0x18], edi
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
xor ebx, ebx
test ecx, ecx
jbe 0x6dd8a981
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x24]
mov eax, dword [esi + 0x6c]
add ecx, ebx
cmp eax, 2
mov dword [ebp - 4], ecx
je 0x6dd8a908
cmp eax, 3
je 0x6dd8a908
push 0x18
call fcn.6dd45c10
add esp, 4
test eax, eax
je 0x6dd8a94e
mov edx, dword [ebp + 0xc]
mov edi, dword [edx]
mov cl, byte [ebp + 0x1c]
mov dword [eax], 0x6dd3a2b8
mov dword [eax + 0x14], edi
mov edi, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov byte [eax + 0x10], bl
mov byte [eax + 0x11], cl
mov edx, dword [esi + 0x68]
and edx, 0x4000004
neg edx
sbb edx, edx
neg edx
mov dword [eax + 0xc], edx
mov dword [eax], 0x6dd3a3b0
jmp 0x6dd8a950
push 0x18
call fcn.6dd45c10
add esp, 4
test eax, eax
je 0x6dd8a94e
mov edx, dword [ebp + 0xc]
mov edi, dword [edx]
mov cl, byte [ebp + 0x1c]
mov dword [eax + 0x14], edi
mov edi, dword [ebp + 8]
mov dword [eax + 4], 0
mov dword [eax], 0x6dd3a2b8
mov dword [eax + 8], esi
mov byte [eax + 0x10], bl
mov byte [eax + 0x11], cl
mov edx, dword [esi + 0x68]
and edx, 0x4000004
neg edx
sbb edx, edx
neg edx
mov dword [eax + 0xc], edx
jmp 0x6dd8a950
xor eax, eax
mov ecx, dword [esi + 0x54]
mov dword [edi + ecx], eax
mov edx, dword [esi + 0x54]
cmp dword [edi + edx], 0
je 0x6dd8a9f8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
inc ebx
add edx, 0x1c
add edi, 4
cmp ebx, eax
mov dword [ebp + 0xc], edx
mov dword [ebp + 8], edi
jb 0x6dd8a8a3
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x14]
add edi, edx
mov edx, dword [ebp - 0x10]
mov dword [ebp + 0x24], edi
mov edi, dword [ebp + 0x18]
inc ecx
add edi, edx
add eax, ebx
cmp ecx, 6
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x18], edi
mov dword [ebp - 0xc], eax
jb 0x6dd8a890
cmp dword [ebp + 0x20], 1
jne 0x6dd8a9ed
mov edx, dword [esi + 0x14]
mov ecx, dword [edx + 0x3c]
push 5
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 0x6dd8a9ed
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 + 0x28]
mov dword [ecx], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x28]
mov dword [eax], 0x8007000e
cmp dword [ebp + 0x20], 3
je 0x6dd8a9ed
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
dec eax
cmp ecx, eax
jae 0x6dd8a9ed
imul ecx, ecx, 0x1c
lea edi, [ebp + ecx - 0x152c]
sub eax, dword [ebp - 4]
mov ebx, eax
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x204]
mov edx, dword [edi]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
push ecx
mov dword [ebp - 0x14], edx
call dword [eax + 0x14c]
add edi, 0x1c
dec ebx
jne 0x6dd8aa21
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24