Function at 0x425eb0
Capabilities:
Accept command line arguments
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4d83
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x4d63e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc0], 0
cmp dword [esi + 0x10], 0
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc4], edi
je 0x426268
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x425f11
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426268
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov edx, esi
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x425f43
mov edx, dword [esi]
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x425f65
mov ecx, ebx
mov eax, edx
mov edi, edi
cmp word [eax], 0x20
je 0x426001
add eax, 2
sub ecx, 1
jne 0x425f50
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x28]
cmp ecx, esi
je 0x425f7d
cmp eax, 8
jb 0x425f73
mov esi, dword [esi]
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00402e30
push 0x4ac7b4
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00401800
push dword [ebp - 0xbc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00410a20
add esp, 0x18
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.00402340
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push str.enableetw
push eax
call fcn.0046f178
add esp, 8
test eax, eax
je 0x425fd9
push 0xb
push str.__enableetw
lea ecx, [ebp - 0x40]
call fcn.00402cb0
mov eax, dword [ebp - 0x30]
xor esi, esi
xor ebx, ebx
xor ecx, ecx
add eax, 1
mov dword [ebp - 0xbc], eax
je 0x426162
cmp eax, 0x7fffffff
ja 0x426286
jmp 0x426139
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
je 0x425f62
push 0x4ad088
lea ecx, [ebp - 0x58]
call fcn.00403490
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
push esi
call fcn.00426dc0
add esp, 8
test al, al
je 0x426042
push esi
lea ecx, [ebp - 0x70]
call fcn.00401980
mov ecx, eax
mov ebx, 1
jmp 0x42609e
push 0x4ad088
lea ecx, [ebp - 0xb8]
call fcn.00403490
push esi
push eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 3
push eax
mov dword [ebp - 0xc0], 2
call fcn.00410a20
push 0x4ad088
push eax
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 4
push eax
mov dword [ebp - 0xc0], 6
call fcn.00401780
add esp, 0x18
mov ecx, eax
mov ebx, 0xe
lea eax, [ebp - 0x28]
cmp eax, ecx
je 0x4260db
mov eax, dword [ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
test bl, 8
je 0x4260ee
lea ecx, [ebp - 0x88]
and ebx, 0xfffffff7
call fcn.00402340
test bl, 4
je 0x426101
lea ecx, [ebp - 0xa0]
and ebx, 0xfffffffb
call fcn.00402340
test bl, 2
je 0x426114
lea ecx, [ebp - 0xb8]
and ebx, 0xfffffffd
call fcn.00402340
mov dword [ebp - 4], 1
test bl, 1
je 0x426128
lea ecx, [ebp - 0x70]
call fcn.00402340
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00402340
jmp 0x425f7d
push eax
lea ecx, [ebp - 0x4c]
call fcn.00402c50
mov ecx, dword [ebp - 0xbc]
mov esi, eax
xor eax, eax
mov edi, esi
lea ebx, [esi + ecx*2]
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0xc4]
mov ecx, ebx
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
sub ecx, esi
push eax
sar ecx, 1
push ecx
push esi
call fcn.00479544
xor eax, eax
mov dword [ebp - 0x118], 0x44
push 0x40
push eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0x114]
push eax
call fcn.0046edf0
add esp, 0x18
cmp dword [edi + 0x10], 0
jne 0x4261b9
xor edi, edi
jmp 0x4261c1
cmp dword [edi + 0x14], 8
jb 0x4261c1
mov edi, dword [edi]
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x118]
push eax
push edi
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4261f3
push dword [ebp - 0xd0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0xd4]
test esi, esi
je 0x426226
sub ebx, esi
mov eax, esi
and ebx, 0xfffffffe
cmp ebx, 0x1000
jb 0x42621c
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42628b
push ebx
push esi
call fcn.0046c40b
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00402340
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x426264
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42625a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42628b
push edx
push ecx
call fcn.0046c40b
add esp, 8
mov eax, edi
jmp 0x42626a
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c678
mov esp, ebp
pop ebp
ret
call fcn.00402a80
call fcn.00477ce9
int3