Function at 0x41adc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x4b206c]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x214]
push edi
push 0x208
push 0
push eax
call fcn.00463e50
add esp, 0xc
push 0x494f3c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41aeb2
push 0x103
lea ecx, [ebp - 0x214]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push str.360base.dll
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x214], ax
jne 0x41ae74
xor ecx, ecx
lea eax, [ebp - 0x214]
push ecx
push eax
mov ecx, esi
call fcn.00401a46
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41ae80
sub ecx, edx
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00401a46
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00460c27
mov esp, ebp
pop ebp
ret 4
push 0x104
lea eax, [ebp - 0x214]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 8
lea eax, [ebp - 0x214]
mov edx, esp
mov dword [edx], eax
cmp word [ebp - 0x214], 0
jne 0x41aee1
xor ecx, ecx
jmp 0x41aeff
lea ecx, [ebp - 0x214]
lea edi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41aef0
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x25c]
call fcn.0040cfd0
lea ecx, [ebp - 0x25c]
call fcn.004186b0
mov edi, eax
mov dword [ebp - 0x218], 7
xor eax, eax
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
test edi, edi
je 0x41b0cf
sub esp, 8
lea eax, [ebp - 0x244]
mov ecx, esp
push 0x493a9c
mov dword [ecx], str.360base.dll
mov dword [ecx + 4], 0xb
mov ecx, edi
push eax
call fcn.00418c00
lea eax, [ebp - 0x2a4]
push eax
sub esp, 8
lea eax, [ebp - 0x244]
cmp dword [ebp - 0x230], 8
mov ecx, esp
cmovae eax, dword [ebp - 0x244]
mov dword [ecx], eax
mov eax, dword [ebp - 0x234]
mov dword [ecx + 4], eax
lea eax, [ebp - 0x274]
push eax
push ecx
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.0040d5f0
add esp, 4
mov ecx, eax
call fcn.0040d7f0
mov ecx, eax
call fcn.0040d7f0
lea ecx, [ebp - 0x22c]
cmp ecx, eax
je 0x41afce
push 0xffffffffffffffff
push 0
push eax
call fcn.00401cc4
lea ecx, [ebp - 0x2a4]
call fcn.0040d070
lea ecx, [ebp - 0x274]
call fcn.0040d070
lea ecx, [ebp - 0x28c]
call fcn.0040d070
mov eax, dword [ebp - 0x230]
cmp eax, 8
jb 0x41b048
mov ecx, dword [ebp - 0x244]
inc eax
cmp eax, 0x7fffffff
ja 0x41b16d
add eax, eax
cmp eax, 0x1000
jb 0x41b03f
test cl, 0x1f
jne 0x41b172
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x41b177
sub ecx, eax
cmp ecx, 4
jb 0x41b17c
cmp ecx, 0x23
ja 0x41b181
mov ecx, eax
push ecx
call fcn.00460c6b
add esp, 4
cmp dword [ebp - 0x218], 8
lea eax, [ebp - 0x22c]
cmovae eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41b0c7
sub esp, 8
mov eax, esp
mov dword [eax], str.360base.dll
mov dword [eax + 4], 0xb
lea eax, [ebp - 0x28c]
push eax
push ecx
lea eax, [ebp - 0x274]
push eax
lea ecx, [ebp - 0x25c]
call fcn.0040d5f0
add esp, 4
mov ecx, eax
call fcn.0040d7f0
lea ecx, [ebp - 0x22c]
cmp ecx, eax
je 0x41b0b1
push 0xffffffffffffffff
push 0
push eax
call fcn.00401cc4
lea ecx, [ebp - 0x28c]
call fcn.0040d070
lea ecx, [ebp - 0x274]
call fcn.0040d070
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov ecx, dword [ebp - 0x218]
cmp ecx, 8
jae 0x41b113
mov eax, dword [ebp - 0x21c]
add eax, 1
je 0x41b125
add eax, eax
push eax
lea eax, [ebp - 0x22c]
push eax
push esi
call fcn.00461b40
mov ecx, dword [ebp - 0x218]
add esp, 0xc
jmp 0x41b125
mov eax, dword [ebp - 0x22c]
mov dword [esi], eax
mov dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x21c]
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x14], ecx
lea ecx, [ebp - 0x25c]
mov dword [ebp - 0x218], 7
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x22c], ax
call fcn.0040d070
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00460c27
mov esp, ebp
pop ebp
ret 4
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
call fcn.004662a1
int3