Function at 0x50dd80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x50f720
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
push 0xc
call fcn.005d0220
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], 0
mov dword [ebp - 0x10], 2
push edi
push esi
push eax
call fcn.0050d7c0
add esp, 0xc
test al, al
je 0x50df72
cmp dword [ebp - 0x40], 7
lea ecx, [ebp - 0x54]
jbe 0x50de10
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x30]
push eax
push ecx
call fcn.005ebc90
add esp, 8
test al, al
je 0x50df72
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x3ffffffc
mov eax, ecx
mov dword [ebp - 0x24], ecx
ja 0x50df72
lea eax, [ebp - 0x20]
push 0
push 0x10
push 0x50dd70
push eax
call sub.USER32.dll_DdeInitializeW
test eax, eax
je 0x50de68
push 0
push str.Fatal_Error
push str.Acrobat_failed_to_initialize_DDE_service.
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x50df72
push 0x4b0
push str.AcroviewR22
push dword [ebp - 0x20]
call sub.USER32.dll_DdeCreateStringHandleW
mov dword [ebp - 0x3c], eax
push 0x4b0
push str.Control
push dword [ebp - 0x20]
call sub.USER32.dll_DdeCreateStringHandleW
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
xor ecx, ecx
lea eax, [eax + eax + 2]
mov dword [ebp - 0x34], eax
xor eax, eax
test eax, eax
jne 0x50dee0
cmp ecx, 0x12b
ja 0x50deeb
push 0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x20]
mov dword [ebp - 0x24], ecx
call sub.USER32.dll_DdeConnect
mov ecx, dword [ebp - 0x24]
inc ecx
test eax, eax
jne 0x50dea0
push 0x3e8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
jmp 0x50dea0
cmp dword [ebp - 0x40], 7
jbe 0x50df2a
mov edx, dword [ebp - 0x54]
jmp 0x50df2d
call dword [sym.imp.USER32.dll_GetActiveWindow]
push 0x5e97f0
push 4
push str.Something_went_wrong
push str.A_running_instance_of_Acrobat_has_caused_an_error.
push eax
call fcn.005e9780
add esp, 0x14
cmp eax, 6
jne 0x50df54
push 1
push 0
push 0
push str.https:__helpx.adobe.com_acrobat_kb_failed_to_connect_to_dde_server.html
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x50df54
lea edx, [ebp - 0x54]
mov ecx, dword [ebp - 0x34]
push 0
push 0x927c0
push 0x4050
push 1
push 0
push eax
push ecx
push edx
mov dword [ebp - 0x28], eax
call sub.USER32.dll_DdeClientTransaction
mov eax, dword [ebp - 0x28]
push eax
call sub.USER32.dll_DdeDisconnect
push dword [ebp - 0x3c]
push dword [ebp - 0x20]
call sub.USER32.dll_DdeFreeStringHandle
push dword [ebp - 0x38]
push dword [ebp - 0x20]
call sub.USER32.dll_DdeFreeStringHandle
push dword [ebp - 0x20]
call sub.USER32.dll_DdeUninitialize
mov ecx, dword [ebp - 0x40]
cmp ecx, 8
jb 0x50dfa9
mov eax, dword [ebp - 0x54]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x50df9f
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x50e003
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], 1
push eax
call fcn.004bad50
add esp, 4
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov dword [ecx], 0
mov eax, dword [eax]
test eax, eax
je 0x50dfe3
nop
mov esi, dword [eax]
push 0xc
push eax
call fcn.005d319e
add esp, 8
test esi, esi
mov eax, esi
jne 0x50dfd0
push 0xc
push dword [ebp - 0x30]
call fcn.005d319e
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
xor eax, eax
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x10], 0
call fcn.006207e0
nop
push ebp
sub esp, 0x20
add ebp, 0xc
call fcn.0061de80
nop dword [eax]
push ebp
sub esp, 0x20
add ebp, 0xc
mov ecx, dword [ebp - 0x40]
cmp ecx, 8
jb 0x50e05e
mov eax, dword [ebp - 0x54]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x50e054
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x50e063
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.005d319e
add esp, 8
add esp, 0x20
pop ebp
ret
call fcn.006207e0
nop dword [eax + eax]
push ebp
sub esp, 0x20
add ebp, 0xc
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov dword [ecx], 0
mov eax, dword [eax]
test eax, eax
je 0x50e09c
mov esi, dword [eax]
push 0xc
push eax
call fcn.005d319e
add esp, 8
test esi, esi
mov eax, esi
jne 0x50e089
push 0xc
push dword [ebp - 0x30]
call fcn.005d319e
add esp, 0x28
pop ebp
ret