Function at 0x41b730
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x46a2a3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b270]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, ecx
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b773
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], 0
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b7a5
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x2c], 1
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b7d4
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
lea esi, [ebp + 8]
sub eax, 0x10
cmp dword [eax + 0xc], 1
mov byte [esp + 0x2c], 2
jle 0x41b803
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00401720
mov esi, dword [esi]
push str.TQWBDefault
push esi
lea edx, [esp + 0x20]
push 0x47128c
push edx
call fcn.00401f50
mov edi, dword [esp + 0x28]
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x41b84c
push ecx
lea eax, [edi - 0x10]
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401290
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0042d4b0
add esp, 4
push str.ConfigXML.xml
push edi
lea eax, [esp + 0x1c]
push 0x47128c
push eax
call fcn.00401f50
mov ecx, dword [str.http:__tqm.stnts.com:80_ws_index2.php]
push str.fidget_mini
push ecx
lea edx, [esp + 0x34]
push str._s__s
push edx
call fcn.00401f50
add esp, 0x20
cmp dword [ebp + 0x174], 0
je 0x41b8da
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b8ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b8d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
jmp 0x41ba2c
push 0x40
call fcn.0043189c
add esp, 4
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x2c], 3
test eax, eax
je 0x41b908
push ebx
push 1
push edi
mov ecx, eax
call fcn.00417090
mov esi, eax
jmp 0x41b90a
xor esi, esi
mov dword [esi], 0x24000010
mov dword [esi + 4], 0xa
mov ecx, dword [ebp + 0x174]
push ecx
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.00417800
mov ecx, esi
test eax, eax
je 0x41b9d5
call fcn.00416be0
push esi
call fcn.004318cb
add esp, 4
lea edx, [esp + 0x14]
push edx
mov ecx, ebp
call fcn.00418f10
lea eax, [edi - 0x10]
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b96f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b994
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b9bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
call fcn.00416be0
push esi
call fcn.004318cb
lea eax, [edi - 0x10]
add esp, 4
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ba04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ba25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x2c], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ba49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret