Function at 0x47c897
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df6f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x65c
mov dword [0x50a424], 0
mov dword [0x50a330], 0
mov dword [0x50a334], 0x3ff00000
mov byte [0x509c81], 0
mov al, byte [0x509c81]
mov byte [0x509c80], al
mov byte [0x50895a], 0
movsx ecx, byte [0x50895a]
mov dword [0x5088c0], ecx
mov edx, dword [0x5088c0]
mov dword [0x5088c4], edx
mov eax, dword [0x5088c4]
mov dword [0x5088bc], eax
mov ecx, dword [0x5088bc]
mov dword [0x5088cc], ecx
mov byte [0x5088b1], 2
mov dword [0x50a93c], 0
mov byte [0x508958], 1
mov byte [0x50a8ea], 0
movsx edx, byte [0x50a8ea]
mov dword [0x50a408], edx
mov eax, dword [0x50a408]
mov dword [0x50a410], eax
mov dword [0x50a40c], 1
mov dword [0x50a418], 0x60
call fcn.00429063
mov dword [0x508964], 0x508970
mov ecx, dword [0x508964]
mov dword [0x508960], ecx
mov edx, dword [0x508960]
mov dword [0x508968], edx
mov eax, dword [0x508968]
mov dword [eax + 0x30], 0
mov ecx, dword [0x508968]
mov dword [ecx], 0
mov dword [0x5089e4], 0x5089f0
mov edx, dword [0x5089e4]
mov dword [0x5089e0], edx
mov eax, dword [0x5089e0]
mov dword [0x5089e8], eax
mov ecx, dword [0x5089e8]
mov dword [ecx + 0x18], 0
mov edx, dword [0x5089e8]
mov dword [edx], 0
fld qword [0x4f9460]
fdiv qword [0x4e2ff0]
fstp qword [0x50a2e0]
mov dword [0x50a188], 0
mov dword [0x50a18c], 0x3ff00000
mov dword [0x50a92c], 0xf
mov dword [0x50a928], 0
mov dword [0x50a924], 0xb
mov dword [0x50a920], 0xe
mov dword [0x50a914], 9
mov dword [0x50a910], 0xd
mov dword [0x50a91c], 3
mov dword [0x50a90c], 0xc
mov dword [0x5088c8], 0
mov eax, dword [0x5088c8]
mov dword [0x5088cc], eax
mov dword [0x4f94d4], 1
mov ecx, dword [0x4f94d4]
mov dword [0x4f94d8], ecx
mov dword [0x50a424], 0
mov byte [0x50811f], 0
mov byte [0x50a7e8], 0
call fcn.00430281
call fcn.0042f92f
call fcn.0042d128
call fcn.0044fefb
cmp dword [0x508130], 0
jle 0x47cea8
push 0
mov dx, word [0x50a952]
push edx
call fcn.004502cd
add esp, 8
push 0
mov ax, word [0x4f94cc]
push eax
call fcn.004502cd
add esp, 8
push 0
mov cx, word [0x4f94ce]
push ecx
call fcn.004502cd
add esp, 8
push 0
mov dx, word [0x4f94d0]
push edx
call fcn.004502cd
add esp, 8
mov eax, dword [0x507cf0]
add eax, 1
mov dword [0x507cec], eax
mov dword [ebp - 0x5a8], 0
jmp 0x47cb24
mov ecx, dword [ebp - 0x5a8]
add ecx, 1
mov dword [ebp - 0x5a8], ecx
cmp dword [ebp - 0x5a8], 4
jge 0x47cb67
mov edx, dword [ebp - 0x5a8]
movsx eax, word [edx*2 + 0x508704]
test eax, eax
jl 0x47cb65
movsx ecx, word [0x5081b0]
mov edx, 1
sub edx, ecx
push edx
mov eax, dword [ebp - 0x5a8]
mov cx, word [eax*2 + 0x508704]
push ecx
call fcn.00450492
add esp, 8
jmp 0x47cb15
movsx edx, word [0x5086fe]
test edx, edx
jl 0x47cb89
mov ax, word [0x5081ac]
push eax
mov cx, word [0x5086fe]
push ecx
call fcn.00450492
add esp, 8
call fcn.0045e569
push 0
call fcn.00450386
add esp, 4
test eax, eax
jne 0x47cc26
push 1
call fcn.00450386
add esp, 4
test eax, eax
jne 0x47cc26
push 2
call fcn.00450386
add esp, 4
test eax, eax
jne 0x47cc26
push 3
call fcn.00450386
add esp, 4
test eax, eax
jne 0x47cc26
push 0
call fcn.00451355
add esp, 4
fcomp qword [0x4e2d78]
fnstsw ax
test ah, 0x40
je 0x47cc26
push 1
call fcn.00451355
add esp, 4
fcomp qword [0x4e2d78]
fnstsw ax
test ah, 0x40
je 0x47cc26
push 2
call fcn.00451355
add esp, 4
fcomp qword [0x4e2d78]
fnstsw ax
test ah, 0x40
je 0x47cc26
push 3
call fcn.00451355
add esp, 4
fcomp qword [0x4e2d78]
fnstsw ax
test ah, 0x40
jne 0x47cc34
push 0
push 0
push str.The_control_card_cant_working_normally___nCheck_the_card_is_installed_fastness:
call fcn.004cc994
mov dword [0x509c78], 4
cmp dword [0x509c78], 1
jl 0x47cc5f
cmp dword [0x509c78], 8
jg 0x47cc5f
mov edx, dword [0x509c78]
push edx
call fcn.00451410
add esp, 4
call fcn.0045232c
mov eax, dword [0x509ecc]
push eax
mov ecx, dword [0x509ec8]
push ecx
call fcn.00443e6e
add esp, 8
fmul qword [0x4e3220]
sub esp, 8
fstp qword [esp]
call fcn.00452455
add esp, 8
mov edx, dword [0x509e8c]
push edx
mov eax, dword [0x509e88]
push eax
call fcn.004528f8
add esp, 8
mov ecx, dword [0x509eac]
push ecx
mov edx, dword [0x509ea8]
push edx
call fcn.0045255d
add esp, 8
lea ecx, [ebp - 0x5a4]
call fcn.004017e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c4]
call fcn.004aa6ba
mov byte [ebp - 4], 1
push 0
push str.LAFunc.dll
push 0x50d030
lea eax, [ebp - 0x5cc]
push eax
call fcn.004c03b5
mov dword [ebp - 0x618], eax
mov ecx, dword [ebp - 0x618]
mov dword [ebp - 0x61c], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x61c]
call fcn.00401800
push eax
lea ecx, [ebp - 0x5c4]
call fcn.004aa77d
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x5c8], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5cc]
call fcn.004c016c
mov edx, dword [ebp - 0x5c8]
and edx, 0xff
test edx, edx
je 0x47cd58
push str.Missing_file:_LAFunc.dll_n
lea ecx, [ebp - 0x5a4]
call fcn.004c02a9
push 0
push str.VFunc.dll
push 0x50d030
lea eax, [ebp - 0x5d4]
push eax
call fcn.004c03b5
mov dword [ebp - 0x620], eax
mov ecx, dword [ebp - 0x620]
mov dword [ebp - 0x624], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x624]
call fcn.00401800
push eax
lea ecx, [ebp - 0x5c4]
call fcn.004aa77d
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x5d0], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5d4]
call fcn.004c016c
mov edx, dword [ebp - 0x5d0]
and edx, 0xff
test edx, edx
je 0x47cdd7
push str.Missing_file:_VFunc.dll_n
lea ecx, [ebp - 0x5a4]
call fcn.004c04fc
push 0x50ceb4
lea eax, [ebp - 0x5a4]
push eax
call fcn.00460a20
and eax, 0xff
test eax, eax
je 0x47ce06
push 0
push 0
lea ecx, [ebp - 0x5a4]
call fcn.00401800
push eax
call fcn.004cc994
mov dword [0x507cec], 1
movsx ecx, word [0x508710]
test ecx, ecx
jl 0x47ce3a
movsx edx, word [0x5081b2]
mov eax, 1
sub eax, edx
push eax
mov cx, word [0x508710]
push ecx
call fcn.00450492
add esp, 8
movsx edx, word [0x50870e]
test edx, edx
jl 0x47ce64
movsx eax, word [0x5081b2]
mov ecx, 1
sub ecx, eax
push ecx
mov dx, word [0x50870e]
push edx
call fcn.00450492
add esp, 8
movsx eax, word [0x50870c]
test eax, eax
jl 0x47ce87
mov cx, word [0x5081b2]
push ecx
mov dx, word [0x50870c]
push edx
call fcn.00450492
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c4]
call fcn.004aa6f7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.004c016c
push 0x507f98
push 0
push 0x4ff248
mov ecx, 0x50d030
call fcn.00401800
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x24
call fcn.004c06eb
add esp, 4
mov dword [ebp - 0x5dc], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x5dc], 0
je 0x47cef8
mov ecx, dword [ebp - 0x5dc]
call fcn.0048f940
mov dword [ebp - 0x628], eax
jmp 0x47cf02
mov dword [ebp - 0x628], 0
mov eax, dword [ebp - 0x628]
mov dword [ebp - 0x5d8], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5d8]
mov dword [0x507880], ecx
push 0
push 0x47e92b
push 0x47e8a6
mov ecx, dword [0x507880]
call fcn.0048f9af
push 0xc
call fcn.004c06eb
add esp, 4
mov dword [ebp - 0x5e4], eax
mov dword [ebp - 4], 5
cmp dword [ebp - 0x5e4], 0
je 0x47cf6b
mov ecx, dword [ebp - 0x5e4]
call fcn.004868fe
mov dword [ebp - 0x62c], eax
jmp 0x47cf75
mov dword [ebp - 0x62c], 0
mov edx, dword [ebp - 0x62c]
mov dword [ebp - 0x5e0], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5e0]
mov dword [0x50787c], eax
push 0xc
call fcn.004c06eb
add esp, 4
mov dword [ebp - 0x5ec], eax
mov dword [ebp - 4], 6
cmp dword [ebp - 0x5ec], 0
je 0x47cfc6
mov ecx, dword [ebp - 0x5ec]
call fcn.004868fe
mov dword [ebp - 0x630], eax
jmp 0x47cfd0
mov dword [ebp - 0x630], 0
mov ecx, dword [ebp - 0x630]
mov dword [ebp - 0x5e8], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5e8]
mov dword [0x507878], edx
push 0xc
call fcn.004c06eb
add esp, 4
mov dword [ebp - 0x5f4], eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x5f4], 0
je 0x47d022
mov ecx, dword [ebp - 0x5f4]
call fcn.004868fe
mov dword [ebp - 0x634], eax
jmp 0x47d02c
mov dword [ebp - 0x634], 0
mov eax, dword [ebp - 0x634]
mov dword [ebp - 0x5f0], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5f0]
mov dword [0x507874], ecx
push 0xb8
call fcn.004c06eb
add esp, 4
mov dword [ebp - 0x5fc], eax
mov dword [ebp - 4], 8
cmp dword [ebp - 0x5fc], 0
je 0x47d081
mov ecx, dword [ebp - 0x5fc]
call fcn.0040b850
mov dword [ebp - 0x638], eax
jmp 0x47d08b
mov dword [ebp - 0x638], 0
mov edx, dword [ebp - 0x638]
mov dword [ebp - 0x5f8], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x5f8]
mov dword [0x507868], eax
push 0
push 3
push 1
push 0
push 0
mov ecx, 0x508780
call fcn.00419b80
push 0
lea ecx, [ebp - 0x588]
call fcn.00416b10
mov dword [ebp - 4], 9
mov ecx, dword [0x507874]
push ecx
lea edx, [ebp - 0x348]
push edx
lea eax, [ebp - 0x4dc]
push eax
lea ecx, [ebp - 0x4e0]
push ecx
push str.home.nc
push 0x50d030
lea edx, [ebp - 0x600]
push edx
call fcn.004c03b5
mov dword [ebp - 0x63c], eax
mov eax, dword [ebp - 0x63c]
mov dword [ebp - 0x640], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x640]
call fcn.00401800
push eax
call fcn.0044ce3b
add esp, 0x14
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x600]
call fcn.004c016c
mov dword [0x508734], 0xd
mov dword [0x50873c], 0
mov dword [0x508740], 0xff
mov dword [0x508744], 0xff00
mov dword [0x508748], 0xff0000
mov dword [0x50874c], 0xffffff
mov dword [0x508750], 0xffffff
mov dword [0x508754], 0xffffff
mov dword [0x508758], 0xff00ff
mov dword [0x50875c], 0x404040
mov dword [0x508760], 0x7f7f7f
mov dword [0x508764], 0x7f7f7f
mov dword [0x508768], 0xffff00
mov dword [0x50876c], 0x7f7f7f
mov dword [0x508770], 0xff00ff
mov dword [0x508774], 0xffff
mov dword [0x508778], 0xffffff
mov ecx, dword [0x50873c]
push ecx
push 0
push 0
push 0
mov ecx, dword [0x507960]
call fcn.0041c46b
mov edx, dword [0x508740]
push edx
push 0
push 0
push 1
mov ecx, dword [0x507960]
call fcn.0041c46b
mov eax, dword [0x508744]
push eax
push 0
push 0
push 2
mov ecx, dword [0x507960]
call fcn.0041c46b
mov ecx, dword [0x508748]
push ecx
push 0
push 0
push 3
mov ecx, dword [0x507960]
call fcn.0041c46b
mov edx, dword [0x50874c]
push edx
push 0
push 0
push 4
mov ecx, dword [0x507960]
call fcn.0041c46b
mov eax, dword [0x508750]
push eax
push 0
push 0
push 5
mov ecx, dword [0x507960]
call fcn.0041c46b
mov ecx, dword [0x508754]
push ecx
push 0
push 0
push 6
mov ecx, dword [0x507960]
call fcn.0041c46b
mov edx, dword [0x508758]
push edx
push 0
push 0
push 7
mov ecx, dword [0x507960]
call fcn.0041c46b
mov eax, dword [0x50875c]
push eax
push 0
push 0
push 8
mov ecx, dword [0x507960]
call fcn.0041c46b
mov ecx, dword [0x508760]
push ecx
push 0
push 0
push 9
mov ecx, dword [0x507960]
call fcn.0041c46b
mov edx, dword [0x508764]
push edx
push 0
push 2
push 0xa
mov ecx, dword [0x507960]
call fcn.0041c46b
mov eax, dword [0x508768]
push eax
push 0
push 0
push 0xb
mov ecx, dword [0x507960]
call fcn.0041c46b
mov ecx, dword [0x50876c]
push ecx
push 0
push 0
push 0xc
mov ecx, dword [0x507960]
call fcn.0041c46b
mov edx, dword [0x508770]
push edx
push 0
push 2
push 0xd
mov ecx, dword [0x507960]
call fcn.0041c46b
mov eax, dword [0x508774]
push eax
push 0
push 0
push 0xe
mov ecx, dword [0x507960]
call fcn.0041c46b
mov ecx, dword [0x508778]
push ecx
push 0
push 0
push 0xf
mov ecx, dword [0x507960]
call fcn.0041c46b
push 0
mov ecx, dword [0x507960]
call fcn.0041c4bd
mov edx, dword [0x50a92c]
push edx
mov ecx, dword [0x507960]
call fcn.0041c4bd
mov eax, dword [0x507960]
mov dword [eax + 0xe4], 9
mov ecx, dword [0x507960]
mov dword [ecx + 0xe8], 0xa
mov edx, dword [0x507960]
mov dword [edx + 0xe0], 0xe
mov eax, dword [0x507960]
mov dword [eax + 0x118], fcn.00426060
mov ecx, dword [0x507960]
mov dword [ecx + 0x11c], 0x47e24d
push 1
mov ecx, dword [0x507960]
call fcn.0041ce93
push 1
mov ecx, dword [0x507960]
call fcn.0041cc31
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild qword [ebp - 0x14]
fstp qword [0x508720]
lea eax, [ebp - 0x598]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fild qword [ebp - 0x598]
fdiv qword [0x508720]
call fcn.004ab82c
mov dword [0x508834], eax
call fcn.00443f7f
mov byte [0x50a8eb], 1
mov cl, byte [0x50a8eb]
mov byte [0x50a8ec], cl
movsx edx, byte [0x50895a]
test edx, edx
je 0x47d44d
call fcn.004445ea
mov byte [0x50a8eb], al
jmp 0x47d457
call fcn.00444535
mov byte [0x50a8ec], al
push 0
push 3
call fcn.0044442f
add esp, 8
mov eax, dword [0x5087b4]
sub eax, 1
mov dword [0x507cf8], eax
mov ecx, dword [0x507cf8]
mov dword [0x507cf4], ecx
mov edx, dword [0x507cf4]
mov dword [0x507cf0], edx
mov eax, dword [0x507cf0]
mov dword [0x507cec], eax
push 3
call fcn.00422a07
add esp, 4
call fcn.0044402d
movsx ecx, byte [0x50895a]
mov edx, 1
sub edx, ecx
test edx, edx
je 0x47d4ca
movsx eax, byte [0x50a8eb]
test eax, eax
jne 0x47d4c8
push 0x1f
call fcn.0042a7c3
add esp, 4
jmp 0x47d4df
movsx ecx, byte [0x50a8ec]
test ecx, ecx
jne 0x47d4df
push 0x1f
call fcn.0042a7c3
add esp, 4
push str.OffLine.txt
push 0x50d030
lea edx, [ebp - 0x604]
push edx
call fcn.004c03b5
mov dword [ebp - 0x644], eax
mov eax, dword [ebp - 0x644]
mov dword [ebp - 0x648], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x648]
call fcn.00401800
push eax
call fcn.004315b6
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x604]
call fcn.004c016c
push str.log.txt
push 0x50d030
lea ecx, [ebp - 0x608]
push ecx
call fcn.004c03b5
mov dword [ebp - 0x64c], eax
mov edx, dword [ebp - 0x64c]
mov dword [ebp - 0x650], edx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x650]
call fcn.00401800
push eax
call fcn.004315b6
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x608]
call fcn.004c016c
push 0x4ff274
push 0x5087bc
push 0x4ff278
lea eax, [ebp - 0x60c]
push eax
call fcn.004c0429
mov dword [ebp - 0x654], eax
mov ecx, dword [ebp - 0x654]
mov dword [ebp - 0x658], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x658]
push edx
lea eax, [ebp - 0x610]
push eax
call fcn.004c03b5
mov dword [ebp - 0x65c], eax
mov ecx, dword [ebp - 0x65c]
mov dword [ebp - 0x660], ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x660]
call fcn.00401800
push eax
push str._nBoot
call fcn.004313a0
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x610]
call fcn.004c016c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60c]
call fcn.004c016c
push 0x507c40
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x507c10
push 0x507c40
call fcn.00431eeb
add esp, 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x18]
call fcn.004017e0
mov byte [ebp - 4], 0xf
push str._statistics.txt
lea ecx, [ebp - 0x18]
call fcn.004c02a9
lea edx, [ebp - 0x18]
push edx
push 0x50d030
lea eax, [ebp - 0x614]
push eax
call fcn.004c034f
mov dword [ebp - 0x664], eax
mov ecx, dword [ebp - 0x664]
mov dword [ebp - 0x668], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x668]
push edx
lea ecx, [ebp - 0x18]
call fcn.004c0259
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x614]
call fcn.004c016c
lea ecx, [ebp - 0x18]
call fcn.00401800
push eax
call fcn.00431b05
add esp, 4
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5a0]
push ecx
lea edx, [ebp - 0x590]
push edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x59c]
push ecx
push 0x507c00
lea ecx, [ebp - 0x18]
call fcn.00401800
push eax
call fcn.00432154
add esp, 0x1c
test eax, eax
jne 0x47d77c
push 0x10
push 0x507c00
push 0x507c10
call fcn.004abf10
add esp, 0xc
test eax, eax
jne 0x47d752
mov edx, dword [ebp - 0x59c]
mov dword [0x507bac], edx
mov eax, dword [ebp - 0x20]
mov dword [0x507c28], eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x507c2c], ecx
mov edx, dword [ebp - 0x590]
mov dword [0x507c20], edx
mov eax, dword [ebp - 0x58c]
mov dword [0x507c24], eax
mov ecx, dword [ebp - 0x5a0]
mov dword [0x507bf8], ecx
mov edx, dword [ebp - 0x28]
mov dword [0x507be0], edx
mov eax, dword [ebp - 0x24]
mov dword [0x507be4], eax
jmp 0x47d77c
mov ecx, dword [0x507c24]
push ecx
mov edx, dword [0x507c20]
push edx
mov eax, dword [0x507c2c]
push eax
mov ecx, dword [0x507c28]
push ecx
mov edx, dword [0x507bac]
push edx
call fcn.004323f4
add esp, 0x14
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.004c016c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call fcn.00419b10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret