Function at 0x409280
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43d0be
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x4516ac]
xor eax, esp
mov dword [esp + 0x314], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4516ac]
xor eax, esp
push eax
lea eax, [esp + 0x32c]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push 0x103
lea eax, [esp + 0x21]
push ebx
push eax
mov dword [esp + 0x340], ebx
mov byte [esp + 0x28], bl
call fcn.00427ba0
push 0x103
lea ecx, [esp + 0x235]
push ebx
push ecx
mov byte [esp + 0x23c], bl
call fcn.00427ba0
add esp, 0x18
call fcn.0040c04d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x409311
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [esp + 0x1c]
push ecx
push 0x104
mov byte [esp + 0x33c], 1
call edi
lea edx, [esp + 0x224]
push edx
push 0x104
call edi
lea edi, [esp + 0x1c]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x409351
mov ax, word [0x440954]
mov word [edi], ax
mov eax, dword [esi + 4]
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x409370
lea edi, [esp + 0x1c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x409384
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x452a78]
and ecx, 3
sub eax, 4
rep movsb byte es:[edi], byte [esi]
je 0x4093ee
sub eax, 2
je 0x4093ee
mov ebp, dword [esp + 0x33c]
push str.Setup
push ebp
call fcn.00426377
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x4093d0
push 0x452a80
jmp 0x40942f
push str.Remove
push ebp
call fcn.00426377
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x409438
push 0x452a88
jmp 0x40942f
mov ebp, dword [esp + 0x33c]
push str.Setup
push ebp
call fcn.00426377
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x409413
push 0x452a84
jmp 0x40942f
push str.Remove
push ebp
call fcn.00426377
add esp, 8
cmp eax, ebx
sete al
cmp al, bl
je 0x409438
push 0x452a8c
lea ecx, [esp + 0x18]
call fcn.00402c10
lea edi, [esp + 0x1c]
add edi, 0xffffffff
nop
mov al, byte [edi + 1]
add edi, 1
cmp al, bl
jne 0x409440
mov cx, word [0x440954]
mov eax, dword [esp + 0x14]
mov word [edi], cx
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x409460
lea edi, [esp + 0x1c]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
cmp cl, bl
jne 0x409474
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x120]
mov ecx, eax
push edx
and ecx, 3
push 0x104
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x102
lea eax, [esp + 0x126]
push ebx
push eax
call fcn.00427ba0
lea ecx, [esp + 0x12c]
push ecx
call fcn.00428da3
add esp, 0x10
call fcn.0040c04d
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4094dc
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x120]
mov byte [esp + 0x334], 2
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x409500
sub eax, edx
push eax
lea ecx, [esp + 0x124]
push ecx
lea ecx, [esp + 0x20]
call fcn.004020d0
lea edx, [esp + 0x120]
push edx
lea eax, [esp + 0x1c]
push 0x44173c
push eax
call fcn.00402cd0
mov esi, dword [esp + 0x24]
add esp, 0xc
push 1
lea ecx, [esp + 0x228]
push ecx
push esi
lea edx, [esp + 0x28]
push edx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esp + 0x120]
push eax
lea ecx, [esp + 0x20]
push ecx
push str.INF:_shell_exe__s_with_parameter__s
call fcn.004015b0
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0x334], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409595
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x334], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x334], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4095e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x32c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x314]
xor ecx, esp
call fcn.00427b87
add esp, 0x324
ret 4