Function at 0x413d10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x42a406
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
mov eax, dword [0x434250]
push edi
mov dword [esp + 0x19c], eax
mov edi, ecx
mov eax, dword [edi + 0x2c]
mov eax, dword [eax - 0xc]
test eax, eax
jne 0x413d4b
xor al, al
jmp 0x4147c6
mov edx, dword [0x435644]
push ebx
push ebp
push esi
mov ecx, 0x435644
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x2c], ebp
mov eax, dword [0x435644]
mov ecx, 0x435644
mov dword [esp + 0x1b4], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x34], eax
mov edx, dword [0x435644]
mov ecx, 0x435644
mov byte [esp + 0x1b4], 1
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x435644]
mov ecx, 0x435644
mov byte [esp + 0x1b4], 2
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x24], eax
mov edx, dword [0x435644]
mov ecx, 0x435644
mov byte [esp + 0x1b4], 3
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [0x435644]
mov ecx, 0x435644
mov byte [esp + 0x1b4], 4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov edx, dword [0x435644]
mov ecx, 0x435644
mov byte [esp + 0x1b4], 5
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [0x435644]
mov ecx, 0x435644
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 0x413fbb
push 0xa5e
push str..WnTreatConfFile.cpp
push 0x42ccf4
lea esi, [edi + 0x4c]
push str._s:_s:_d
push esi
call fcn.00401cf0
mov eax, dword [esi]
mov ecx, dword [eax - 4]
sub eax, 0x10
add esp, 0x14
cmp ecx, 1
jle 0x413e7e
mov edx, dword [eax + 4]
push edx
mov ecx, esi
call fcn.00401590
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 0x413eab
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 0x413ed1
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 0x413ef7
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 0x413f1d
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 0x413f43
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 0x413f69
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 0x413f8f
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 0x413fb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor al, al
jmp 0x4147c3
mov eax, dword [0x435644]
mov ecx, 0x435644
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 0x413fee
push str.wnwbimeup.info
jmp 0x414040
cmp eax, 2
jne 0x413ffa
push str.wnwbwgup.info
jmp 0x414040
cmp eax, 3
jne 0x414006
push str.wnpyimeup.info
jmp 0x414040
cmp eax, 4
jne 0x414012
push str.wnpywgup.info
jmp 0x414040
cmp eax, 5
jne 0x41401e
push str.wnieup.info
jmp 0x414040
cmp eax, 6
jne 0x41402a
push str.wnedogup.info
jmp 0x414040
cmp eax, 7
jne 0x414036
push str.wnsrfup.info
jmp 0x414040
cmp eax, 8
jne 0x414049
push str.wnkbimeup.info
lea ecx, [esp + 0x14]
call fcn.004062b0
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0x34]
push ecx
push edx
lea eax, [esp + 0x34]
push 0x42bba4
push eax
call fcn.00401cf0
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 0xc]
add esp, 0x10
push eax
push ecx
mov ecx, esi
call fcn.00405de0
mov eax, dword [edi + 8]
test eax, eax
jne 0x4141b7
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 0x4140a5
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 0x4140c7
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 0x4140ed
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 0x414113
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 0x414139
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 0x41415f
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 0x414185
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 0x4141ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
jmp 0x413f92
mov eax, dword [esp + 0x2c]
cmp dword [eax - 4], ebp
jle 0x4141cd
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x30]
call fcn.00401590
mov eax, dword [esi]
mov ecx, dword [eax - 4]
sub eax, 0x10
cmp ecx, ebp
jle 0x4141e4
mov ecx, dword [eax + 4]
push ecx
mov ecx, esi
call fcn.00401590
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 0x41425a
mov eax, dword [esi]
push eax
push 0x42cc44
add edi, 0x4c
push 0x42bba4
push edi
call fcn.00401cf0
add esp, 0x10
mov ecx, edi
call fcn.00401840
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 0x413e89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x413e89
push 0x42cc20
call fcn.004011c0
add esp, 4
mov ecx, edi
call fcn.00409e40
test al, al
jne 0x414284
push 0x42cc04
call fcn.004011c0
add esp, 4
jmp 0x4146b5
push 0x42cbe8
call fcn.004011c0
add esp, 4
lea ecx, [esp + 0x50]
call fcn.004162e0
push 0
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x1bc], 9
call fcn.00416380
test al, al
lea ecx, [esp + 0x50]
je 0x4146a8
push str.UPDATE_INFO
call fcn.00415450
mov ecx, eax
call fcn.004154d0
mov esi, eax
test esi, esi
je 0x4146a4
jmp 0x4142e0
push str.allow
mov ecx, esi
call fcn.00415e70
push eax
lea ecx, [esp + 0x24]
call fcn.004062b0
mov eax, dword [esp + 0x20]
push str.false
push eax
call fcn.0041e2b7
add esp, 8
test eax, eax
mov ecx, esi
je 0x414339
push str.old_version
call fcn.00415e70
push eax
lea ecx, [esp + 0x28]
call fcn.004062b0
lea eax, [edi + 0x2c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.0040a2d0
add esp, 8
test al, al
mov ecx, esi
jne 0x414349
call fcn.00415560
mov esi, eax
test esi, esi
jne 0x4142e0
jmp 0x4143ca
push str.file_name
call fcn.00415e70
push eax
lea ecx, [esp + 0x18]
call fcn.004062b0
push str.new_version
mov ecx, esi
call fcn.00415e70
push eax
lea ecx, [edi + 0x30]
call fcn.004062b0
push str.restrict
mov ecx, esi
call fcn.00415e70
push eax
lea ecx, [esp + 0x1c]
call fcn.004062b0
mov edx, dword [esp + 0x18]
push 0x42b600
push edx
call fcn.0041e2b7
add esp, 8
test eax, eax
jne 0x4143ca
push str.speed
mov ecx, esi
call fcn.00415e70
push eax
lea ecx, [esp + 0x2c]
call fcn.004062b0
push str.interval_time
mov ecx, esi
call fcn.00415e70
push eax
lea ecx, [esp + 0x3c]
call fcn.004062b0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x4146a4
lea ecx, [esp + 0x30]
call fcn.00401820
lea ecx, [esp + 0x40]
call fcn.00401820
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
mov byte [esp + 0x1b8], 0xb
call fcn.004060a0
mov edx, dword [esp + 0x30]
mov esi, dword [edx - 0xc]
push esi
lea ecx, [esp + 0x34]
call fcn.0040a2f0
cmp al, 0x2f
je 0x414425
dec esi
push esi
lea ecx, [esp + 0x34]
call fcn.0040a2f0
cmp al, 0x2f
jne 0x414416
inc esi
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x38]
call fcn.0040a620
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x1b8], 0xc
call fcn.004060a0
lea ecx, [esp + 0x3c]
call fcn.004014e0
lea ecx, [esp + 0x3c]
call fcn.00401820
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.004062b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x48]
push 0x42bba4
push edx
call fcn.00401cf0
mov ecx, dword [esp + 0x1d4]
add esp, 0x10
lea eax, [esp + 0x40]
push eax
call fcn.004060a0
lea ecx, [esp + 0x44]
call fcn.00401820
lea ecx, [esp + 0x1c]
call fcn.00401820
mov ebp, dword [esp + 0x1bc]
cmp ebp, 1
mov bl, 0xf
mov byte [esp + 0x1b4], bl
jne 0x4144e0
push 0x42cb90
jmp 0x414532
cmp ebp, 2
jne 0x4144ec
push 0x42cb80
jmp 0x414532
cmp ebp, 3
jne 0x4144f8
push 0x42cb70
jmp 0x414532
cmp ebp, 4
jne 0x414504
push 0x42cb60
jmp 0x414532
cmp ebp, 5
jne 0x414510
push 0x42cb54
jmp 0x414532
cmp ebp, 6
jne 0x41451c
push 0x42cb4c
jmp 0x414532
cmp ebp, 7
jne 0x414528
push 0x42cb40
jmp 0x414532
cmp ebp, 8
jne 0x41453b
push 0x42cb30
lea ecx, [esp + 0x20]
call fcn.004062b0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x50]
push 0x42cb28
push edx
call fcn.0040a700
push 0x42cb0c
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x1cc], 0x10
call fcn.004061c0
add esp, 0x18
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x1b8], 0x11
call fcn.004060a0
lea ecx, [esp + 0x48]
call fcn.004014e0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1b4], bl
call fcn.004014e0
mov ecx, dword [esp + 0x44]
push 1
push 0x42cb04
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
je 0x414677
mov edx, dword [esp + 0x18]
push 0x42b600
push edx
call fcn.0041e2b7
add esp, 8
test eax, eax
jne 0x414614
mov eax, dword [esp + 0x28]
push eax
call fcn.0041e487
mov ecx, dword [esp + 0x3c]
push ecx
mov esi, eax
call fcn.0041e487
mov ecx, dword [edi + 8]
add esp, 8
test ecx, ecx
je 0x414677
push eax
mov eax, dword [edi + 0x44]
mov edx, ecx
mov ebx, dword [edx]
push esi
push eax
lea ecx, [esp + 0x4c]
call fcn.00401840
push eax
lea ecx, [esp + 0x24]
call fcn.00401840
mov ecx, dword [edi + 8]
push eax
push 0
call dword [ebx + 8]
jmp 0x414643
mov eax, dword [edi + 8]
test eax, eax
je 0x414677
mov edx, dword [edi + 0x44]
push 0
mov ecx, eax
mov esi, dword [ecx]
push 0
push edx
lea ecx, [esp + 0x4c]
call fcn.00401840
push eax
lea ecx, [esp + 0x24]
call fcn.00401840
mov ecx, dword [edi + 8]
push eax
push 0
call dword [esi + 8]
test eax, eax
jne 0x41464e
push 0x42cae8
jmp 0x41466f
push 0x42cacc
call fcn.004011c0
add esp, 4
mov ecx, edi
call fcn.00409e40
test al, al
jne 0x41470d
push 0x42caac
call fcn.004011c0
add esp, 4
lea ecx, [esp + 0x1c]
call fcn.004014e0
lea ecx, [esp + 0x44]
call fcn.004014e0
lea ecx, [esp + 0x3c]
call fcn.004014e0
lea ecx, [esp + 0x40]
call fcn.004014e0
lea ecx, [esp + 0x30]
call fcn.004014e0
lea ecx, [esp + 0x50]
mov byte [esp + 0x1b4], 8
call fcn.00405c30
lea ecx, [esp + 0x10]
call fcn.004014e0
lea ecx, [esp + 0x38]
call fcn.004014e0
lea ecx, [esp + 0x28]
call fcn.004014e0
lea ecx, [esp + 0x18]
call fcn.004014e0
lea ecx, [esp + 0x20]
call fcn.004014e0
lea ecx, [esp + 0x24]
call fcn.004014e0
lea ecx, [esp + 0x14]
call fcn.004014e0
lea ecx, [esp + 0x34]
call fcn.004014e0
lea ecx, [esp + 0x2c]
call fcn.004014e0
xor al, al
jmp 0x4147c3
push 0x42ca94
call fcn.004011c0
mov eax, dword [esp + 0x1c4]
add esp, 4
push eax
push ebp
mov ecx, edi
call fcn.0040d490
push ebp
mov ecx, edi
call fcn.0040da50
lea ecx, [esp + 0x1c]
call fcn.004014e0
lea ecx, [esp + 0x44]
call fcn.004014e0
lea ecx, [esp + 0x3c]
call fcn.004014e0
lea ecx, [esp + 0x40]
call fcn.004014e0
lea ecx, [esp + 0x30]
call fcn.004014e0
lea ecx, [esp + 0x50]
mov byte [esp + 0x1b4], 8
call fcn.00405c30
lea ecx, [esp + 0x10]
call fcn.004014e0
lea ecx, [esp + 0x38]
call fcn.004014e0
lea ecx, [esp + 0x28]
call fcn.004014e0
lea ecx, [esp + 0x18]
call fcn.004014e0
lea ecx, [esp + 0x20]
call fcn.004014e0
lea ecx, [esp + 0x24]
call fcn.004014e0
lea ecx, [esp + 0x14]
call fcn.004014e0
lea ecx, [esp + 0x34]
call fcn.004014e0
lea ecx, [esp + 0x2c]
call fcn.004014e0
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.0041d05e
add esp, 0x1a8
ret 0xc