Function at 0x10038a52
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10073355
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10039020
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xdc], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
movzx eax, byte [eax]
test eax, eax
je 0x10038ffe
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x24], eax
push 0x5719
lea eax, [ebp - 0x34]
push eax
push 0x3457
push 0x1ceb
lea eax, [ebp - 0x24]
push eax
push 0
push 0x2466
push 0x5a24
push 0x3dbb
call fcn.10047601
add esp, 0x24
push 0x76d
push 0
push 0x6a1d
push 0x2dbb
call fcn.1003db8a
add esp, 0x10
mov eax, dword [ebp - 0x24]
cmp dword [eax], 0
jne 0x10038ffc
push 0x55f8
push 0
push 0x5847
call fcn.1003a0f7
add esp, 0xc
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x10038fd1
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x64], 0xfffffffd
mov dword [ebp - 0xf8], 0xfffffffc
mov dword [ebp - 0x28], 0
jmp 0x10038b6c
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 3
jge 0x10038b82
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x11c], 4
jmp 0x10038b65
mov dword [ebp - 0x14], 0
jmp 0x10038b92
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff7
jge 0x10038fc2
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x30], 7
push 3
lea ecx, [ebp - 0x110]
call fcn.1000fa0b
and dword [ebp - 4], 0
mov dword [ebp - 0x88], 0xfffffff7
push 1
lea eax, [ebp - 0x110]
push eax
push 0xee9
lea eax, [ebp - 0x120]
push eax
push 0
call fcn.10046356
add esp, 0x14
mov dword [ebp - 0x10], 0x16
jmp 0x10038c02
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffe5
jl 0x10038fae
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 0x20], 0x6b37990
mov dword [ebp - 0x7c], 9
cmp dword [ebp - 0x14], 0
jne 0x10038cb8
cmp dword [ebp - 0x10], 0xfff839e0
je 0x10038c40
mov dword [ebp - 0x94], 1
jmp 0x10038c47
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x94]
cmp eax, dword [ebp - 0x10]
jg 0x10038c5e
mov dword [ebp - 0x40], 1
jmp 0x10038c62
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x40], eax
jg 0x10038c73
mov dword [ebp - 0x80], 1
jmp 0x10038c77
and dword [ebp - 0x80], 0
cmp dword [ebp - 0x80], 0xffff
jbe 0x10038c89
mov dword [ebp - 0x48], 1
jmp 0x10038c8d
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x48]
sub eax, 0x6f9ee43d
cmp dword [ebp - 0x1c], eax
je 0x10038ca3
mov dword [ebp - 0x70], 1
jmp 0x10038ca7
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x70]
test eax, eax
jne 0x10038cb8
and dword [ebp - 0x50], 0
jmp 0x10038cbf
mov dword [ebp - 0x50], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x50], eax
jge 0x10038cd3
mov dword [ebp - 0x90], 1
jmp 0x10038cda
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jl 0x10038cf1
mov dword [ebp - 0x58], 1
jmp 0x10038cf5
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x20]
imul eax, dword [ebp - 0x58]
cmp eax, 0x77ab
jle 0x10038d0c
mov dword [ebp - 0x78], 1
jmp 0x10038d10
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
add eax, 0x30b9
je 0x10038ebe
mov dword [ebp - 0x124], 0x2699
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x98], 0xffffffff
mov dword [ebp - 0xe4], 0x2cfb1158
mov dword [ebp - 0xb4], 0xd7d231d5
mov dword [ebp - 0x60], 0xf23d37f4
mov eax, dword [ebp - 0x60]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x10]
jle 0x10038df1
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x7c], 0x4060a3b7
jne 0x10038d85
mov dword [ebp - 0x68], 1
jmp 0x10038d89
and dword [ebp - 0x68], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x6c]
jne 0x10038da4
mov dword [ebp - 0x2c], 1
jmp 0x10038da8
and dword [ebp - 0x2c], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
mov dword [ebp + eax - 0x11c], ecx
cmp dword [ebp - 0x2c], 0
je 0x10038dd9
push 0
lea ecx, [ebp - 0x110]
call fcn.1000fa89
cmp dword [eax], 0
je 0x10038dd9
mov dword [ebp - 0x3c], 1
jmp 0x10038ddd
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x3c], eax
jg 0x10038df1
mov dword [ebp - 0x44], 1
jmp 0x10038df5
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x64]
cmp dword [ebp - 0x44], eax
jge 0x10038e06
mov dword [ebp - 0x4c], 1
jmp 0x10038e0a
and dword [ebp - 0x4c], 0
cmp dword [ebp - 0x4c], 0xfe98d7e9
jae 0x10038e1c
mov dword [ebp - 0x54], 1
jmp 0x10038e20
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0x54], eax
jne 0x10038e34
mov dword [ebp - 0x5c], 1
jmp 0x10038e38
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x5c]
add eax, 6
imul eax, dword [ebp - 0xb4]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x20], 0
jmp 0x10038e58
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x12
jne 0x10038ebc
push 0x3586
push 0
call fcn.100493d0
pop ecx
pop ecx
mov dword [ebp - 0x1c], 0xfffffff3
jmp 0x10038e7c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x15
jl 0x10038eba
push 0x2b2b
push 0x43d8
push 0x5ae5
push 0x4d6f
push 0x37e
push 0x4d9b
push 0
push 0x2f81
push 0x53f4
push 1
push 1
call fcn.10038a52
add esp, 0x2c
jmp 0x10038e75
jmp 0x10038e51
jmp 0x10038ed2
mov dword [ebp - 0x100], 1
mov dword [ebp - 0x100], 0x6833686a
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x30]
cmp dword [ebp + eax - 0x11c], ecx
jl 0x10038ef0
mov dword [ebp - 0xbc], 1
jmp 0x10038ef7
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x6c], eax
jge 0x10038f0b
mov dword [ebp - 0xec], 1
jmp 0x10038f12
and dword [ebp - 0xec], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x11c], 0xfffd
je 0x10038f2e
mov dword [ebp - 0x74], 1
jmp 0x10038f32
and dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 4
jb 0x10038f44
mov dword [ebp - 0xc4], 1
jmp 0x10038f4b
and dword [ebp - 0xc4], 0
push 0
lea ecx, [ebp - 0x110]
call fcn.1000fa89
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
push 0
lea ecx, [ebp - 0x110]
call fcn.1000fa89
mov ecx, dword [ebp - 0x84]
mov dword [eax], ecx
mov eax, dword [ebp - 0xf8]
cmp dword [ebp - 0x84], eax
je 0x10038f90
mov dword [ebp - 0x8c], 1
jmp 0x10038f97
and dword [ebp - 0x8c], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x8c]
mov dword [ebp + eax - 0x11c], ecx
jmp 0x10038bfb
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x110]
call fcn.1000fa6d
jmp 0x10038b8b
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0x20]
mov dword [ecx], eax
jmp 0x10038ffc
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x10038ffc
push 1
push 1
push 0x2d5c
call fcn.100387cf
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0x24]
mov dword [ecx], eax
jmp 0x1003901b
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1003901b
push 0
push 0x11e7
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x10039130
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xcc]
movzx eax, byte [eax]
test eax, eax
je 0x100390a8
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
movzx eax, byte [eax]
test eax, eax
je 0x100390a3
push 1
push 0
push 0x3c38
push 0x72c8
push 0x7ebc
call fcn.10039a86
add esp, 0x14
jmp 0x10039130
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
push dword [ebp - 0xd8]
mov eax, dword [ebp - 0xe0]
push dword [eax]
mov eax, dword [ebp - 0xe8]
push dword [eax]
mov eax, dword [ebp - 0xf0]
push dword [eax]
push 0
call fcn.100419bb
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret