Function at 0x438800
Capabilities:
Check if file exists
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48a1be
mov eax, dword fs:[0]
push eax
sub esp, 0x60c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b47a8]
xor eax, esp
push eax
lea eax, [esp + 0x620]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x170]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1032
push eax
call ebp
test eax, eax
ja 0x438876
push 0
push 0x30
push 0x49bc50
call fcn.0044f968
mov ecx, dword [esp + 0x620]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x170]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call ebp
mov edx, dword [esi + 0x170]
mov ebx, 1
add eax, ebx
push 2
lea edi, [eax - 1]
push edi
push 0x100c
push edx
call ebp
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4388bd
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov dword [esp + 0x628], 0
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4388f2
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
push 0
push edi
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esi + 0x150]
mov byte [esp + 0x634], bl
call fcn.00453ae3
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x62c], 2
call fcn.00406820
mov byte [esp + 0x628], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x438955
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esi + 0x80]
lea ebx, [esp + 0x24]
call fcn.0040ac20
mov edi, dword [esp + 0x18]
cmp edi, 2
jne 0x438a12
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x438991
mov edi, 0x58
jmp 0x4389db
lea esi, [esp + 0x1c]
lea edi, [esp + 0x18]
call fcn.004345e0
push eax
mov ecx, esi
mov byte [esp + 0x62c], 3
call fcn.00406820
mov byte [esp + 0x628], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4389d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, 0x62
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0042ef00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x628], 4
call fcn.00451b98
lea ecx, [esp + 0x2c]
mov byte [esp + 0x628], 1
call fcn.0042f130
test edi, edi
je 0x438a20
cmp edi, 1
je 0x438a20
cmp edi, 2
jne 0x438a57
push edi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.0042ef00
lea ecx, [esp + 0x2c]
mov byte [esp + 0x628], 5
call fcn.00451b98
lea ecx, [esp + 0x2c]
mov byte [esp + 0x628], 1
call fcn.0042f130
cmp edi, 3
mov ebp, dword [sym.imp.SHELL32.dll_ShellExecuteA]
je 0x438a70
cmp edi, 4
je 0x438a70
cmp edi, 5
jne 0x438bf9
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x438a8a
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x628], 6
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x438abc
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x62c], 7
call fcn.00406820
push 1
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x30]
call fcn.0040a000
mov eax, dword [eax]
push 0x494a8c
push eax
call fcn.00469941
add esp, 8
test eax, eax
mov eax, dword [esp + 0x20]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438b27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x438b3b
push 1
push 0x494a8c
lea ecx, [esp + 0x30]
call fcn.0040a140
mov ebx, dword [esp + 0x28]
push ebx
lea ecx, [esp + 0x1c]
push 0x4980e8
push ecx
call fcn.004067e0
mov esi, dword [esp + 0x24]
add esp, 0xc
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x438ba4
push 0x4980f4
lea edx, [esp + 0x24]
push 0x4b90c8
push edx
call fcn.00406070
mov eax, dword [eax]
add esp, 0xc
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438ba4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 5
push 0
push 0
push esi
push 0
push 0
call ebp
lea eax, [esi - 0x10]
mov byte [esp + 0x628], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438bd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x628], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438bf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 6
jne 0x438cba
call fcn.0044d630
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x438c1c
push 0x80004005
call fcn.00401db0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push str..exe
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
mov bl, 8
push edx
mov byte [esp + 0x634], bl
call fcn.00406070
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x62c], 9
call fcn.00406820
mov byte [esp + 0x628], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438c85
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
push 5
push 0
push 0
push esi
push 0
push 0
call ebp
lea eax, [esi - 0x10]
mov byte [esp + 0x628], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438cba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x628], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438ce2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x628], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438d0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x620]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret