Function at 0x47c867
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4df3c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x65c
mov dword [0x509afc], 0
mov dword [0x509a08], 0
mov dword [0x509a0c], 0x3ff00000
mov byte [0x509359], 0
mov al, byte [0x509359]
mov byte [0x509358], al
mov byte [0x508032], 0
movsx ecx, byte [0x508032]
mov dword [0x507f98], ecx
mov edx, dword [0x507f98]
mov dword [0x507f9c], edx
mov eax, dword [0x507f9c]
mov dword [0x507f94], eax
mov ecx, dword [0x507f94]
mov dword [0x507fa4], ecx
mov byte [0x507f89], 2
mov dword [0x50a014], 0
mov byte [0x508030], 1
mov byte [0x509fc2], 0
movsx edx, byte [0x509fc2]
mov dword [0x509ae0], edx
mov eax, dword [0x509ae0]
mov dword [0x509ae8], eax
mov dword [0x509ae4], 1
mov dword [0x509af0], 0x60
call fcn.00428fc3
mov dword [0x50803c], 0x508048
mov ecx, dword [0x50803c]
mov dword [0x508038], ecx
mov edx, dword [0x508038]
mov dword [0x508040], edx
mov eax, dword [0x508040]
mov dword [eax + 0x30], 0
mov ecx, dword [0x508040]
mov dword [ecx], 0
mov dword [0x5080bc], 0x5080c8
mov edx, dword [0x5080bc]
mov dword [0x5080b8], edx
mov eax, dword [0x5080b8]
mov dword [0x5080c0], eax
mov ecx, dword [0x5080c0]
mov dword [ecx + 0x18], 0
mov edx, dword [0x5080c0]
mov dword [edx], 0
fld qword [0x4f9450]
fdiv qword [0x4e2ff0]
fstp qword [0x5099b8]
mov dword [0x509860], 0
mov dword [0x509864], 0x3ff00000
mov dword [0x50a004], 0xf
mov dword [0x50a000], 0
mov dword [0x509ffc], 0xb
mov dword [0x509ff8], 0xe
mov dword [0x509fec], 9
mov dword [0x509fe8], 0xd
mov dword [0x509ff4], 3
mov dword [0x509fe4], 0xc
mov dword [0x507fa0], 0
mov eax, dword [0x507fa0]
mov dword [0x507fa4], eax
mov dword [0x4f94c4], 1
mov ecx, dword [0x4f94c4]
mov dword [0x4f94c8], ecx
mov dword [0x509afc], 0
mov byte [0x5077f7], 0
mov byte [0x509ec0], 0
call fcn.0043020d
call fcn.0042f8bb
call fcn.0042d0c8
call fcn.0044ff6b
cmp dword [0x507808], 0
jle 0x47ce78
push 0
mov dx, word [0x50a02a]
push edx
call fcn.0045033d
add esp, 8
push 0
mov ax, word [0x4f94bc]
push eax
call fcn.0045033d
add esp, 8
push 0
mov cx, word [0x4f94be]
push ecx
call fcn.0045033d
add esp, 8
push 0
mov dx, word [0x4f94c0]
push edx
call fcn.0045033d
add esp, 8
mov eax, dword [0x5073c8]
add eax, 1
mov dword [0x5073c4], eax
mov dword [ebp - 0x5a8], 0
jmp 0x47caf4
mov ecx, dword [ebp - 0x5a8]
add ecx, 1
mov dword [ebp - 0x5a8], ecx
cmp dword [ebp - 0x5a8], 4
jge 0x47cb37
mov edx, dword [ebp - 0x5a8]
movsx eax, word [edx*2 + 0x507ddc]
test eax, eax
jl 0x47cb35
movsx ecx, word [0x507888]
mov edx, 1
sub edx, ecx
push edx
mov eax, dword [ebp - 0x5a8]
mov cx, word [eax*2 + 0x507ddc]
push ecx
call fcn.00450502
add esp, 8
jmp 0x47cae5
movsx edx, word [0x507dd6]
test edx, edx
jl 0x47cb59
mov ax, word [0x507884]
push eax
mov cx, word [0x507dd6]
push ecx
call fcn.00450502
add esp, 8
call fcn.0045e490
push 0
call fcn.004503f6
add esp, 4
test eax, eax
jne 0x47cbf6
push 1
call fcn.004503f6
add esp, 4
test eax, eax
jne 0x47cbf6
push 2
call fcn.004503f6
add esp, 4
test eax, eax
jne 0x47cbf6
push 3
call fcn.004503f6
add esp, 4
test eax, eax
jne 0x47cbf6
push 0
call fcn.004513c5
add esp, 4
fcomp qword [0x4e2d78]
fnstsw ax
test ah, 0x40
je 0x47cbf6
push 1
call fcn.004513c5
add esp, 4
fcomp qword [0x4e2d78]
fnstsw ax
test ah, 0x40
je 0x47cbf6
push 2
call fcn.004513c5
add esp, 4
fcomp qword [0x4e2d78]
fnstsw ax
test ah, 0x40
je 0x47cbf6
push 3
call fcn.004513c5
add esp, 4
fcomp qword [0x4e2d78]
fnstsw ax
test ah, 0x40
jne 0x47cc04
push 0
push 0
push 0x4fea78
call fcn.004cc6a4
mov dword [0x509350], 4
cmp dword [0x509350], 1
jl 0x47cc2f
cmp dword [0x509350], 8
jg 0x47cc2f
mov edx, dword [0x509350]
push edx
call fcn.00451480
add esp, 4
call fcn.0045237e
mov eax, dword [0x5095a4]
push eax
mov ecx, dword [0x5095a0]
push ecx
call fcn.00443ede
add esp, 8
fmul qword [0x4e3220]
sub esp, 8
fstp qword [esp]
call fcn.004524a7
add esp, 8
mov edx, dword [0x509564]
push edx
mov eax, dword [0x509560]
push eax
call fcn.0045294a
add esp, 8
mov ecx, dword [0x509584]
push ecx
mov edx, dword [0x509580]
push edx
call fcn.004525af
add esp, 8
lea ecx, [ebp - 0x5a4]
call fcn.004017e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c4]
call fcn.004aa3ca
mov byte [ebp - 4], 1
push 0
push str.LAFunc.dll
push 0x50c700
lea eax, [ebp - 0x5cc]
push eax
call fcn.004c00c5
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.004aa48d
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x5c8], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5cc]
call fcn.004bfe7c
mov edx, dword [ebp - 0x5c8]
and edx, 0xff
test edx, edx
je 0x47cd28
push str.Missing_file:_LAFunc.dll_n
lea ecx, [ebp - 0x5a4]
call fcn.004bffb9
push 0
push str.VFunc.dll
push 0x50c700
lea eax, [ebp - 0x5d4]
push eax
call fcn.004c00c5
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.004aa48d
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x5d0], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5d4]
call fcn.004bfe7c
mov edx, dword [ebp - 0x5d0]
and edx, 0xff
test edx, edx
je 0x47cda7
push str.Missing_file:_VFunc.dll_n
lea ecx, [ebp - 0x5a4]
call fcn.004c020c
push 0x50c584
lea eax, [ebp - 0x5a4]
push eax
call fcn.00460900
and eax, 0xff
test eax, eax
je 0x47cdd6
push 0
push 0
lea ecx, [ebp - 0x5a4]
call fcn.00401800
push eax
call fcn.004cc6a4
mov dword [0x5073c4], 1
movsx ecx, word [0x507de8]
test ecx, ecx
jl 0x47ce0a
movsx edx, word [0x50788a]
mov eax, 1
sub eax, edx
push eax
mov cx, word [0x507de8]
push ecx
call fcn.00450502
add esp, 8
movsx edx, word [0x507de6]
test edx, edx
jl 0x47ce34
movsx eax, word [0x50788a]
mov ecx, 1
sub ecx, eax
push ecx
mov dx, word [0x507de6]
push edx
call fcn.00450502
add esp, 8
movsx eax, word [0x507de4]
test eax, eax
jl 0x47ce57
mov cx, word [0x50788a]
push ecx
mov dx, word [0x507de4]
push edx
call fcn.00450502
add esp, 8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c4]
call fcn.004aa407
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5a4]
call fcn.004bfe7c
push 0x507670
push 0
push 0x4feb00
mov ecx, 0x50c700
call fcn.00401800
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push 0x24
call fcn.004c03fb
add esp, 4
mov dword [ebp - 0x5dc], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x5dc], 0
je 0x47cec8
mov ecx, dword [ebp - 0x5dc]
call fcn.0048f600
mov dword [ebp - 0x628], eax
jmp 0x47ced2
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 [0x506f80], ecx
push 0
push 0x47e8fb
push 0x47e876
mov ecx, dword [0x506f80]
call fcn.0048f66f
push 0xc
call fcn.004c03fb
add esp, 4
mov dword [ebp - 0x5e4], eax
mov dword [ebp - 4], 5
cmp dword [ebp - 0x5e4], 0
je 0x47cf3b
mov ecx, dword [ebp - 0x5e4]
call fcn.0048669e
mov dword [ebp - 0x62c], eax
jmp 0x47cf45
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 [0x506f7c], eax
push 0xc
call fcn.004c03fb
add esp, 4
mov dword [ebp - 0x5ec], eax
mov dword [ebp - 4], 6
cmp dword [ebp - 0x5ec], 0
je 0x47cf96
mov ecx, dword [ebp - 0x5ec]
call fcn.0048669e
mov dword [ebp - 0x630], eax
jmp 0x47cfa0
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 [0x506f78], edx
push 0xc
call fcn.004c03fb
add esp, 4
mov dword [ebp - 0x5f4], eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x5f4], 0
je 0x47cff2
mov ecx, dword [ebp - 0x5f4]
call fcn.0048669e
mov dword [ebp - 0x634], eax
jmp 0x47cffc
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 [0x506f74], ecx
push 0xb8
call fcn.004c03fb
add esp, 4
mov dword [ebp - 0x5fc], eax
mov dword [ebp - 4], 8
cmp dword [ebp - 0x5fc], 0
je 0x47d051
mov ecx, dword [ebp - 0x5fc]
call fcn.0040b800
mov dword [ebp - 0x638], eax
jmp 0x47d05b
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 [0x506f68], eax
push 0
push 3
push 1
push 0
push 0
mov ecx, 0x507e58
call fcn.00419b70
push 0
lea ecx, [ebp - 0x588]
call fcn.00416b00
mov dword [ebp - 4], 9
mov ecx, dword [0x506f74]
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 0x50c700
lea edx, [ebp - 0x600]
push edx
call fcn.004c00c5
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.0044ceab
add esp, 0x14
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x600]
call fcn.004bfe7c
mov dword [0x507e0c], 0xd
mov dword [0x507e14], 0
mov dword [0x507e18], 0xff
mov dword [0x507e1c], 0xff00
mov dword [0x507e20], 0xff0000
mov dword [0x507e24], 0xffffff
mov dword [0x507e28], 0xffffff
mov dword [0x507e2c], 0xffffff
mov dword [0x507e30], 0xff00ff
mov dword [0x507e34], 0x404040
mov dword [0x507e38], 0x7f7f7f
mov dword [0x507e3c], 0x7f7f7f
mov dword [0x507e40], 0xffff00
mov dword [0x507e44], 0x7f7f7f
mov dword [0x507e48], 0xff00ff
mov dword [0x507e4c], 0xffff
mov dword [0x507e50], 0xffffff
mov ecx, dword [0x507e14]
push ecx
push 0
push 0
push 0
mov ecx, dword [0x507060]
call fcn.0041c45b
mov edx, dword [0x507e18]
push edx
push 0
push 0
push 1
mov ecx, dword [0x507060]
call fcn.0041c45b
mov eax, dword [0x507e1c]
push eax
push 0
push 0
push 2
mov ecx, dword [0x507060]
call fcn.0041c45b
mov ecx, dword [0x507e20]
push ecx
push 0
push 0
push 3
mov ecx, dword [0x507060]
call fcn.0041c45b
mov edx, dword [0x507e24]
push edx
push 0
push 0
push 4
mov ecx, dword [0x507060]
call fcn.0041c45b
mov eax, dword [0x507e28]
push eax
push 0
push 0
push 5
mov ecx, dword [0x507060]
call fcn.0041c45b
mov ecx, dword [0x507e2c]
push ecx
push 0
push 0
push 6
mov ecx, dword [0x507060]
call fcn.0041c45b
mov edx, dword [0x507e30]
push edx
push 0
push 0
push 7
mov ecx, dword [0x507060]
call fcn.0041c45b
mov eax, dword [0x507e34]
push eax
push 0
push 0
push 8
mov ecx, dword [0x507060]
call fcn.0041c45b
mov ecx, dword [0x507e38]
push ecx
push 0
push 0
push 9
mov ecx, dword [0x507060]
call fcn.0041c45b
mov edx, dword [0x507e3c]
push edx
push 0
push 2
push 0xa
mov ecx, dword [0x507060]
call fcn.0041c45b
mov eax, dword [0x507e40]
push eax
push 0
push 0
push 0xb
mov ecx, dword [0x507060]
call fcn.0041c45b
mov ecx, dword [0x507e44]
push ecx
push 0
push 0
push 0xc
mov ecx, dword [0x507060]
call fcn.0041c45b
mov edx, dword [0x507e48]
push edx
push 0
push 2
push 0xd
mov ecx, dword [0x507060]
call fcn.0041c45b
mov eax, dword [0x507e4c]
push eax
push 0
push 0
push 0xe
mov ecx, dword [0x507060]
call fcn.0041c45b
mov ecx, dword [0x507e50]
push ecx
push 0
push 0
push 0xf
mov ecx, dword [0x507060]
call fcn.0041c45b
push 0
mov ecx, dword [0x507060]
call fcn.0041c4ad
mov edx, dword [0x50a004]
push edx
mov ecx, dword [0x507060]
call fcn.0041c4ad
mov eax, dword [0x507060]
mov dword [eax + 0xe4], 9
mov ecx, dword [0x507060]
mov dword [ecx + 0xe8], 0xa
mov edx, dword [0x507060]
mov dword [edx + 0xe0], 0xe
mov eax, dword [0x507060]
mov dword [eax + 0x118], fcn.00425fc0
mov ecx, dword [0x507060]
mov dword [ecx + 0x11c], 0x47e21d
push 1
mov ecx, dword [0x507060]
call fcn.0041ce83
push 1
mov ecx, dword [0x507060]
call fcn.0041cc21
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild qword [ebp - 0x14]
fstp qword [0x507df8]
lea eax, [ebp - 0x598]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
fild qword [ebp - 0x598]
fdiv qword [0x507df8]
call fcn.004ab53c
mov dword [0x507f0c], eax
call fcn.00443fef
mov byte [0x509fc3], 1
mov cl, byte [0x509fc3]
mov byte [0x509fc4], cl
movsx edx, byte [0x508032]
test edx, edx
je 0x47d41d
call fcn.0044465a
mov byte [0x509fc3], al
jmp 0x47d427
call fcn.004445a5
mov byte [0x509fc4], al
push 0
push 3
call fcn.0044449f
add esp, 8
mov eax, dword [0x507e8c]
sub eax, 1
mov dword [0x5073d0], eax
mov ecx, dword [0x5073d0]
mov dword [0x5073cc], ecx
mov edx, dword [0x5073cc]
mov dword [0x5073c8], edx
mov eax, dword [0x5073c8]
mov dword [0x5073c4], eax
push 3
call fcn.00422961
add esp, 4
call fcn.0044409d
movsx ecx, byte [0x508032]
mov edx, 1
sub edx, ecx
test edx, edx
je 0x47d49a
movsx eax, byte [0x509fc3]
test eax, eax
jne 0x47d498
push 0x1f
call fcn.0042a723
add esp, 4
jmp 0x47d4af
movsx ecx, byte [0x509fc4]
test ecx, ecx
jne 0x47d4af
push 0x1f
call fcn.0042a723
add esp, 4
push 0x4feb10
push 0x50c700
lea edx, [ebp - 0x604]
push edx
call fcn.004c00c5
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.00431623
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x604]
call fcn.004bfe7c
push 0x4feb20
push 0x50c700
lea ecx, [ebp - 0x608]
push ecx
call fcn.004c00c5
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.00431623
add esp, 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x608]
call fcn.004bfe7c
push 0x4feb30
push 0x507e94
push 0x4feb34
lea eax, [ebp - 0x60c]
push eax
call fcn.004c0139
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.004c00c5
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 0x4feb38
call fcn.0043140d
add esp, 8
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x610]
call fcn.004bfe7c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x60c]
call fcn.004bfe7c
push 0x507318
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x5072e8
push 0x507318
call fcn.00431f58
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.004bffb9
lea edx, [ebp - 0x18]
push edx
push 0x50c700
lea eax, [ebp - 0x614]
push eax
call fcn.004c005f
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.004bff69
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x614]
call fcn.004bfe7c
lea ecx, [ebp - 0x18]
call fcn.00401800
push eax
call fcn.00431b72
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 0x5072d8
lea ecx, [ebp - 0x18]
call fcn.00401800
push eax
call fcn.004321c1
add esp, 0x1c
test eax, eax
jne 0x47d74c
push 0x10
push 0x5072d8
push 0x5072e8
call fcn.004abc20
add esp, 0xc
test eax, eax
jne 0x47d722
mov edx, dword [ebp - 0x59c]
mov dword [0x507284], edx
mov eax, dword [ebp - 0x20]
mov dword [0x507300], eax
mov ecx, dword [ebp - 0x1c]
mov dword [0x507304], ecx
mov edx, dword [ebp - 0x590]
mov dword [0x5072f8], edx
mov eax, dword [ebp - 0x58c]
mov dword [0x5072fc], eax
mov ecx, dword [ebp - 0x5a0]
mov dword [0x5072d0], ecx
mov edx, dword [ebp - 0x28]
mov dword [0x5072b8], edx
mov eax, dword [ebp - 0x24]
mov dword [0x5072bc], eax
jmp 0x47d74c
mov ecx, dword [0x5072fc]
push ecx
mov edx, dword [0x5072f8]
push edx
mov eax, dword [0x507304]
push eax
mov ecx, dword [0x507300]
push ecx
mov edx, dword [0x507284]
push edx
call fcn.00432461
add esp, 0x14
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.004bfe7c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x588]
call fcn.00419b00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret