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

Disassembly:
push 0xffffffffffffffff
push 0x4cab58
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x50b384]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50b384]
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 0x482994
cmp dword [edi + 0x14], ebx
je 0x482994
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.0040d213
mov eax, dword [esp + 0x38]
mov ebp, 8
cmp dword [esp + 0x4c], ebp
jae 0x4827a9
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, ebx
je 0x4829cb
cmp eax, dword [esp + 0x48]
ja 0x4829cb
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.0040d2b0
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebp
jae 0x4827f7
lea eax, [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, ebx
je 0x4829b5
cmp eax, dword [esp + 0x2c]
ja 0x4829b5
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x30], ebp
jae 0x482823
lea eax, [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call ebp
test eax, eax
je 0x4829b5
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x30], esp
push edi
call fcn.00401dd0
lea edx, [esp + 0x6c]
push edx
call fcn.00482630
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0x9c], 2
call fcn.00479c60
add esp, 0x24
test al, al
je 0x482967
lea eax, [esp + 0x50]
call fcn.0047bbd0
push ebx
push str.Acrobat_IEHelper_Object
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
cmp edi, ebx
je 0x4828d3
xor esi, esi
cmp byte [esp + 0x84], bl
je 0x48289e
push str._blank
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
movzx esi, ax
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x4828ad
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 0x482967
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 0x482967
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.0048e1ac
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 0x48295e
mov ecx, dword [esp + 0x1c]
mov eax, 8
cmp dword [esp + 0x30], eax
jae 0x482943
lea ecx, [esp + 0x1c]
cmp dword [esp + 0x68], eax
mov eax, dword [esp + 0x54]
jae 0x482951
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.0048e976
add esp, 4
cmp dword [esp + 0x4c], 8
mov eax, dword [esp + 0x38]
jae 0x482976
lea eax, [esp + 0x38]
push eax
call ebp
lea ecx, [esp + 0x50]
call fcn.0040199c
lea ecx, [esp + 0x18]
call fcn.0040199c
lea ecx, [esp + 0x34]
call fcn.0040199c
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.0048ebcd
add esp, 0x68
ret
lea ecx, [esp + 0x18]
call fcn.0040199c
lea ecx, [esp + 0x34]
call fcn.0040199c
xor al, al
jmp 0x482996
cmp dword [esp + 0x4c], ebp
jb 0x4829de
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0048e976
add esp, 4
xor al, al
jmp 0x482996