Function at 0x410730
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x451dab
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x46d560]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
push edi
mov eax, dword [0x46d560]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
push 0x45f8e2
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 0
call fcn.004026d0
push 0x3e8
mov ecx, esi
mov dword [esp + 0x94], 0
call fcn.0041c124
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.00418293
mov ecx, dword [esp + 0x1c]
mov edx, 0x45f8e2
mov al, byte [ecx]
cmp al, byte [edx]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x1c]
jne 0x4107e7
cmp byte [esp + 0xf], 0
je 0x4107e3
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
mov byte [esp + 0xf], al
mov eax, dword [esp + 0x1c]
jne 0x4107e7
add ecx, 2
add edx, 2
cmp byte [esp + 0xf], 0
jne 0x4107b1
xor ecx, ecx
jmp 0x4107ec
sbb ecx, ecx
or ecx, 1
or edi, 0xffffffff
test ecx, ecx
je 0x410a51
cmp dword [eax - 0xc], 0
jl 0x410a51
push 0x460cdc
push eax
call fcn.0043885b
add esp, 8
test eax, eax
je 0x410a51
sub eax, dword [esp + 0x1c]
cmp eax, edi
je 0x410a51
call fcn.00414abd
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x41083f
push 0x80004005
call fcn.00402b60
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push str.__fl
lea eax, [esp + 0x20]
mov byte [esp + 0x94], 1
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00413b90
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 2
call fcn.00402300
mov byte [esp + 0x90], 1
mov ecx, edi
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4108a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x44
lea eax, [esp + 0x38]
push 0
push eax
call fcn.0043a170
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x2c]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0x44
add esp, 0xc
movdqa xmmword [esp + 0x24], xmm0
mov eax, dword [esi - 0xc]
add eax, 0xfffffff4
push eax
lea eax, [esp + 0x14]
push eax
call fcn.004020e0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x38]
push ecx
push dword [eax]
push 0
push 0x4000000
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [esp + 0x10]
test eax, eax
mov ecx, edi
sete byte [esp + 0xf]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410926
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [esp + 0xf], 0
je 0x410951
push 0x10
push 0x45f7f4
push str.Game.exe
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push str.C:TL_DATAGamePath.cfg
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x410a2e
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x14]
call fcn.0040dbd0
test al, al
je 0x410a2e
cmp dword [0x473138], 1
jne 0x410a2e
mov edx, 0x473770
lea ecx, [esp + 0x10]
call fcn.00409ff0
mov ecx, dword [0x473b10]
mov eax, dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4109b0
test dl, dl
je 0x4109ac
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4109b0
add ecx, 2
add eax, 2
test dl, dl
jne 0x410990
xor eax, eax
jmp 0x4109b5
sbb eax, eax
or eax, 1
test eax, eax
lea ecx, [esp + 0x10]
setne byte [esp + 0xf]
call fcn.00402b40
cmp byte [esp + 0xf], 0
je 0x4109e2
push 0x30
push 0x4607a8
push 0x461ac0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x410a2e
mov eax, dword [esp + 0x14]
add eax, 0x1038
mov ecx, eax
mov dword [esp + 0x14], eax
call fcn.00413a20
mov dword [esp + 0x18], eax
test eax, eax
je 0x410a2e
xor edi, edi
test eax, eax
jle 0x410a2b
mov esi, dword [esp + 0x14]
push edi
mov ecx, esi
call fcn.00422776
cmp eax, dword [esp + 0x2c]
jne 0x410a20
push 1
push edi
mov ecx, esi
call fcn.00424ace
inc edi
cmp edi, dword [esp + 0x18]
jl 0x410a08
mov esi, dword [esp + 0x20]
or edi, 0xffffffff
add esi, 0xfffffff0
mov byte [esp + 0x90], 0
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x410a65
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x410a65
push 0x30
push 0x4607a8
push 0x461a18
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [esp + 0x90], 0xffffffff
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x410a8b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.004384c1
mov esp, ebp
pop ebp
ret