Function at 0x431340
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4642f0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x47e4f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
xor esi, esi
push ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x1c], eax
xor eax, eax
cmp dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
jle 0x43150f
lea ebx, [esi + 1]
jmp 0x431398
xor esi, esi
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + eax*4]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040fbb0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.00421c50
mov ecx, eax
call fcn.00421ca0
mov ecx, dword [ebp - 0x10]
push 0x46b4a0
push ecx
call fcn.00448bb3
add esp, 8
cmp eax, esi
jne 0x4313f0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x74], esi
mov byte [ebp - 4], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4314f2
mov ecx, dword [ebp - 0x10]
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
push 0xc
push str._OriExePath
push ecx
call esi
test eax, eax
jne 0x43146b
push 0xc
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x10]
call fcn.00421b70
lea esi, [edi + 0x78]
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040f7f0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431446
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.00421c50
mov ecx, eax
call fcn.00421ca0
push 0x22
push 0x22
mov ecx, esi
call fcn.00430b50
mov ecx, eax
call fcn.00430ab0
mov dword [edi + 0x70], ebx
jmp 0x4314db
mov ecx, dword [ebp - 0x10]
push 6
push 0x46b474
push ecx
call esi
test eax, eax
jne 0x4314db
push 6
lea edx, [ebp - 0x24]
push edx
lea ecx, [ebp - 0x10]
call fcn.00421b70
lea esi, [edi + 0x68]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040f7f0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4314bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, esi
call fcn.00421c50
mov ecx, eax
call fcn.00421ca0
push 0x22
push 0x22
mov ecx, esi
call fcn.00430b50
mov ecx, eax
call fcn.00430ab0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4314fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, ebx
cmp eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
jl 0x431396
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431535
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4