Function at 0x4074e0
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x19594
call fcn.00430b50
mov eax, dword [0x43f480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [0x441d90]
xor ebx, ebx
mov byte [ebp - 0x110], 0
mov byte [ebp - 0x19530], 0
mov byte [ebp - 0x19531], 0
test edi, edi
jle 0x407861
cmp byte [ebp - 0x19531], 0
jne 0x40758f
mov esi, dword [0x441d94]
mov eax, dword [esi + ebx*4]
mov ecx, str._START
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407556
test dl, dl
je 0x407552
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407556
add eax, 2
add ecx, 2
test dl, dl
jne 0x407536
xor eax, eax
jmp 0x40755b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407648
inc ebx
mov byte [ebp - 0x19531], 1
cmp ebx, edi
jge 0x407648
mov eax, dword [esi + ebx*4]
lea edx, [ebp - 0x110]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x407580
jmp 0x407648
lea eax, [ebp - 0x19530]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x407598
sub eax, edx
mov esi, eax
mov eax, dword [0x441d94]
mov edx, dword [eax + ebx*4]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4075b0
sub eax, edi
lea ecx, [esi + eax + 2]
cmp ecx, 0x19000
jae 0x407651
lea edi, [ebp - 0x19530]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4075d0
mov ax, word [0x43b738]
mov word [edi], ax
mov eax, edx
mov ecx, edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4075e5
lea edi, [ebp - 0x19530]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4075f7
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x19530]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407614
mov cx, word [0x43b738]
mov word [edi], cx
lea edi, [ebp - 0x19530]
dec edi
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407630
mov dx, word [0x43bc78]
mov word [edi], dx
mov edi, dword [0x441d90]
inc ebx
cmp ebx, edi
jl 0x40751f
cmp byte [ebp - 0x19531], 0
je 0x407861
mov esi, 0x441ba8
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00421ae0
add esp, 8
test eax, eax
jne 0x407861
add esi, 4
cmp esi, 0x441c40
jl 0x407663
push eax
push eax
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x530]
push edx
lea eax, [ebp - 0x110]
push eax
call fcn.004225c3
add esp, 0x14
lea ecx, [ebp - 0x320]
push ecx
lea edx, [ebp - 0x530]
push edx
lea eax, [ebp - 0x428]
push str._s_s
push eax
call fcn.00420357
add esp, 0x10
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.TEMP
call fcn.004204a0
add esp, 4
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x110]
lea eax, [ebp - 0x218]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x407725
test dl, dl
je 0x407721
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x407725
add eax, 2
add ecx, 2
test dl, dl
jne 0x407705
xor eax, eax
jmp 0x40772a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4077b7
cmp byte [0x442b24], 0
jne 0x407747
call fcn.00401040
mov byte [0x442b24], 1
mov eax, dword [0x442b58]
mov eax, dword [eax + 0x9c]
push eax
lea ecx, [ebp - 0x110]
push ecx
call fcn.00421ae0
add esp, 8
test eax, eax
jne 0x4077b7
lea edx, [ebp - 0x110]
push esi
push edx
call fcn.00421ae0
add esp, 8
test eax, eax
jne 0x4077b7
cmp byte [0x442b24], al
jne 0x40778e
call fcn.00401040
mov byte [0x442b24], 1
mov edx, dword [0x442b58]
lea eax, [ebp - 0x110]
push eax
mov eax, dword [edx + 0x98]
lea ecx, [ebp - 0x218]
push ecx
push eax
lea eax, [ebp - 0x110]
call fcn.00405000
add esp, 0xc
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4077c0
sub eax, edx
mov edx, eax
lea eax, [ebp - 0x19530]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4077d4
sub eax, esi
lea ecx, [edx + eax + 8]
push ecx
call fcn.0041f104
add esp, 4
mov esi, eax
lea edx, [ebp - 0x19530]
push edx
lea eax, [ebp - 0x110]
push eax
push str.__s___s
push esi
call fcn.00420357
push 0x44
lea ecx, [ebp - 0x19590]
push 0
push ecx
call fcn.00428440
add esp, 0x1c
xor eax, eax
lea edx, [ebp - 0x19544]
push edx
mov dword [ebp - 0x19544], eax
mov dword [ebp - 0x19540], eax
mov dword [ebp - 0x1953c], eax
mov dword [ebp - 0x19538], eax
lea eax, [ebp - 0x19590]
push eax
push 0
push 0
push 0x100
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push esi
call fcn.004203db
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fc56
mov esp, ebp
pop ebp
ret