Function at 0x10047c9f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
mov dword [ebp - 8], 0xffffffff
xor ebx, ebx
push esi
mov dword [ebp - 0x18], 0xffffffff
mov esi, ecx
push edi
mov dword [ebp - 0x30], ebx
xor edi, edi
mov dword [ebp - 0x2c], ebx
inc edi
mov dword [ebp - 0xc], ebx
jmp 0x10047cd9
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x10], 0xfffffff8
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x10047ccb
mov eax, dword [ebp - 8]
xor ecx, ecx
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, 0x795010f7
mov eax, dword [ebp - 8]
setg cl
xor edx, edx
cmp ecx, 0xfffffffd
push 4
setle dl
pop ecx
sub eax, edx
je 0x10047d7a
mov dword [ebp - 0xc], 5
mov dword [ebp - 0x2c], 0x498d20b5
mov dword [ebp - 8], ebx
jmp 0x10047d41
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xc], ebx
jmp 0x10047d39
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10047d36
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ebx
jle 0x10047d25
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jle 0x10047d16
mov dword [ebp - 8], ebx
jmp 0x10047d6f
mov dword [ebp - 0x38], 0xd8ff8cd3
mov dword [ebp - 0x38], 0x177c
mov dword [ebp - 0x2c], 0xa1ee3199
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x38
je 0x10047d4b
jmp 0x10047e5f
mov dword [ebp - 0x1c], 0xd7d5
mov dword [ebp - 0x28], 0x59a67e99
mov dword [ebp - 0x24], 0xf6bb026e
mov dword [ebp - 0x38], 0xfffffff6
mov dword [ebp - 0x38], 0xc5df97f
mov dword [ebp - 0x34], 0xffea059e
mov dword [ebp - 0x20], 0xaa6f69a7
mov dword [ebp - 0x34], 2
mov dword [ebp - 0xc], ebx
jmp 0x10047dc5
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x80], 0xfffffffc
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], ecx
jl 0x10047db7
mov dword [ebp - 8], 0x10
jmp 0x10047e0e
mov dword [ebp - 0x14], 2
cmp dword [ebp - 0x14], 0x5f9b
jg 0x10047deb
cmp dword [ebp - 0x10], ebx
je 0x10047deb
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], 0x46c64e71
mov edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
cmp eax, edx
setle cl
mov dword [ebp - 0x10], ecx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x3b
jg 0x10047dd3
cmp dword [ebp - 8], ebx
je 0x10047e3f
cmp dword [ebp - 0x28], ebx
jne 0x10047e3f
mov eax, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x24]
sub eax, 0x4ef5d9ce
je 0x10047e5a
mov eax, ebx
cmp dword [ebp - 0x2c], ebx
je 0x10047e5c
mov eax, edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
push edi
push esi
mov dword [ebp - 0x10], eax
push 0x53d6
call fcn.1004319b
mov dword [ebp - 0x14], 0x4e2db58
add esp, 0xc
mov dword [ebp - 0x14], 0xfffffff2
jmp 0x10047efc
mov dword [ebp - 8], 0x7ca0029b
lea ecx, [ebp - 0x60]
push edi
call fcn.100159d0
mov dword [ebp - 0xc], ebx
jmp 0x10047ea9
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x60]
mov dword [eax + ecx*4], 0x5a9576c3
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x10047e99
mov dword [ebp - 8], 0xffffffed
jmp 0x10047ed7
mov dword [ebp - 0xc], 0x41b66baf
mov dword [ebp - 0xc], ebx
jmp 0x10047ecf
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x60]
mov dword [eax + ecx*4], edi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x10047ec3
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jl 0x10047eb7
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10047ef1
push 0x1404
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea ecx, [ebp - 0x60]
call fcn.10015a52
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xfffffff0
jne 0x10047e84
push esi
call fcn.1002d0f0
mov esi, eax
mov dword [ebp - 0xc], 2
mov eax, 0xa0e60f95
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x70], eax
pop ecx
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
push edi
call fcn.100159d0
mov dword [ebp - 0x20], 0xf14186e1
mov dword [ebp - 0x14], ebx
jmp 0x10047f4b
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x54]
mov dword [eax + ecx*4], 2
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10047f3b
mov dword [ebp - 0xc], 0xfffffffa
cmp dword [ebp - 0xc], 0xffffffe4
jge 0x100480a7
push 4
pop esi
mov dword [ebp - 8], 0x48708ef6
mov dword [ebp - 0x24], 0xffff
mov dword [ebp - 0x30], 0xdfbc43cc
mov dword [ebp - 0x38], 0x9339b884
mov dword [ebp - 0x38], 0xc23782e
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x14], ebx
jmp 0x10047f99
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x40], edi
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10047f8f
mov dword [ebp - 8], 3
cmp dword [ebp - 8], ebx
jl 0x10048097
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], ebx
jmp 0x10047fc4
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x48], 0x4c90d297
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 2
jl 0x10047fb6
mov dword [ebp - 0x44], ebx
jmp 0x10048069
mov dword [ebp - 0x14], ebx
jmp 0x10047fe5
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0x3c], 0xe469209a
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10047fd7
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp + eax*4 - 0x70]
mov eax, dword [ebp - 0x24]
dec dword [ebp - 0x24]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp + eax*4 - 0x70]
mov dword [ebp - 0x6c], eax
test eax, eax
jne 0x10048010
cmp dword [ebp - 0x48], 0xd2668451
mov eax, ebx
jbe 0x10048012
mov eax, edi
mov dword [ebp - 0x30], eax
xor ecx, ecx
mov eax, dword [ebp - 0x30]
cmp eax, 0x96e6
mov eax, dword [ebp - 0x54]
setge cl
xor edx, edx
cmp dword [eax], ecx
mov eax, dword [ebp - 0xc]
setle dl
add eax, edx
jne 0x10048036
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
cmp dword [ebp - 0x44], ebx
je 0x10048045
mov edx, edi
cmp dword [ebp - 0x6c], ebx
jne 0x10048047
mov edx, ebx
mov eax, dword [ebp - 8]
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x3c]
setne cl
cmp esi, ecx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setl cl
mov dword [ebp - 0x20], ecx
dec dword [ebp - 0x2c]
inc dword [ebp - 0x44]
cmp dword [ebp - 0x44], 3
jle 0x10047fd2
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x70]
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x70]
mov eax, dword [ebp - 0x40]
imul eax, dword [ebp - 0x20], 0x975
mov dword [ebp - 0x38], eax
dec dword [ebp - 8]
jns 0x10047fae
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffe4
jl 0x10047f64
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x54]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
call fcn.10015a52
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret