Function at 0x41d1c0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46a4f1
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x48b270]
xor eax, esp
mov dword [esp + 0x11c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48b270]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d217
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 dword [esp + 0x13c], 0
call fcn.00432e51
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41d24c
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
lea ecx, [esp + 0x2c]
push ecx
push 0x104
mov byte [esp + 0x144], 1
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push str.TQWB_update.ini
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push 0x47128c
push eax
call fcn.00401f50
mov eax, dword [edi + 0x2c]
mov edx, dword [str.http:__tqm.stnts.com:80_ws_index2.php]
add esp, 0x10
push 0
lea ecx, [esp + 0x1c]
push ecx
push eax
push edx
mov ecx, edi
call fcn.00418910
test eax, eax
mov eax, dword [esp + 0x18]
je 0x41d439
push 0x46eb20
push eax
call fcn.0045100a
add esp, 8
test eax, eax
setne al
test al, al
je 0x41d3de
lea ecx, [esp + 0x1c]
call fcn.0043a4e3
mov ebp, dword [esp + 0x14]
push 0
push 2
push ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0x148], 2
call fcn.0043a966
mov ebx, 1
lea ecx, [esp + 0x1c]
cmp eax, ebx
jne 0x41d3c6
push 0
push 0
call fcn.0043a398
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], ebx
mov esi, dword [eax - 0xc]
jle 0x41d329
mov ecx, esi
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401720
mov eax, dword [esp + 0x18]
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.0043a219
lea ecx, [esp + 0x1c]
call fcn.0043a47d
mov eax, dword [edi + 8]
lea esi, [edi + 8]
sub eax, 0x10
cmp dword [eax + 0xc], ebx
jle 0x41d356
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401720
cmp dword [ebp - 4], 1
mov ebx, dword [esi]
jle 0x41d36f
mov eax, dword [ebp - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00401720
mov ebp, dword [esp + 0x14]
push ebx
push ebp
mov ecx, edi
call fcn.0041cab0
mov eax, dword [esi]
sub eax, 0x10
mov ebx, 1
cmp dword [eax + 0xc], ebx
jle 0x41d392
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00401720
cmp dword [ebp - 4], ebx
mov esi, dword [esi]
jle 0x41d3aa
mov edx, dword [ebp - 0xc]
push edx
lea ecx, [esp + 0x18]
call fcn.00401720
mov ebp, dword [esp + 0x14]
push esi
push ebp
mov ecx, edi
call fcn.0041ac80
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 1
call fcn.0043a5fc
jmp 0x41d3e2
call fcn.0043a47d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x13c], 1
call fcn.0043a5fc
jmp 0x41d3e2
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x13c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d40a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov dword [esp + 0x13c], 0xffffffff
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d432
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, 1
jmp 0x41d48a
add eax, 0xfffffff0
mov byte [esp + 0x13c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d45d
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 dword [esp + 0x13c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d488
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x11c]
xor ecx, esp
call fcn.004517f0
add esp, 0x12c
ret 4