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

Disassembly:
mov eax, 0x4411fc
call fcn.00432c38
sub esp, 0x21c
push ebx
push esi
push edi
lea eax, [ebp - 0x11]
mov dword [ebp - 0x10], esp
push 1
pop edi
mov esi, ecx
push edi
push eax
push dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x4c], esi
mov byte [ebp - 0x12], 1
mov dword [ebp - 0x18], ebx
call fcn.004014ff
lea eax, [ebp - 0x44]
lea ecx, [esi + 0x26c]
push eax
mov dword [ebp - 4], ebx
call fcn.0040a236
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401915
mov eax, 0x44ce64
mov dword [ebp - 0x44], 0x44249c
mov ecx, eax
mov dword [ebp - 0x24], 0x442494
test ecx, ecx
jne 0x425777
mov eax, 0x450eb4
lea ecx, [ebp - 0x11]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b740
push ebx
lea eax, [ebp - 0x44]
push ebx
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.00426158
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401915
lea eax, [ebp - 0x11]
push edi
push eax
lea ecx, [ebp - 0x44]
push dword [ebp + 8]
call fcn.004014ff
push ebx
lea eax, [ebp - 0x44]
push edi
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.00426158
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401915
lea ecx, [esi + 4]
call fcn.004016f0
push eax
call fcn.0042b8ad
test eax, eax
je 0x425d2a
lea eax, [ebp - 0x228]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x10
lea eax, [ebp - 0x84]
push ebx
push eax
mov byte [ebp - 0x13], bl
mov dword [ebp - 4], 3
call fcn.004334a0
push 0x44
lea eax, [ebp - 0x124]
push ebx
push eax
call fcn.004334a0
mov dword [ebp - 0xf8], edi
mov word [ebp - 0xf4], di
mov edi, 0x44ce60
mov dword [ebp - 0x124], 0x44
push edi
call fcn.0043338f
add esp, 0x1c
lea ecx, [esi + 0x248]
push eax
push edi
push dword [ecx + 8]
push ebx
call fcn.00411594
cmp eax, ebx
jne 0x42586b
mov word [ebp - 0xf4], bx
lea eax, [ebp - 0x45]
mov edi, 0x44249c
push ebx
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x24], 0x442494
call fcn.00401581
mov eax, 0x44ce58
mov byte [ebp - 4], 4
mov ecx, eax
mov dword [ebp - 0x74], edi
test ecx, ecx
mov dword [ebp - 0x54], 0x442494
jne 0x4258a5
mov eax, 0x450eb4
lea ecx, [ebp - 0x19]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0040b740
mov eax, dword [esi + 0x1b0]
push dword [0x4425a8]
add eax, 0xfffffffd
lea ecx, [esi + 0x1a4]
push eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 4], 5
call fcn.0040b81c
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.00410cf9
cmp eax, ebx
lea ecx, [ebp - 0xe0]
sete byte [ebp - 0x11]
mov byte [ebp - 4], 5
call fcn.00401915
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.00401915
cmp byte [ebp - 0x11], bl
je 0x42592b
mov eax, 0x44ce38
mov ecx, eax
test ecx, ecx
jne 0x42591e
mov eax, 0x450eb4
push eax
lea ecx, [ebp - 0x44]
call fcn.004016c7
mov byte [ebp - 0x13], 1
mov edi, 0x44bd70
push edi
call fcn.0043338f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.0041de61
lea eax, [ebp + 0xb]
push 1
push eax
lea ecx, [ebp - 0xe0]
push dword [ebp + 8]
call fcn.004014ff
push dword [0x4425a8]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 7
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040d9c0
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 4
call fcn.00401915
lea eax, [esi + 0x1a4]
lea ecx, [ebp - 0x44]
push eax
call fcn.00410a7e
mov edi, 0x44bb74
push edi
call fcn.0043338f
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.0041de61
cmp byte [ebp + 0xc], bl
lea eax, [esi + 0x1f4]
jne 0x4259b9
lea eax, [esi + 0x1cc]
push dword [0x4425a8]
mov ecx, eax
add eax, 4
neg ecx
sbb ecx, ecx
push ebx
and ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.0040d9c0
mov eax, 0x44ce20
mov dword [ebp - 0x74], 0x44249c
mov ecx, eax
mov dword [ebp - 0x54], 0x442494
test ecx, ecx
jne 0x4259f2
mov eax, 0x450eb4
lea ecx, [ebp + 0xf]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0040b740
push ebx
lea eax, [ebp - 0x74]
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.00426158
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.00401915
push ebx
lea eax, [ebp - 0x44]
push 1
push eax
mov ecx, esi
call fcn.00426158
mov ecx, esi
call fcn.00425df6
push dword [ebp - 0x38]
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x44]
push eax
call fcn.00409fc5
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 9
call fcn.004016f0
lea ecx, [ebp - 0x84]
mov dword [edi + 8], eax
push ecx
lea ecx, [ebp - 0x124]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp - 0x90]
mov edi, eax
mov byte [ebp - 4], 4
call fcn.00409ff2
cmp edi, ebx
je 0x425b22
mov edi, 0x113
push 0xff
push 0xffffffffffffffff
lea eax, [ebp - 0x84]
push ebx
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebx
je 0x425aff
cmp eax, 1
jne 0x425aff
push 1
push edi
push edi
lea eax, [ebp - 0x68]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x425ad8
push 0x270001
push ebx
push ebx
lea eax, [ebp - 0x68]
push ebx
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x425a8f
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x425aaf
jmp 0x425a8f
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x80]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x84]
call edi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.00401915
jmp 0x425b3b
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp + 0xf]
mov edi, 0x442494
push ebx
push eax
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb8], 0x44249c
mov dword [ebp - 0x98], edi
call fcn.00401581
push dword [ebp - 0x18]
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], 0xb
push 0x44cdec
push eax
call fcn.00410d20
add esp, 0xc
lea eax, [ebp - 0xb8]
mov ecx, esi
push ebx
push 1
push eax
call fcn.00426158
mov ecx, esi
call fcn.00425e50
cmp al, bl
mov byte [esi + 0x2ea], al
je 0x425bf7
mov eax, 0x44cdcc
mov dword [ebp - 0x44], 0x44249c
mov ecx, eax
mov dword [ebp - 0x24], edi
test ecx, ecx
jne 0x425bcb
mov eax, 0x450eb4
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b740
push ebx
lea eax, [ebp - 0x44]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.00426158
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00401915
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00425d3e
test al, al
je 0x425c52
mov eax, 0x44cd88
mov dword [ebp - 0x44], 0x44249c
mov ecx, eax
mov dword [ebp - 0x24], edi
test ecx, ecx
jne 0x425c1f
mov eax, 0x450eb4
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b740
push ebx
lea eax, [ebp - 0x44]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.00426158
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00401915
mov byte [esi + 0x2ea], 1
mov ecx, esi
call fcn.00426045
cmp byte [ebp - 0x13], bl
je 0x425d1b
cmp dword [ebp - 0x18], 0x669
je 0x425c74
cmp dword [ebp - 0x18], 0xbc2
jne 0x425cc1
mov eax, 0x44cd30
mov dword [ebp - 0x44], 0x44249c
mov ecx, eax
mov dword [ebp - 0x24], edi
test ecx, ecx
jne 0x425c8e
mov eax, 0x450eb4
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.0040b740
push ebx
lea eax, [ebp - 0x44]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.00426158
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.00401915
mov byte [esi + 0x2ea], 1
cmp dword [ebp - 0x18], 0x642
jne 0x425d1b
mov eax, 0x44cce8
mov dword [ebp - 0x74], 0x44249c
mov ecx, eax
mov dword [ebp - 0x54], edi
test ecx, ecx
jne 0x425ce4
mov eax, 0x450eb4
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0040b740
push ebx
lea eax, [ebp - 0x74]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0xf
call fcn.00426158
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xb
call fcn.00401915
cmp byte [esi + 0x304], bl
jne 0x425d1b
mov byte [ebp - 0x12], bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00401915
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0x12]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8