Function at 0x481df0
Capabilities:
Create process on windows
Get common file path
Set current directory

Disassembly:
push 0xffffffffffffffff
push 0x4c9e48
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x509354]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x509354]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov edi, dword [esp + 0x80]
xor ebx, ebx
cmp edi, ebx
je 0x482064
cmp dword [edi + 0x14], ebx
je 0x482064
mov esi, 7
xor eax, eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], ax
push ebx
push 0x105
lea ecx, [esp + 0x3c]
mov dword [esp + 0x80], ebx
call fcn.0040d1c3
mov eax, dword [esp + 0x38]
mov ebp, 8
cmp dword [esp + 0x4c], ebp
jae 0x481e79
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, ebx
je 0x48209b
cmp eax, dword [esp + 0x48]
ja 0x48209b
xor edx, edx
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], dx
push 0x105
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 1
call fcn.0040d260
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebp
jae 0x481ec7
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebx
je 0x482085
cmp eax, dword [esp + 0x2c]
ja 0x482085
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebp
jae 0x481ef3
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call ebp
test eax, eax
je 0x482085
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.00401dc2
lea edx, [esp + 0x6c]
push edx
call fcn.00450c00
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x9c], 2
call fcn.00479430
add esp, 0x24
test al, al
je 0x482037
lea eax, [esp + 0x50]
call fcn.0047b390
push ebx
push str.Acrobat_IEHelper_Object
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
cmp edi, ebx
je 0x481fa3
xor esi, esi
cmp byte [esp + 0x84], bl
je 0x481f6e
push str._blank
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
movzx esi, ax
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x481f7d
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
movzx eax, ax
movzx ecx, si
push ecx
movzx edx, ax
push edx
push 0x4ca
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
jne 0x482037
mov edi, dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
lea eax, [esp + 0x14]
push eax
push ebx
push str.open
push str.http
push 2
push ebx
mov dword [esp + 0x2c], ebx
call edi
cmp eax, 1
jne 0x482037
mov eax, dword [esp + 0x14]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048d83c
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push eax
push esi
push str.open
push str.http
push 2
push ebx
call edi
test eax, eax
jne 0x48202e
mov ecx, dword [esp + 0x1c]
mov eax, 8
cmp dword [esp + 0x30], eax
jae 0x482013
lea ecx, [esp + 0x1c]
cmp dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
jae 0x482021
lea eax, [esp + 0x54]
push 1
push ecx
push eax
push esi
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
call fcn.0048e006
add esp, 4
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x482046
lea eax, [esp + 0x38]
push eax
call ebp
lea ecx, [esp + 0x50]
call fcn.0040198e
lea ecx, [esp + 0x18]
call fcn.0040198e
lea ecx, [esp + 0x34]
call fcn.0040198e
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0048e25d
add esp, 0x68
ret
lea ecx, [esp + 0x18]
call fcn.0040198e
lea ecx, [esp + 0x34]
call fcn.0040198e
xor al, al
jmp 0x482066
cmp dword [esp + 0x4c], ebp
jb 0x4820ae
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0048e006
add esp, 4
xor al, al
jmp 0x482066