Function at 0x42e1d0
Capabilities:
Create process on windows
Get file attributes
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc8ce
mov eax, dword fs:[0]
push eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x28]
mov dword fs:[0], esp
sub esp, 0xb38
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, edx
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
cmp eax, edx
jne 0x42e208
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov dword [eax], edx
cmp ecx, edx
je 0x42e218
call fcn.0041a480
xor edx, edx
cmp ebx, edx
je 0x42e637
cmp byte [ebx], 0
je 0x42e637
cmp esi, edx
je 0x42e235
cmp byte [esi], 0
jne 0x42e235
mov dword [ebp + 0x10], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], edx
cmp edi, edx
je 0x42e2e0
push str.find
push ebx
call fcn.004ba135
add esp, 8
test eax, eax
je 0x42e2d5
push str.50__
call fcn.0049be50
add esp, 4
push eax
push ebx
call fcn.004ba135
add esp, 8
test eax, eax
je 0x42e2d5
push str.open
push ebx
call fcn.004ba135
add esp, 8
test eax, eax
je 0x42e2d5
push str.edit
push ebx
call fcn.004ba135
add esp, 8
test eax, eax
je 0x42e2d5
push str._:8__
call fcn.0049be50
add esp, 4
push eax
push ebx
call fcn.004ba135
add esp, 8
test eax, eax
je 0x42e2d5
push str._:_7_9__
call fcn.0049be50
add esp, 4
push eax
push ebx
call fcn.004ba135
add esp, 8
test eax, eax
je 0x42e2d5
mov dword [ebp - 0x14], edi
jmp 0x42e3b3
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
jmp 0x42e3b3
mov edi, 0x4d9558
mov eax, ebx
call fcn.004099e0
test eax, eax
je 0x42e3b3
sub eax, ebx
mov esi, eax
lea eax, [esi + 1]
call fcn.004c41d0
mov eax, esp
push esi
push ebx
push eax
call fcn.004c3030
mov edi, eax
add esp, 0xc
mov byte [edi + esi], 0
cmp byte [edi], 0x2a
jne 0x42e31e
inc edi
jmp 0x42e3a5
push str.find
push edi
call fcn.004ba135
add esp, 8
test eax, eax
je 0x42e3a5
push str.50__
call fcn.0049be50
add esp, 4
push eax
push edi
call fcn.004ba135
add esp, 8
test eax, eax
je 0x42e3a5
push str.open
push edi
call fcn.004ba135
add esp, 8
test eax, eax
je 0x42e3a5
push str.edit
push edi
call fcn.004ba135
add esp, 8
test eax, eax
je 0x42e3a5
push str._:8__
call fcn.0049be50
add esp, 4
push eax
push edi
call fcn.004ba135
add esp, 8
test eax, eax
je 0x42e3a5
push str._:_7_9__
call fcn.0049be50
add esp, 4
push eax
push edi
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x42e3b3
mov dword [ebp - 0x18], edi
test edi, edi
je 0x42e3b3
lea eax, [esi + ebx + 1]
mov dword [ebp - 0x1c], eax
xor esi, esi
cmp byte [ebp + 0x24], 0
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x38], esi
je 0x42e424
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x634]
test eax, eax
je 0x42e3d4
cmp dword [eax + 8], esi
jne 0x42e3f3
mov eax, dword [ecx + 0x640]
test eax, eax
je 0x42e3e3
cmp dword [eax + 8], esi
jne 0x42e3f3
mov eax, ecx
add eax, 0x648
call fcn.0042e9a0
test al, al
jne 0x42e424
mov byte [ebp + 0x27], 1
cmp dword [ebp - 0x18], esi
je 0x42e428
cmp byte [ebp + 0x14], 0
je 0x42e41d
push 0x4d6959
push 0x4dc6b4
call fcn.0049be50
mov ecx, dword [ebp + 8]
add esp, 4
push eax
call fcn.00473b40
xor eax, eax
jmp 0x42e63c
mov byte [ebp + 0x27], 0
mov eax, dword [ebp - 0x1c]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e430
sub eax, edx
mov dword [ebp - 0x24], eax
cmp eax, 0x4001
jb 0x42e454
cmp byte [ebp + 0x14], cl
je 0x42e41d
push 0x4d6959
push 0x4dc6e4
jmp 0x42e40c
cmp dword [ebp - 0x18], esi
jne 0x42e564
push 0x40
lea ecx, [ebp - 0xbc]
push 0
push ecx
call fcn.004c16a0
mov esi, dword [ebp + 0x18]
add esp, 0xc
mov dword [ebp - 0xc0], 0x44
mov dword [ebp - 0x94], 1
test esi, esi
je 0x42e49e
cmp byte [esi], 0
je 0x42e49e
call fcn.0041b740
mov word [ebp - 0x90], ax
jmp 0x42e4aa
mov edx, 1
mov word [ebp - 0x90], dx
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], 0
test eax, eax
je 0x42e4fc
cmp byte [eax], 0
je 0x42e4fc
lea edx, [eax + 1]
jmp 0x42e4d0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e4d0
mov ecx, dword [ebp - 0x24]
sub eax, edx
lea eax, [eax + ecx + 0xa]
call fcn.004c41d0
mov edx, dword [ebp + 0xc]
mov edi, esp
push edx
push ebx
push str._s__s
push edi
call fcn.004ba66c
add esp, 0x10
jmp 0x42e51a
mov eax, dword [ebp - 0x24]
inc eax
call fcn.004c41d0
mov edi, esp
mov edx, edi
mov eax, ebx
sub edx, ebx
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x42e510
cmp byte [ebp + 0x27], 0
je 0x42e5b5
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x38]
push eax
push ecx
mov ecx, dword [ebp + 0x28]
lea edx, [ebp - 0xd]
push edx
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp + 8]
push ecx
mov cl, byte [ebp + 0x14]
push edx
mov edx, dword [ebp + 0x10]
push edi
push eax
call fcn.0044e440
test eax, eax
je 0x42e41d
cmp byte [ebp - 0xd], 0
jne 0x42e60e
mov esi, dword [ebp - 0x38]
cmp byte [ebp + 0x27], 0
jne 0x42e886
push 0x38
lea edx, [ebp - 0x74]
push 0
push edx
call fcn.004c16a0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x18]
add esp, 0xc
mov dword [ebp - 0x78], 0x3c
mov dword [ebp - 0x74], 0x440
test eax, eax
je 0x42e6a1
cmp byte [eax], 0
je 0x42e6a1
mov esi, eax
call fcn.0041b740
mov dword [ebp - 0x5c], eax
jmp 0x42e6a8
cmp dword [ebp + 0x2c], 0
je 0x42e660
mov ecx, dword [ebp + 0x10]
push edi
lea edi, [ebp - 0x34]
lea eax, [ebp - 0xc0]
call fcn.0047df00
mov ecx, dword [ebp + 0x34]
add esp, 4
mov dword [ecx], eax
test eax, eax
je 0x42e655
mov eax, dword [ebp + 0x30]
mov edx, dword [ebp - 0x84]
mov dword [eax], edx
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x42e5f6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x20]
mov dword [edx], ecx
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x42e60e
push eax
mov eax, dword [ebp - 0x2c]
call fcn.00401690
cmp byte [ebp + 0x20], 0
je 0x42e621
mov ecx, dword [0x4ec48c]
mov dword [ecx + 0x30], 0
cmp dword [ebp + 0x1c], 0
jne 0x42e637
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
test eax, eax
je 0x42e637
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
lea esp, [ebp - 0xb50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42e56e
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc0]
push ecx
push edx
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x42e655
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x42e694
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x42e5fe
mov dword [ebp - 0x5c], 1
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x42e6d1
push str._:_7_9__
mov dword [ebp - 0x6c], esi
call fcn.0049be50
add esp, 4
push eax
push esi
call fcn.004ba135
add esp, 8
test eax, eax
jne 0x42e6d1
or dword [ebp - 0x74], 0xc
cmp dword [ebp - 0x14], 0
jne 0x42e7df
mov eax, dword [ebp - 0x24]
inc eax
call fcn.004c41d0
mov eax, dword [ebp - 0x1c]
mov ebx, esp
mov edx, ebx
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x42e6f0
cmp byte [ebx], 0x22
jne 0x42e736
lea esi, [ebx + 1]
push 0x22
push esi
call fcn.004bb121
add esp, 8
test eax, eax
je 0x42e736
mov byte [eax], 0
inc eax
cmp byte [eax], 0
mov dword [ebp - 0x1c], esi
je 0x42e7df
cmp byte [eax], 0x20
mov dword [ebp - 0x14], eax
jne 0x42e7df
inc eax
mov dword [ebp - 0x14], eax
jmp 0x42e7df
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42e744
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea ecx, [ebx + 1]
push 0x20
push ecx
call fcn.004bb121
mov edi, eax
add esp, 8
test edi, edi
je 0x42e7ce
lea esi, [edi - 1]
cmp esi, ebx
jbe 0x42e77a
nop
movsx eax, byte [esi]
push eax
push 0x4dc708
call fcn.004bb121
add esp, 8
test eax, eax
jne 0x42e77a
dec esi
cmp esi, ebx
ja 0x42e760
cmp byte [esi], 0x2e
jne 0x42e7b3
mov edx, edi
sub edx, esi
mov byte [edi], 0
cmp edx, 4
jne 0x42e7a5
push esi
push str.___f7_1o:b___h__
call fcn.0049be50
add esp, 4
call fcn.004a3290
add esp, 4
test eax, eax
jne 0x42e7c7
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x42e7c7
mov byte [edi], 0x20
push 0x20
inc edi
push edi
call fcn.004bb121
mov edi, eax
add esp, 8
test edi, edi
jne 0x42e758
jmp 0x42e7ce
inc edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0x10], 0
je 0x42e7df
push 0x4f13e0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0x78]
push edx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x42e87e
test byte [0x4f4db8], 1
jne 0x42e84b
or dword [0x4f4db8], 1
push 0x4dc72c
mov dword [ebp - 4], 0
call fcn.0049be50
add esp, 4
push eax
push str.____9wo__
call fcn.0049be50
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4f4db4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x42e850
mov eax, dword [0x4f4db4]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x20]
mov dword [edx], ecx
test ecx, ecx
je 0x42e60e
cmp dword [ebp + 0x28], 0
je 0x42e60e
test eax, eax
je 0x42e60e
push ecx
call eax
mov ecx, dword [ebp + 0x28]
push ecx
jmp 0x42e609
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp byte [ebp + 0x20], 0
je 0x42e895
mov edx, dword [0x4ec48c]
mov dword [edx + 0x30], esi
cmp byte [ebp + 0x14], 0
je 0x42e41d
push 0
push 0x1ff
lea eax, [ebp - 0x340]
push eax
push 0
push esi
push 0
push 0x1200
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
cmp dword [ebp - 0x18], 0
je 0x42e8ea
mov ecx, dword [ebp - 0x18]
push ecx
push 0x4dc75c
call fcn.0049be50
add esp, 4
push eax
mov esi, 0x80
lea edi, [ebp - 0x140]
call fcn.004a2f10
add esp, 8
jmp 0x42e8f1
mov byte [ebp - 0x140], 0
cmp dword [ebp - 0x14], 0
mov esi, 0x4d6959
jne 0x42e8ff
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e905
sub eax, edx
mov ebx, 0x4d9a84
cmp eax, 0x190
ja 0x42e91c
mov ebx, esi
mov edi, dword [ebp - 0x1c]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42e924
sub eax, edx
cmp eax, 0x190
jbe 0x42e939
mov esi, 0x4d9a84
cmp byte [ebp + 0x27], 0
je 0x42e946
push 0x4dc770
jmp 0x42e94b
push 0x4dc7a4
call fcn.0049be50
mov edx, dword [ebp - 0x14]
add esp, 4
push ebx
push edx
lea ecx, [ebp - 0x140]
push ecx
push esi
push edi
push eax
push 0x4dc7dc
call fcn.0049be50
add esp, 4
push eax
mov esi, 0x800
lea edi, [ebp - 0xb40]
call fcn.004a2f10
mov ecx, dword [ebp + 8]
add esp, 0x1c
lea edx, [ebp - 0x340]
push edx
mov eax, edi
push eax
call fcn.00473b40
xor eax, eax
jmp 0x42e63c