Function at 0x416ce0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42d5d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
mov eax, dword [0x437250]
push edi
mov dword [esp + 0x19c], eax
mov edi, ecx
mov eax, dword [edi + 0x2c]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x416d1b
xor al, al
jmp 0x417796
mov edx, dword [0x438664]
push ebx
push ebp
push esi
mov ecx, 0x438664
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x2c], ebp
mov eax, dword [0x438664]
mov ecx, 0x438664
mov dword [esp + 0x1b4], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x34], eax
mov edx, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x1b4], 1
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x1b4], 2
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov edx, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x1b4], 3
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x1b4], 4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov edx, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x1b4], 5
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [0x438664]
mov ecx, 0x438664
mov byte [esp + 0x1b4], 6
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x38], ebx
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx - 0xc]
test eax, eax
lea esi, [edi + 0x1c]
mov byte [esp + 0x1b4], 7
jne 0x416f8b
push 0xac9
push str..WnTreatConfFile.cpp
push 0x42ff08
lea esi, [edi + 0x4c]
push str._s:_s:_d
push esi
call fcn.004019c0
mov eax, dword [esi]
mov ecx, dword [eax - 4]
sub eax, 0x10
add esp, 0x14
cmp ecx, 1
jle 0x416e4e
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401430
mov esi, dword [esi]
push esi
call fcn.004011c0
add esp, 4
lea eax, [ebx - 0x10]
mov byte [esp + 0x1b4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416ea1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416ec7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416eed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f13
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f39
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov dword [esp + 0x1b4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x417793
mov eax, dword [0x438664]
mov ecx, 0x438664
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1bc]
mov ebp, 1
cmp eax, ebp
mov byte [esp + 0x1b4], 8
jne 0x416fbe
push str.wnwbimeup.info
jmp 0x417010
cmp eax, 2
jne 0x416fca
push str.wnwbwgup.info
jmp 0x417010
cmp eax, 3
jne 0x416fd6
push str.wnpyimeup.info
jmp 0x417010
cmp eax, 4
jne 0x416fe2
push str.wnpywgup.info
jmp 0x417010
cmp eax, 5
jne 0x416fee
push str.wnieup.info
jmp 0x417010
cmp eax, 6
jne 0x416ffa
push str.wnedogup.info
jmp 0x417010
cmp eax, 7
jne 0x417006
push str.wnsrfup.info
jmp 0x417010
cmp eax, 8
jne 0x417019
push str.wnkbimeup.info
lea ecx, [esp + 0x14]
call fcn.00401ea0
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x34]
push ecx
push edx
lea eax, [esp + 0x34]
push 0x42ec54
push eax
call fcn.004019c0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add esp, 0x10
push eax
push ecx
mov ecx, esi
call fcn.00401930
mov eax, dword [edi + 8]
test eax, eax
jne 0x417187
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417075
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x1b4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417097
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417109
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41712f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417155
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x1b4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41717b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
jmp 0x416f62
mov eax, dword [esp + 0x2c]
cmp dword [eax - 4], ebp
jle 0x41719d
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x30]
call fcn.00401430
mov eax, dword [esi]
mov ecx, dword [eax - 4]
sub eax, 0x10
cmp ecx, ebp
jle 0x4171b4
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00401430
mov ebp, dword [edi + 0x44]
mov eax, dword [esi]
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
push 0
push 0
push ebp
mov ebp, dword [esp + 0x38]
push ebp
push eax
push 0
call dword [edx + 8]
test eax, eax
jne 0x41722a
mov eax, dword [esi]
push eax
push 0x42fe58
add edi, 0x4c
push 0x42ec54
push edi
call fcn.004019c0
add esp, 0x10
mov ecx, edi
call fcn.004028a0
push eax
call fcn.004011c0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x1b4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x416e59
push 0x42fe34
call fcn.004011c0
add esp, 4
mov ecx, edi
call fcn.0040a970
test al, al
jne 0x417254
push 0x42fe18
call fcn.004011c0
add esp, 4
jmp 0x417685
push 0x42fdfc
call fcn.004011c0
add esp, 4
lea ecx, [esp + 0x50]
call fcn.00418e30
push 0
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x1bc], 9
call fcn.00418ed0
test al, al
lea ecx, [esp + 0x50]
je 0x417678
push str.UPDATE_INFO
call fcn.00417fa0
mov ecx, eax
call fcn.00418020
mov esi, eax
test esi, esi
je 0x417674
jmp 0x4172b0
push str.allow
mov ecx, esi
call fcn.004189c0
push eax
lea ecx, [esp + 0x24]
call fcn.00401ea0
mov eax, dword [esp + 0x20]
push str.false
push eax
call fcn.00420aed
add esp, 8
test eax, eax
mov ecx, esi
je 0x417309
push str.old_version
call fcn.004189c0
push eax
lea ecx, [esp + 0x28]
call fcn.00401ea0
lea eax, [edi + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0040ad90
add esp, 8
test al, al
mov ecx, esi
jne 0x417319
call fcn.004180b0
mov esi, eax
test esi, esi
jne 0x4172b0
jmp 0x41739a
push str.file_name
call fcn.004189c0
push eax
lea ecx, [esp + 0x18]
call fcn.00401ea0
push str.new_version
mov ecx, esi
call fcn.004189c0
push eax
lea ecx, [edi + 0x30]
call fcn.00401ea0
push str.restrict
mov ecx, esi
call fcn.004189c0
push eax
lea ecx, [esp + 0x1c]
call fcn.00401ea0
mov edx, dword [esp + 0x18]
push 0x42e6ec
push edx
call fcn.00420aed
add esp, 8
test eax, eax
jne 0x41739a
push str.speed
mov ecx, esi
call fcn.004189c0
push eax
lea ecx, [esp + 0x2c]
call fcn.00401ea0
push str.interval_time
mov ecx, esi
call fcn.004189c0
push eax
lea ecx, [esp + 0x3c]
call fcn.00401ea0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x417674
lea ecx, [esp + 0x30]
call fcn.004016e0
lea ecx, [esp + 0x40]
call fcn.004016e0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x1b8], 0xb
call fcn.00401aa0
mov edx, dword [esp + 0x30]
mov esi, dword [edx - 0xc]
push esi
lea ecx, [esp + 0x34]
call fcn.0040add0
cmp al, 0x2f
je 0x4173f5
dec esi
push esi
lea ecx, [esp + 0x34]
call fcn.0040add0
cmp al, 0x2f
jne 0x4173e6
inc esi
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x38]
call fcn.0040b100
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1b8], 0xc
call fcn.00401aa0
lea ecx, [esp + 0x3c]
call fcn.00401340
lea ecx, [esp + 0x3c]
call fcn.004016e0
lea ecx, [esp + 0xa4]
push ecx
push 0x104
mov byte [esp + 0x1bc], 0xd
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0x40]
call fcn.00401ea0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x48]
push 0x42ec54
push edx
call fcn.004019c0
mov ecx, dword [esp + 0x1d4]
add esp, 0x10
lea eax, [esp + 0x40]
push eax
call fcn.00401aa0
lea ecx, [esp + 0x44]
call fcn.004016e0
lea ecx, [esp + 0x1c]
call fcn.004016e0
mov ebp, dword [esp + 0x1bc]
cmp ebp, 1
mov bl, 0xf
mov byte [esp + 0x1b4], bl
jne 0x4174b0
push 0x42fda4
jmp 0x417502
cmp ebp, 2
jne 0x4174bc
push 0x42fd94
jmp 0x417502
cmp ebp, 3
jne 0x4174c8
push 0x42fd84
jmp 0x417502
cmp ebp, 4
jne 0x4174d4
push 0x42fd74
jmp 0x417502
cmp ebp, 5
jne 0x4174e0
push 0x42fd68
jmp 0x417502
cmp ebp, 6
jne 0x4174ec
push 0x42fd60
jmp 0x417502
cmp ebp, 7
jne 0x4174f8
push 0x42fd54
jmp 0x417502
cmp ebp, 8
jne 0x41750b
push 0x42fd44
lea ecx, [esp + 0x20]
call fcn.00401ea0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x50]
push 0x42fd3c
push edx
call fcn.0040b1e0
push 0x42fd20
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x1cc], 0x10
call fcn.004019e0
add esp, 0x18
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x1b8], 0x11
call fcn.00401aa0
lea ecx, [esp + 0x48]
call fcn.00401340
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b4], bl
call fcn.00401340
mov ecx, dword [esp + 0x44]
push 1
push 0x42fd18
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
je 0x417647
mov edx, dword [esp + 0x18]
push 0x42e6ec
push edx
call fcn.00420aed
add esp, 8
test eax, eax
jne 0x4175e4
mov eax, dword [esp + 0x28]
push eax
call fcn.0042153e
mov ecx, dword [esp + 0x3c]
push ecx
mov esi, eax
call fcn.0042153e
mov ecx, dword [edi + 8]
add esp, 8
test ecx, ecx
je 0x417647
push eax
mov eax, dword [edi + 0x44]
mov edx, ecx
mov ebx, dword [edx]
push esi
push eax
lea ecx, [esp + 0x4c]
call fcn.004028a0
push eax
lea ecx, [esp + 0x24]
call fcn.004028a0
mov ecx, dword [edi + 8]
push eax
push 0
call dword [ebx + 8]
jmp 0x417613
mov eax, dword [edi + 8]
test eax, eax
je 0x417647
mov edx, dword [edi + 0x44]
push 0
mov ecx, eax
mov esi, dword [ecx]
push 0
push edx
lea ecx, [esp + 0x4c]
call fcn.004028a0
push eax
lea ecx, [esp + 0x24]
call fcn.004028a0
mov ecx, dword [edi + 8]
push eax
push 0
call dword [esi + 8]
test eax, eax
jne 0x41761e
push 0x42fcfc
jmp 0x41763f
push 0x42fce0
call fcn.004011c0
add esp, 4
mov ecx, edi
call fcn.0040a970
test al, al
jne 0x4176dd
push 0x42fcc0
call fcn.004011c0
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.00401340
lea ecx, [esp + 0x44]
call fcn.00401340
lea ecx, [esp + 0x3c]
call fcn.00401340
lea ecx, [esp + 0x40]
call fcn.00401340
lea ecx, [esp + 0x30]
call fcn.00401340
lea ecx, [esp + 0x50]
mov byte [esp + 0x1b4], 8
call fcn.004012d0
lea ecx, [esp + 0x10]
call fcn.00401340
lea ecx, [esp + 0x38]
call fcn.00401340
lea ecx, [esp + 0x28]
call fcn.00401340
lea ecx, [esp + 0x18]
call fcn.00401340
lea ecx, [esp + 0x20]
call fcn.00401340
lea ecx, [esp + 0x24]
call fcn.00401340
lea ecx, [esp + 0x14]
call fcn.00401340
lea ecx, [esp + 0x34]
call fcn.00401340
lea ecx, [esp + 0x2c]
call fcn.00401340
xor al, al
jmp 0x417793
push 0x42fca8
call fcn.004011c0
mov eax, dword [esp + 0x1c4]
add esp, 4
push eax
push ebp
mov ecx, edi
call fcn.0040dfc0
push ebp
mov ecx, edi
call fcn.0040e580
lea ecx, [esp + 0x1c]
call fcn.00401340
lea ecx, [esp + 0x44]
call fcn.00401340
lea ecx, [esp + 0x3c]
call fcn.00401340
lea ecx, [esp + 0x40]
call fcn.00401340
lea ecx, [esp + 0x30]
call fcn.00401340
lea ecx, [esp + 0x50]
mov byte [esp + 0x1b4], 8
call fcn.004012d0
lea ecx, [esp + 0x10]
call fcn.00401340
lea ecx, [esp + 0x38]
call fcn.00401340
lea ecx, [esp + 0x28]
call fcn.00401340
lea ecx, [esp + 0x18]
call fcn.00401340
lea ecx, [esp + 0x20]
call fcn.00401340
lea ecx, [esp + 0x24]
call fcn.00401340
lea ecx, [esp + 0x14]
call fcn.00401340
lea ecx, [esp + 0x34]
call fcn.00401340
lea ecx, [esp + 0x2c]
call fcn.00401340
mov al, 1
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x19c]
pop edi
call fcn.0042001e
add esp, 0x1a8
ret 0xc