Function at 0x40eb80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d381
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x485370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x628]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xc
call fcn.004507d8
xor ebx, ebx
add esp, 4
cmp eax, ebx
je 0x40ebdc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov esi, eax
jmp 0x40ebde
xor esi, esi
lea edi, [ebp - 0x630]
mov ecx, esi
call fcn.0040ce80
lea ecx, [ebp - 0x218]
push ecx
push ebx
push str.http:__www.xitongwangguo.com_softcon_softicon.zip
lea edx, [ebp - 0x628]
push edx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x218]
mov ecx, str.http:__www.xitongwangguo.com_softcon_softicon.zip
call fcn.0040ab30
cmp esi, ebx
je 0x40ec54
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40ec2c
push eax
call fcn.004501b9
add esp, 4
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x40ec3c
push eax
call fcn.004501b9
add esp, 4
mov eax, dword [esi]
cmp eax, ebx
je 0x40ec4b
push eax
call fcn.00450267
add esp, 4
push esi
call fcn.004501b9
add esp, 4
lea esi, [ebp - 0x62c]
call fcn.0040f800
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.0045152a
mov eax, dword [ebp - 0x62c]
add eax, 0xfffffff0
or esi, 0xffffffff
add esp, 0xc
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ec9a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x62c]
push ecx
lea ecx, [ebp - 0x218]
call fcn.00405070
lea edx, [ebp - 0x634]
mov ebx, 1
push edx
lea eax, [ebp - 0x62c]
mov byte [ebp - 4], bl
call fcn.004112a0
mov byte [ebp - 4], 2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x420]
call fcn.00413430
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x634]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ecff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x62c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ed24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x630]
cmp dword [ecx - 0xc], 0
jne 0x40ed50
lea eax, [ecx - 0x10]
mov dword [ebp - 4], esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x40ed4c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40ed79
call fcn.0040e030
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x630]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], esi
dec esi
test esi, esi
jg 0x40ed77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004501c4
mov esp, ebp
pop ebp
ret