Function at 0x100419c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100841e4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x168
push esi
mov dword [ebp - 0x34], 0xfffffff9
mov dword [ebp - 0x134], 5
mov dword [ebp - 0x130], 5
mov dword [ebp - 0x12c], 5
mov dword [ebp - 0x128], 5
lea ecx, [ebp - 0x3d]
call fcn.1000927a
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x16c]
call fcn.10027bc6
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x140]
call fcn.10027b8c
and dword [ebp - 4], 0
push 1
lea ecx, [ebp - 0x158]
call fcn.10027b4a
mov byte [ebp - 4], 1
mov dword [ebp - 0x3c], 0
jmp 0x10041a65
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 1
jge 0x10041a81
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x158]
call fcn.10027bb7
mov dword [eax], 1
jmp 0x10041a5e
cmp dword [ebp - 0x34], 0
je 0x10041ab9
mov esi, dword [ebp - 0x34]
push 1
lea ecx, [ebp - 0x140]
call fcn.10027bb7
mov dword [eax], esi
mov esi, dword [ebp - 0x34]
push 0
lea ecx, [ebp - 0x140]
call fcn.10027bb7
cmp esi, dword [eax]
jg 0x10041ab9
mov dword [ebp - 0xc8], 1
jmp 0x10041ac0
and dword [ebp - 0xc8], 0
cmp dword [ebp - 0xc8], 0xfe04
jle 0x10041ad8
mov dword [ebp - 0xdc], 1
jmp 0x10041adf
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x34]
add eax, dword [ebp - 0xdc]
je 0x10041af9
cmp dword [ebp - 0x34], 0
je 0x10041af9
mov dword [ebp - 0x68], 1
jmp 0x10041afd
and dword [ebp - 0x68], 0
push 0
lea ecx, [ebp - 0x158]
call fcn.10027bb7
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10041b2a
push 0
push 0xd98
push 0
call dword [sym.imp.GDI32.dll_ExtCreateRegion]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x158]
call fcn.10027bb2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x140]
call fcn.10027bb2
mov eax, dword [ebp + 8]
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x120], 3
mov dword [ebp - 0x11c], 3
mov dword [ebp - 0x118], 3
mov dword [ebp - 0x114], 3
lea ecx, [ebp - 0x51]
call fcn.1000927a
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x174]
call fcn.10027bc6
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x164]
call fcn.10027b8c
mov dword [ebp - 4], 2
mov dword [ebp - 0x1c], 0x951e
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x44], 0x919c44d4
push 1
lea ecx, [ebp - 0xf0]
call fcn.10027b4a
mov byte [ebp - 4], 3
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x38], 0
jmp 0x10041bef
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x10041c0b
push dword [ebp - 0x38]
lea ecx, [ebp - 0xf0]
call fcn.10027bb7
mov dword [eax], 0x36572186
jmp 0x10041be8
push 1
lea ecx, [ebp - 0x164]
call fcn.10027bb7
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx]
dec ecx
mov edx, dword [ebp - 0x4c]
mov dword [edx], ecx
test eax, eax
jne 0x10041c3e
cmp dword [ebp - 0x1c], 0
jne 0x10041c3e
and dword [ebp - 0xb8], 0
jmp 0x10041c48
mov dword [ebp - 0xb8], 1
mov eax, dword [ebp - 0x1c]
neg eax
cmp eax, 0x244c3f4
jg 0x10041c60
mov dword [ebp - 0xc4], 1
jmp 0x10041c67
and dword [ebp - 0xc4], 0
imul eax, dword [ebp - 0xc4], 0xffffffff
test eax, eax
jne 0x10041c7e
cmp dword [ebp - 0x1c], 0
jne 0x10041c7e
and dword [ebp - 0x70], 0
jmp 0x10041c85
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xbec5ec62
ja 0x10041ca0
mov dword [ebp - 0xac], 1
jmp 0x10041ca7
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0xac], eax
je 0x10041cc6
push 3
pop eax
test eax, eax
jne 0x10041cc6
push 3
pop eax
test eax, eax
jne 0x10041cc6
and dword [ebp - 0x78], 0
jmp 0x10041ccd
mov dword [ebp - 0x78], 1
cmp dword [ebp - 0x78], 0xb5a9
jle 0x10041ce2
mov dword [ebp - 0xb0], 1
jmp 0x10041ce9
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0x1c]
jl 0x10041d00
mov dword [ebp - 0x80], 1
jmp 0x10041d04
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x80]
cmp dword [ebp - 0xb8], eax
jge 0x10041d1f
mov dword [ebp - 0x88], 1
jmp 0x10041d26
and dword [ebp - 0x88], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x88]
cmp eax, 0x39d20578
jge 0x10041d42
mov dword [ebp - 0xc0], 1
jmp 0x10041d49
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x44], eax
push 1
lea ecx, [ebp - 0x164]
call fcn.10027bb7
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x28]
dec eax
cmp dword [ebp - 0x44], eax
jne 0x10041d71
cmp dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x28], eax
jle 0x10041d85
mov dword [ebp - 0x90], 1
jmp 0x10041d8c
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x10041daa
mov eax, 0xdda259c4
test eax, eax
jne 0x10041daa
and dword [ebp - 0x5c], 0
jmp 0x10041db1
mov dword [ebp - 0x5c], 1
imul eax, dword [ebp - 0x5c], 0xd860
cmp eax, 1
ja 0x10041dc9
mov dword [ebp - 0x98], 1
jmp 0x10041dd0
and dword [ebp - 0x98], 0
push 0
lea ecx, [ebp - 0xf0]
call fcn.10027bb7
mov eax, dword [eax]
cmp eax, dword [ebp - 0x98]
jle 0x10041df3
mov dword [ebp - 0xd0], 1
jmp 0x10041dfa
and dword [ebp - 0xd0], 0
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0xd0]
sub eax, dword [ebp - 0x28]
add eax, 0x1e2985c3
sub esi, eax
push 0
lea ecx, [ebp - 0xf0]
call fcn.10027bb7
cmp esi, dword [eax]
jle 0x10041e2a
mov dword [ebp - 0xa0], 1
jmp 0x10041e31
and dword [ebp - 0xa0], 0
push 0
lea ecx, [ebp - 0xf0]
call fcn.10027bb7
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [eax]
je 0x10041e54
mov dword [ebp - 0xd8], 1
jmp 0x10041e5b
and dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
call fcn.10027bb2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.10027bb2
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x20], 0x1928c176
mov dword [ebp - 0x24], 0x515466bc
mov dword [ebp - 0x50], 0x18bd8502
mov byte [ebp - 0x2a], 0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x10041ec6
push 0x2595
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x20], 0x16
jmp 0x10041ed6
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x19
jg 0x100421fc
mov dword [ebp - 0x14], 0xfc3938dd
mov dword [ebp - 0x10], 0
push 3
lea ecx, [ebp - 0x10c]
call fcn.10027b4a
mov dword [ebp - 4], 4
push 3
lea ecx, [ebp - 0x14c]
call fcn.10027b4a
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
jmp 0x10041f23
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10041f3f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10c]
call fcn.10027bb7
mov dword [eax], 0x105807c
jmp 0x10041f1c
mov dword [ebp - 0x18], 0
jmp 0x10041f4f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10041f6b
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14c]
call fcn.10027bb7
mov dword [eax], 0xfffffffe
jmp 0x10041f48
cmp dword [ebp - 0x14], 0
je 0x10042037
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x14]
sub ecx, 0x496e854a
sub eax, ecx
cmp eax, dword [ebp - 0x20]
jne 0x10041f9a
mov dword [ebp - 0xa8], 1
jmp 0x10041fa1
and dword [ebp - 0xa8], 0
cmp dword [ebp - 0xa8], 0xef6e229e
jae 0x10041fb9
mov dword [ebp - 0xe0], 1
jmp 0x10041fc0
and dword [ebp - 0xe0], 0
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x50], eax
jle 0x10041fdd
mov dword [ebp - 0xd4], 1
jmp 0x10041fe4
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xd4], eax
jg 0x10041ffb
mov dword [ebp - 0xb4], 1
jmp 0x10042002
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xb4], eax
jle 0x10042019
mov dword [ebp - 0xcc], 1
jmp 0x10042020
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0xcc]
jl 0x10042037
mov dword [ebp - 0xbc], 1
jmp 0x1004203e
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0xbc], eax
jne 0x10042052
mov dword [ebp - 0x60], 1
jmp 0x10042056
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x60], eax
jne 0x10042067
mov dword [ebp - 0x64], 1
jmp 0x1004206b
and dword [ebp - 0x64], 0
imul eax, dword [ebp - 0x64], 3
cmp eax, 1
jg 0x1004219c
cmp dword [ebp - 0x10], 0
je 0x1004219c
mov dword [ebp - 0x10], 0x1d
jmp 0x10042092
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1c
jge 0x100420fd
mov dword [ebp - 0xe4], 0x5d06
mov eax, dword [ebp - 0x24]
neg eax
cmp eax, 0x54668dac
jne 0x100420b7
mov dword [ebp - 0x6c], 1
jmp 0x100420bb
and dword [ebp - 0x6c], 0
cmp dword [ebp - 0x6c], 7
jae 0x100420ca
mov dword [ebp - 0x74], 1
jmp 0x100420ce
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x50]
sub eax, 0x5d9f20c7
sub eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x24]
jge 0x100420eb
push 0xfffffffffffffffb
pop eax
test eax, eax
jne 0x100420eb
and dword [ebp - 0x7c], 0
jmp 0x100420f2
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xe4], eax
jmp 0x1004208b
mov dword [ebp - 0x10], 0
jmp 0x1004210d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jg 0x1004219a
mov dword [ebp - 0x14], 0
jmp 0x10042127
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jg 0x10042173
mov dword [ebp - 0x24], 2
jmp 0x1004213d
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x10042171
push 2
lea ecx, [ebp - 0x14c]
call fcn.10027bb7
mov dword [eax], 2
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x1004216f
push 0x584
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x10042136
jmp 0x10042120
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10c]
call fcn.10027bb7
mov esi, eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x10c]
call fcn.10027bb7
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x10042106
jmp 0x100421d9
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x100421b5
push 0x1f58
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x100421d9
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_PlayEnhMetaFile]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14c]
call fcn.10027bb2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10c]
call fcn.10027bb2
jmp 0x10041ecf
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x100]
mov dword [eax], 0xc6076fda
mov eax, 0xc6076fda
test eax, eax
je 0x10042251
mov eax, dword [ebp - 0x58]
cmp dword [eax], 0x15fb
jne 0x10042231
mov dword [ebp - 0x84], 1
jmp 0x10042238
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
cmp dword [ebp - 0x84], eax
jge 0x10042251
mov dword [ebp - 0x8c], 1
jmp 0x10042258
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0
jne 0x1004226d
mov dword [ebp - 0x94], 1
jmp 0x10042274
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0xfc]
mov eax, dword [eax]
cmp dword [ebp - 0x94], eax
jl 0x10042290
mov dword [ebp - 0x9c], 1
jmp 0x10042297
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x58]
mov ecx, dword [ecx]
add ecx, dword [ebp - 0x9c]
cmp dword [eax], ecx
jge 0x100422b8
mov dword [ebp - 0xa4], 1
jmp 0x100422bf
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0xa4]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret