Function at 0x10047a5e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073601
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xcc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10047dcd
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x90], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x10047d68
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x34], 0x7285
mov dword [ebp - 0x54], 0x10009258
cmp dword [ebp - 0x34], 0x7566
jle 0x10047bba
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
and dword [ebp - 0x1c], 0
jmp 0x10047b6e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x6161
jge 0x10047bba
and dword [ebp - 0x20], 0
jmp 0x10047b84
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x334e
jge 0x10047bb8
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
mov ecx, 0x1061a6b8
call fcn.1000f7b3
jmp 0x10047b7d
jmp 0x10047b67
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x58], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x34], 0x6ef0
jge 0x10047bda
mov edx, dword [ebp - 0x54]
mov ecx, 0x1061a6b8
call fcn.10011dbf
jmp 0x10047bf6
or dword [ebp - 4], 0xffffffff
jmp 0x10047c00
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x4c], eax
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1000fa89
mov dword [eax], 0xfff9
mov eax, 0xfff9
add eax, 0xfff9
je 0x10047c8b
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1000fa89
cmp dword [eax], 0
je 0x10047c8b
mov dword [ebp - 0x24], 1
jmp 0x10047c8f
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
sub edx, dword [ecx]
cmp edx, dword [eax]
jge 0x10047caf
mov dword [ebp - 0x2c], 1
jmp 0x10047cb3
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
mov edx, dword [edx]
imul edx, dword [ebp - 0x2c]
imul edx, dword [ecx]
sub edx, dword [eax]
cmp edx, 0xfb1af9d6
jb 0x10047cd8
mov dword [ebp - 0x44], 1
jmp 0x10047cdc
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
imul eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
cmp ecx, dword [eax]
jl 0x10047d14
mov dword [ebp - 0x38], 1
jmp 0x10047d18
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
sub eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x78]
mov dword [ecx], eax
push 0
mov ecx, dword [ebp - 0x28]
call fcn.1000fa89
mov ecx, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x40]
cmp dword [eax], 3
je 0x10047d47
mov dword [ebp - 0x48], 1
jmp 0x10047d4b
and dword [ebp - 0x48], 0
cmp dword [ebp - 0x48], 0
je 0x10047d5a
mov dword [ebp - 0x50], 1
jmp 0x10047d5e
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x50]
mov dword [eax], ecx
jmp 0x10047dcb
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10047dab
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 1
jge 0x10047dcb
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0xa8]
call fcn.1000fa89
mov dword [eax], 0xa162c9cc
jmp 0x10047da0
jmp 0x10047e4b
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xb8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x10047e3a
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc8], eax
push 0x1ecf
push 0x525b
push 0x6c18
push 0
mov eax, dword [ebp - 0xc8]
push dword [eax]
push 0x2ddc
push 0
push 0x6f4c
push 1
push 0x48f7
call fcn.1003bfb4
add esp, 0x28
jmp 0x10047e4b
push 0
push 0x11e7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret