Function at 0x100041e9
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1005b5f2
call fcn.1005b080
sub esp, 0x120
cmp byte [ebp + 0x14], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push 1
je 0x10004223
push 0x1ab2
push 0x3fc
push 0x2611
call dword [sym.imp.USER32.dll_SetScrollPos]
jmp 0x10004997
mov edi, dword [ebp + 0xc]
xor cl, cl
mov dword [ebp - 0x3c], edx
xor dl, dl
push 0x2943
push 0x320f
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x64], edi
call fcn.1000688d
xor ebx, ebx
mov dword [ebp - 0x94], 7
xor eax, eax
mov dword [ebp - 0x98], ebx
add esp, 0xc
mov word [ebp - 0xa8], ax
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x4c], 0x40194ddb
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x74], 0xfdcba86b
push 2
call fcn.10001471
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], ebx
jmp 0x10004298
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0x5c], ebx
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 2
jl 0x1000428e
mov dword [ebp - 0x24], ebx
jmp 0x100042b4
mov eax, dword [ebp - 0x24]
mov dword [ebp + eax*4 - 0xec], 0xfffffff8
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 4
jl 0x100042a3
push ecx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xd0]
push eax
sub esp, 0x10
push 1
sub esp, 0x14
push 0x4b29
push ecx
call fcn.1000357b
add esp, 0x3c
mov dword [ebp - 0x5c], ebx
jmp 0x100043a9
mov dword [ebp - 0x34], 0x2e6e
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], 0x67b8f5f4
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x20], 0xadb82134
mov dword [ebp - 0x1c], 0x5d87
mov dword [ebp - 0x18], 0xfffffffe
mov dword [ebp - 0x18], ebx
jmp 0x10004327
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x108], 0xcb4e76ab
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x10004316
dec dword [ebp - 0x20]
mov eax, dword [ebp - 0x40]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0xec]
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xd0]
add ecx, 5
mov dword [eax], ecx
jne 0x10004361
mov eax, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x100]
mov eax, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xe0]
mov eax, dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x104], ebx
je 0x10004390
mov edx, 0x1193
call fcn.10007446
jmp 0x100043a6
push ecx
push ecx
push 1
mov edx, 0x7563
mov ecx, 0xaa7
call fcn.100038db
add esp, 0xc
dec dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], 0xfffffffd
je 0x100042e4
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], bl
call fcn.100014f4
cmp esi, dword [ebp - 0x3c]
ja 0x1000444e
mov dword [ebp - 0x60], 0x5540d7f8
lea ecx, [ebp - 0xdc]
push 1
call fcn.10001471
mov byte [ebp - 4], 2
mov dword [ebp - 0x6c], 0x7ea0d018
mov dword [ebp - 0x18], ebx
jmp 0x10004401
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xdc]
mov dword [eax + ecx*4], 0x951ea66e
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 1
jl 0x100043ee
push 1
push ebx
push 0x66fe
mov edx, 0x79a2
lea ecx, [ebp - 0x60]
call fcn.10003448
pop ecx
pop ecx
lea eax, [ebp - 0x6c]
push eax
push ebx
push 0x1cd9
push ecx
lea eax, [ebp - 0xdc]
push eax
lea edx, [ebp - 0x60]
call fcn.10003898
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xdc]
call fcn.100014f4
jmp 0x10004974
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x50], 0xdf98a59c
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x1c], 0x2c80f3bb
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x18], ebx
jmp 0x1000447f
mov eax, dword [ebp - 0x18]
mov dword [ebp + eax*4 - 0x128], 0xe9d3b05e
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 3
jl 0x1000446e
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x2c], 0xffffffee
jl 0x100046b0
mov dword [ebp - 0x20], 0x22f0
cmp dword [ebp - 0x20], 0x24c5
jle 0x100044db
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, ebx
mov dword [ebp - 0x34], ebx
mov edi, esi
mov esi, 0x509
mov eax, edi
mov ecx, 0x10077178
cdq
push edx
push eax
call fcn.1000b0cd
dec edi
dec esi
jne 0x100044b6
mov esi, dword [ebp - 0x34]
inc esi
mov dword [ebp - 0x34], esi
cmp esi, 0x490b
jl 0x100044af
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x70], 0xffffffff
mov byte [ebp - 4], 3
cmp dword [ebp - 0x20], 0x2006
jge 0x10004522
mov edx, str.ntjhh_kqfwojzi_xjnglr_hxtmcvx_lbieix_iuns_szc_ordlepd
mov ecx, 0x10077178
call fcn.1000ca72
jmp 0x10004522
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x10c]
push dword [ebp - 0x68]
movdqa xmm0, xmmword [0x10069520]
lea ecx, [ebp - 0x90]
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x90], ebx
push eax
push ebx
movdqu xmmword [ebp - 0x11c], xmm0
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
call fcn.10002156
push ecx
push 1
mov byte [ebp - 4], 5
push 0x4b71
push ecx
mov dword [ebp - 0x78], 0xe7071658
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x84], 0x3efc1676
call fcn.10006190
mov dword [ebp - 0x44], 0x6996
add esp, 0x10
cmp dword [ebp - 0x44], 0x6c3b
jle 0x1000460a
mov dword [ebp - 0x20], ebx
mov edi, ebx
mov dword [ebp - 0x18], ebx
mov esi, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x4c], ebx
mov ecx, esi
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x28], edi
sar edi, cl
mov ecx, esi
mov eax, edi
sar eax, cl
mov ecx, 0x10077178
xor eax, ebx
cdq
push edx
push eax
call fcn.1000b0cd
inc esi
cmp esi, 0xf12
jl 0x100045ba
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x18]
inc esi
mov dword [ebp - 0x34], esi
push 0
pop ebx
cmp esi, 0x1c1e
jl 0x100045aa
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0x2efc
jl 0x100045a5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, 0x52e9
jl 0x100045a0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x30], ebx
jmp 0x1000464d
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x3bdf
push eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x80], ebx
push eax
push ecx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x70]
push eax
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x2c]
call fcn.1000559e
add esp, 0x20
inc dword [ebp - 0x30]
cmp dword [ebp - 0x30], 3
jle 0x1000460f
mov byte [ebp - 4], 6
cmp dword [ebp - 0x44], 0x6940
jge 0x10004693
mov edx, str.pgt_buyevp_hnk_swufxu_ywybcj_iwk_mrsalt_uir_acz_ohw
mov ecx, 0x10077178
call fcn.1000ca72
jmp 0x10004693
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], bl
call fcn.100014f4
dec dword [ebp - 0x2c]
jmp 0x10004488
mov eax, dword [ebp - 0x1c]
dec eax
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
or edx, 0xffffffff
sub edx, eax
mov eax, dword [ebp - 0x30]
cmp edx, eax
setne cl
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x40]
cmp eax, 3
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x50]
sete cl
xor edx, edx
cmp ecx, 0x1b3f
setge dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0x1c]
setne cl
mov dword [ebp - 0x28], ecx
xor ecx, ecx
cmp eax, 0xf9aa2aa
setle cl
sub ecx, dword [ebp - 0x28]
jne 0x1000470d
mov eax, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x40]
push ecx
push 0x42d6
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xa8]
push 1
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.100057a3
add esp, 0x14
lea ecx, [ebp - 0xf8]
push 1
call fcn.10001471
push ebx
push 1
push ecx
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 8
push eax
push 0x641d
lea eax, [ebp - 0xfc]
push eax
push 0x50
pop ecx
call fcn.10004e6f
mov byte [ebp - 0x35], bl
add esp, 0x18
cmp byte [ebp - 0x35], 0
je 0x10004784
push 0x7def
push ecx
push ecx
mov dl, 1
call fcn.10005df4
add esp, 0xc
push 1
push 0x6c4a
push 1
push 0x1f6e
push 0x17e9
push 0x1646
lea edx, [ebp - 0x36]
mov byte [ebp - 0x36], bl
xor cl, cl
call fcn.10005ecd
add esp, 0x18
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xf8]
call fcn.100014f4
jmp 0x10004934
mov dword [ebp - 0x18], 0x2e91a049
mov dword [ebp - 0x1c], 0xfff7
mov dword [ebp - 0xc4], 0xffffffff
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0xbc], 0xffffffff
mov dword [ebp - 0xb8], 0xffffffff
mov dword [ebp - 0x18], 0x10
jmp 0x10004918
mov dword [ebp - 0x20], 5
lea ecx, [ebp - 0xb4]
push 3
call fcn.10001471
push ebx
push 0x3831
lea edx, [ebp - 0xb4]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10c]
call fcn.10006acc
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x18], 1
pop ecx
pop ecx
jl 0x10004878
mov eax, dword [ebp - 0x20]
mov ecx, 0x969ac54c
cmp ecx, eax
sbb eax, eax
inc eax
cmp eax, dword [ebp - 0x20]
je 0x10004857
cmp dword [ebp - 0x1c], ebx
je 0x10004857
xor esi, esi
inc esi
jmp 0x10004859
mov esi, ebx
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0x20]
cmp esi, eax
setge cl
add ecx, dword [ebp - 0x18]
cmp edx, ecx
jne 0x10004878
xor ecx, ecx
inc ecx
jmp 0x1000487a
mov ecx, ebx
mov eax, dword [ebp - 0xb4]
cmp ecx, dword [eax]
jl 0x10004887
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x1c], 0xfffffff8
jmp 0x100048cd
mov dword [ebp - 0x28], 0xae857b1a
cmp dword [ebp - 0x48], ebx
jne 0x100048bb
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xb4]
cmp ecx, dword [eax]
jl 0x100048bb
mov eax, ebx
jmp 0x100048be
xor eax, eax
inc eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x28], ebx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x36
jle 0x1000489e
push 0x626
push 0x56d8
push 0x732a
push 0x2a82
push 0xf34
push ebx
push 0x6745
push 0xa02
mov edx, 0x2324
lea ecx, [ebp - 0x48]
call fcn.10004c2f
add esp, 0x20
mov byte [ebp - 4], bl
lea ecx, [ebp - 0xb4]
call fcn.100014f4
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 5
jl 0x10004801
lea eax, [ebp - 0x3c]
xor cl, cl
push eax
lea edx, [ebp - 0xa8]
call fcn.10005789
pop ecx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x54]
jb 0x100047bf
push 0x3f8a
push 0x3f78
push 0x7cef
push ecx
lea eax, [ebp - 0x68]
mov dword [ebp - 0x68], 0xfffffff9
push eax
push 0x1998
push 0x1f63
xor dl, dl
mov ecx, 0x1a06
call fcn.100037cc
add esp, 0x1c
lea eax, [ebp - 0xa8]
cmp edi, eax
je 0x10004989
push 0xffffffffffffffff
push ebx
push eax
mov ecx, edi
call fcn.100016d5
push ebx
push 1
lea ecx, [ebp - 0xa8]
call fcn.100017af
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret