Function at 0x417930
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3f56
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x798
mov eax, dword [0x53c160]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x7a8], edi
xor eax, eax
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 7
mov word [ebp - 0x268], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x2e4]
cmp dword [eax + 0x14], 8
jb 0x4179b1
mov eax, dword [eax]
push ecx
push str.XML_Files__.xml_
push 0x1004
push eax
push str..xml
push 1
lea ecx, [ebp - 0x780]
call fcn.0041adc0
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push eax
push 0
push 0
push 5
push 0
mov dword [ebp - 0x748], 0
mov dword [ebp - 0x730], str.Load_SntLogView_Filter
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x417a5e
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417a10
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x268]
call fcn.00406c30
push 0x13
push str.SntLogView_Filters
lea ecx, [ebp - 0x268]
call fcn.00419680
cmp dword [ebp - 0x254], 8
lea eax, [ebp - 0x268]
cmovae eax, dword [ebp - 0x268]
mov dword [ebp - 0x734], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
lea ecx, [ebp - 0x780]
call fcn.00418cc0
cmp eax, 1
jne 0x418123
xor eax, eax
mov dword [ebp - 0x280], 0
lea ecx, [ebp - 0x504]
mov dword [ebp - 0x270], 0
mov dword [ebp - 0x26c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x280], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417ab0
sub ecx, edx
lea eax, [ebp - 0x504]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x280]
call fcn.00406c30
lea edx, [ebp - 0x280]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2b0]
call fcn.004171d0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x26c]
cmp edx, 8
jb 0x417b2b
mov ecx, dword [ebp - 0x280]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417b21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41818f
push edx
push ecx
call fcn.004c3baf
add esp, 8
xor eax, eax
mov dword [ebp - 0x270], 0
mov word [ebp - 0x280], ax
sub esp, 8
lea eax, [ebp - 0x504]
mov dword [ebp - 0x26c], 7
mov edx, esp
mov ecx, eax
mov dword [edx], eax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417b60
sub ecx, esi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x2c8]
call fcn.004164a0
push eax
lea ecx, [ebp - 0x2f8]
mov byte [ebp - 4], 5
call fcn.00408d20
lea ecx, [ebp - 0x2c8]
call fcn.00408e60
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
movups xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
push 1
mov byte [ebp - 4], 9
call fcn.004af47b
mov esi, eax
add esp, 4
mov dword [ebp - 0x788], esi
lea eax, [ebp - 0x78c]
mov byte [ebp - 4], 0xa
push eax
mov edx, str.json
lea ecx, [ebp - 0x2b0]
call fcn.0040c1e0
add esp, 4
mov byte [ebp - 0x781], al
mov byte [ebp - 4], 8
test esi, esi
je 0x417c3a
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 8]
call edx
test eax, eax
je 0x417c34
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
mov al, byte [ebp - 0x781]
test al, al
je 0x417cf6
lea edx, [ebp - 0x2f8]
lea ecx, [ebp - 0x2e0]
call fcn.004859b0
mov esi, eax
lea eax, [ebp - 0x250]
cmp eax, esi
je 0x417cdc
mov edx, dword [ebp - 0x23c]
cmp edx, 0x10
jb 0x417c99
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417c8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418194
push edx
push ecx
call fcn.004c3baf
add esp, 8
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x240], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x238]
call fcn.00418210
lea ecx, [ebp - 0x2e0]
jmp 0x417e42
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0xf
mov byte [ebp - 0x2cc], 0
push 0x10
mov byte [ebp - 4], 0xb
call fcn.004c3bbd
add esp, 4
mov dword [ebp - 0x788], eax
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.0042c560
mov dword [ebp - 0x2b4], eax
push 1
mov byte [ebp - 4], 0xe
call fcn.004af47b
add esp, 4
mov dword [ebp - 0x788], eax
lea eax, [ebp - 0x78c]
mov byte [ebp - 4], 0xf
push eax
push ecx
lea edx, [ebp - 0x2cc]
lea ecx, [ebp - 0x2f8]
call fcn.00459610
mov byte [ebp - 4], 0xd
add esp, 8
mov ecx, dword [ebp - 0x788]
test ecx, ecx
je 0x417d97
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x417d97
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
lea edx, [ebp - 0x2cc]
lea ecx, [ebp - 0x298]
call fcn.00485350
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 8
call fcn.00429680
mov edx, dword [ebp - 0x23c]
cmp edx, 0x10
jb 0x417df1
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417de7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418199
push edx
push ecx
call fcn.004c3baf
add esp, 8
movups xmm0, xmmword [ebp - 0x298]
lea eax, [ebp - 0x280]
mov byte [ebp - 0x298], 0
push eax
movups xmmword [ebp - 0x250], xmm0
lea ecx, [ebp - 0x238]
movq xmm0, qword [ebp - 0x288]
movq qword [ebp - 0x240], xmm0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0xf
call fcn.00418210
lea ecx, [ebp - 0x298]
call fcn.004181b0
cmp dword [ebp - 0x23c], 0x10
lea eax, [ebp - 0x250]
cmovae eax, dword [ebp - 0x250]
push eax
push 0xce
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [ebp - 0x7a4]
lea esi, [edi + 0x44]
push eax
mov ecx, esi
call fcn.0046ea70
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x7a4]
push dword [ebp - 0x788]
push dword [ebp - 0x234]
push dword [ebp - 0x238]
push dword [ebp - 0x7a0]
call fcn.00419da0
lea ecx, [esi + 0x120]
lea eax, [ebp - 0x7a4]
cmp ecx, eax
je 0x417ec9
push dword [ebp - 0x788]
push dword [ebp - 0x7a0]
push dword [ebp - 0x7a4]
call fcn.0042eda0
push dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x417ee0
push ecx
mov ecx, esi
call fcn.0046edd0
mov esi, dword [ebp - 0x7a8]
lea eax, [ebp - 0x798]
push eax
lea ecx, [esi + 0x180]
call fcn.0046ea70
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x798]
push dword [ebp - 0x788]
push dword [ebp - 0x228]
push dword [ebp - 0x22c]
push dword [ebp - 0x794]
call fcn.00419da0
lea ecx, [esi + 0x2a0]
lea eax, [ebp - 0x798]
cmp ecx, eax
je 0x417f46
push dword [ebp - 0x788]
push dword [ebp - 0x794]
push dword [ebp - 0x798]
call fcn.0042eda0
push dword [esi + 0x184]
call edi
test eax, eax
je 0x417f5e
push ecx
lea ecx, [esi + 0x180]
call fcn.0046edd0
lea ecx, [ebp - 0x798]
call fcn.00418ec0
lea ecx, [ebp - 0x7a4]
call fcn.00418ec0
mov esi, dword [ebp - 0x22c]
test esi, esi
je 0x417fed
mov edi, dword [ebp - 0x228]
cmp esi, edi
je 0x417f9c
mov ecx, esi
call fcn.0041a0a0
add esi, 0x40
cmp esi, edi
jne 0x417f88
mov esi, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x224]
mov eax, esi
sub ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x1000
jb 0x417fc5
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41819e
push ecx
push esi
call fcn.004c3baf
add esp, 8
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov esi, dword [ebp - 0x238]
test esi, esi
je 0x418066
mov edi, dword [ebp - 0x234]
cmp esi, edi
je 0x418015
mov ecx, esi
call fcn.0041a0a0
add esi, 0x40
cmp esi, edi
jne 0x418001
mov esi, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x230]
mov eax, esi
sub ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x1000
jb 0x41803e
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41819e
push ecx
push esi
call fcn.004c3baf
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov edx, dword [ebp - 0x23c]
cmp edx, 0x10
jb 0x4180a0
mov ecx, dword [ebp - 0x250]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418096
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41819e
push edx
push ecx
call fcn.004c3baf
add esp, 8
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xf
mov byte [ebp - 0x250], 0
call fcn.00408e60
mov edx, dword [ebp - 0x29c]
cmp edx, 8
jb 0x418106
mov ecx, dword [ebp - 0x2b0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4180fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41819e
push edx
push ecx
call fcn.004c3baf
add esp, 8
xor eax, eax
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
mov eax, dword [ebp - 0x76c]
test eax, eax
je 0x418133
push eax
call fcn.004c39de
mov edx, dword [ebp - 0x254]
cmp edx, 8
jb 0x41816f
mov ecx, dword [ebp - 0x268]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x418165
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41819e
push edx
push ecx
call fcn.004c3baf
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004c3ba1
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.004cecff
call fcn.004cecff
call fcn.004cecff
call fcn.004cecff
int3