Function at 0x4090e0
Capabilities:
Check if file exists
Create process on windows
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x545278
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x591d64]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591d64]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x28], edi
call fcn.00415458
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40913b
push 0x80004005
call fcn.0040e230
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x220], 0
mov ecx, dword [edi + 0xf4]
mov eax, dword [ecx - 0xc]
mov edx, dword [edi + 0xe8]
test eax, eax
lea eax, [esp + 0x20]
jne 0x40917e
push edx
push 0x56eb90
push eax
call fcn.0040de30
add esp, 0xc
jmp 0x40918e
push ecx
push edx
push str._s_s
push eax
call fcn.0040de30
add esp, 0x10
mov eax, dword [edi + 0xf0]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x409405
push 0
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.0040e260
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00409790
cmp eax, 1
jne 0x409405
push str.Element_Client
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
call fcn.0041bf97
mov dword [esp + 0x18], eax
test eax, eax
je 0x4093e5
push 0
call fcn.005053a4
add esp, 4
push 0x103
lea ecx, [esp + 0x111]
push 0
push ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov byte [esp + 0x118], 0
call fcn.00507960
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.005053f5
add esp, 8
test eax, eax
jne 0x409237
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], ecx
jmp 0x40923f
mov dword [esp + 0x24], 0xffffffff
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xec]
push eax
call fcn.005053f5
add esp, 8
test eax, eax
jne 0x409261
mov ebx, dword [esp + 0xec]
jmp 0x409264
or ebx, 0xffffffff
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0xa4]
push edx
call fcn.005053f5
add esp, 8
test eax, eax
jne 0x409286
mov ebp, dword [esp + 0xa8]
jmp 0x409289
or ebp, 0xffffffff
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.005053f5
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x6c]
lea edx, [esp + 0x34]
mov edi, eax
push edx
lea eax, [esp + 0x88]
push eax
call fcn.005053f5
add esp, 0x10
test eax, eax
jne 0x4092c7
mov esi, dword [esp + 0x8c]
inc esi
jmp 0x4092c9
xor esi, esi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0xc8]
push edx
call fcn.005053f5
add esp, 8
test eax, eax
jne 0x4092f0
mov eax, dword [esp + 0xd8]
add eax, 0x76c
jmp 0x4092f2
xor eax, eax
mov ecx, dword [esp + 0x24]
push ecx
push ebx
push ebp
push edi
push esi
push eax
push str.Element_Client_i8:_04d_02d_02d_02d_02d_02d_
lea edx, [esp + 0x128]
call fcn.0040cd80
mov ecx, dword [esp + 0x34]
add esp, 0x1c
lea edx, [esp + 0x10c]
push edx
call fcn.0041f4f3
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x20]
call fcn.0040d8a0
push eax
lea ecx, [esp + 0x28]
push str.Msg:modify_wnd_success_
push ecx
mov byte [esp + 0x22c], 1
call fcn.0040d960
add esp, 0xc
push 0x56ece8
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x22c], 2
call fcn.0040db20
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
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 0x409391
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x220], 1
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 0x4093b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x220], 0
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 0x4093e1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0xf8]
mov edx, dword [edi + 0xe8]
push ecx
push edx
lea eax, [esp + 0x28]
push str._s_s
push eax
call fcn.0040de30
add esp, 0x10
mov ebp, dword [esp + 0x20]
push ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
lea ecx, [esp + 0x20]
push ecx
test eax, eax
je 0x409509
lea edx, [esp + 0x28]
push str.Msg:start_succeed_
push edx
call fcn.0040d960
add esp, 0xc
push 0x56f070
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0x22c], 3
call fcn.0040db20
add esp, 0xc
lea ecx, [edi + 0xfc]
push ecx
push eax
lea edx, [esp + 0x20]
mov bl, 4
push edx
mov byte [esp + 0x22c], bl
call fcn.0040a760
add esp, 0xc
push 0x56ece8
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x22c], 5
call fcn.0040db20
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
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 0x4094ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x220], bl
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 0x4094d3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x220], 3
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4094fb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x220], 0
mov eax, dword [esp + 0x24]
jmp 0x40956b
lea edx, [esp + 0x1c]
push str.Msg:start_false_file_not_exist_
push edx
call fcn.0040d960
add esp, 0xc
push str.___Still_running._n
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x22c], 6
call fcn.0040db20
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
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 0x40955f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x220], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409587
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x2e
push ebp
mov esi, 1
call fcn.00506452
add esp, 8
test eax, eax
jne 0x4095a0
or eax, 0xffffffff
jmp 0x4095a2
sub eax, ebp
inc eax
push eax
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
call fcn.0040a580
mov byte [esp + 0x220], 7
mov ebx, dword [esp + 0x1c]
push 0x56f608
push ebx
call fcn.00506154
add esp, 8
test eax, eax
je 0x4095e2
push 0x56f60c
push ebx
call fcn.00506154
add esp, 8
test eax, eax
jne 0x4095e4
xor esi, esi
push 0x5c
push ebp
call fcn.00506452
add esp, 8
test eax, eax
jne 0x4095f8
or eax, 0xffffffff
jmp 0x4095fa
sub eax, ebp
push eax
push 0
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x2c]
call fcn.0040a5b0
mov eax, dword [edi + 0xfc]
push esi
mov esi, dword [esp + 0x1c]
push esi
push eax
push ebp
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409642
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x220], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409666
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x220], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40968d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.005043e7
add esp, 0x210
ret