Function at 0x411550
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x45f867
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x47c944]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c944]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x23c]
mov ebp, dword [esp + 0x250]
push eax
lea ecx, [esp + 0x18]
call fcn.00404410
mov dword [esp + 0x234], 0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
test eax, eax
jl 0x411870
push 0x46cc08
push ecx
call fcn.00445446
add esp, 8
test eax, eax
je 0x411870
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
je 0x411870
push str.http:__web.4399.com_
lea ecx, [esp + 0x20]
call fcn.00404410
push 0x10
lea eax, [esp + 0x1c]
mov ebx, 1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x23c], bl
call fcn.00407750
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x238], 2
call fcn.00403e10
mov byte [esp + 0x234], 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 0x411645
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jle 0x41170a
push 0x7c
push eax
call fcn.004460f0
add esp, 8
test eax, eax
je 0x41170a
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x41170a
lea ecx, [esi + 1]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00407750
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x238], 3
call fcn.00403e10
mov byte [esp + 0x234], 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 0x4116c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403a30
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x238], 4
call fcn.00403e10
mov byte [esp + 0x234], 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 0x41170a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x2f
lea ecx, [esp + 0x18]
push ecx
call fcn.00411b80
mov eax, dword [esp + 0x14]
mov esi, dword [eax - 0xc]
test esi, esi
jge 0x41172b
push 0x80070057
call fcn.004045a0
movzx edi, word [eax]
test esi, esi
jg 0x41173c
push 0x80070057
call fcn.004045a0
cmp dword [eax - 4], ebx
jle 0x411751
mov edx, esi
push edx
lea ecx, [esp + 0x18]
call fcn.00404160
mov eax, dword [esp + 0x14]
add edi, 0xffffffe0
mov word [eax], di
test esi, esi
jl 0x411721
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x411721
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x14]
xor eax, eax
xor edx, edx
mov word [ecx + esi*2], ax
push 0x206
push edx
lea eax, [esp + 0x2a]
push eax
mov word [esp + 0x2c], dx
call fcn.00447b40
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.4399GameLogin_
lea edx, [esp + 0x24]
push 0x104
push edx
call fcn.00445516
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push 0x104
push ecx
call fcn.00445516
push str..exe
lea edx, [esp + 0x3c]
push 0x104
push edx
call fcn.00445516
add esp, 0x24
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41183c
mov ecx, dword [0x4810ec]
push ecx
mov eax, ebx
mov ecx, 0x46cc5c
mov ebx, 0x46cc70
call fcn.004037a0
add esp, 4
cmp eax, 1
jne 0x41181d
lea esi, [esp + 0x14]
call fcn.00411ae0
mov ebx, 1
jmp 0x411845
mov edx, dword [esp + 0x1c]
push 5
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, 1
jmp 0x411845
lea ecx, [esp + 0x20]
call fcn.004036b0
mov byte [esp + 0x234], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [ebp], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411870
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x234], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41189b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00445369
add esp, 0x224
ret 0x18