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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598858
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x60f520]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ecx + 0x62c]
mov edi, eax
mov esi, dword [ebp + 8]
mov edx, dword [eax + 4]
cmp byte [edx + 0xd], 0
jne 0x431674
lea esp, [esp]
cmp dword [edx + 0x10], esi
jae 0x43166a
mov edx, dword [edx + 8]
jmp 0x43166e
mov edi, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x431660
cmp edi, eax
je 0x431680
mov dword [ebp + 8], edi
cmp esi, dword [edi + 0x10]
jae 0x431683
mov dword [ebp + 8], eax
lea edi, [ebp + 8]
mov edi, dword [edi]
cmp edi, eax
je 0x4318ac
push 0x208
mov dword [ebp - 4], 0
call fcn.00551ee7
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
test ebx, ebx
jne 0x4316d1
push ebx
mov esi, 0x8007000e
call fcn.00551f79
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
sub esi, 0x270e
je 0x431822
dec esi
je 0x431898
push 0x820
call fcn.00551ee7
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
test esi, esi
jne 0x431712
mov esi, 0x8007000e
jmp 0x431835
push 0x820
push ebx
call fcn.00554105
mov ecx, dword [edi + 0x14]
test eax, eax
cmovne ebx, eax
add esp, 4
mov edx, ebx
mov dword [ebp - 0x18], ebx
push esi
call fcn.0050b560
mov esi, dword [ebp + 0xc]
add esp, 8
mov edi, dword [esi + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x431898
push ebx
lea ecx, [ebp + 0xc]
call fcn.0040c2d0
push 2
push 0x5bd4c0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00411f30
cmp dword [esi + 0x14], 8
jb 0x43176c
mov edx, dword [esi]
jmp 0x43176e
mov edx, esi
test edx, edx
jne 0x431776
xor ecx, ecx
jmp 0x431790
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp + 8], eax
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x431780
sub ecx, dword [ebp + 8]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp + 0xc]
call fcn.00411f30
push 1
push 0x5bd554
lea ecx, [ebp + 0xc]
call fcn.00411f30
push 0x40
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.00559380
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x70], 0x44
cmp dword [eax - 4], 1
jle 0x4317d7
push dword [eax - 0xc]
lea ecx, [ebp + 0xc]
call fcn.0040c050
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov byte [ebp - 4], 1
or ecx, 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x431815
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x18
cmp esi, edi
jne 0x431746
jmp 0x431898
push 0
push 0
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x43185e
xor esi, esi
push 0
call fcn.00551f79
add esp, 4
push ebx
call fcn.00551f79
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
mov ebx, dword [esi + 4]
mov esi, dword [esi]
cmp esi, ebx
je 0x431895
lea ebx, [ebx]
cmp dword [esi + 0x14], 8
jb 0x43187a
mov eax, dword [esi]
jmp 0x43187c
mov eax, esi
push 5
push 0
push eax
push dword [edi + 0x14]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add esi, 0x18
cmp esi, ebx
jne 0x431870
mov ebx, dword [ebp + 8]
push dword [ebp - 0x10]
call fcn.00551f79
add esp, 4
push ebx
call fcn.00551f79
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8