Function at 0x4a48a0
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a24e
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x5fc150]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x46c], edi
mov byte [edi], 0
mov byte [edi + 8], 0
push 0
mov dword [ebp - 0x470], edi
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
test ebx, ebx
je 0x4a491e
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push ebx
call esi
push 0x5a
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
push 0
mov dword [edi + 0x10], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x54]
call fcn.004a4540
mov byte [ebp - 4], 2
lea ecx, [edi + 0x740]
call fcn.004a5570
mov byte [ebp - 4], 3
lea ecx, [edi + 0x990]
mov dword [edi + 0x904], 0
mov dword [edi + 0x980], 0
mov dword [edi + 0x984], 0xa
mov byte [edi + 0x988], 0
mov dword [edi + 0x98c], 0xffffffff
call fcn.004a42c0
mov byte [ebp - 4], 4
xor eax, eax
mov byte [edi + 0xa64], 0
mov dword [edi + 0xa7c], 7
mov dword [edi + 0xa78], 0
mov word [edi + 0xa68], ax
mov byte [ebp - 4], 5
mov dword [edi + 0xa94], 7
mov dword [edi + 0xa90], eax
mov word [edi + 0xa80], ax
mov byte [ebp - 4], 6
lea esi, [edi + 0xb30]
push 0x465c40
push 0x462c50
mov dword [edi + 0xb10], eax
push 0x64
push 0x574
mov dword [edi + 0xb14], eax
mov byte [edi + 0xb18], al
mov dword [edi + 0xb1c], eax
mov dword [edi + 0xb20], eax
mov dword [edi + 0xb24], eax
mov dword [edi + 0xb28], 0x55
push esi
mov dword [edi + 0xb2c], 0xffffffff
mov dword [ebp - 0x46c], esi
call fcn.0052c75a
mov byte [ebp - 4], 7
mov dword [esi + 0x22150], 0
mov byte [ebp - 4], 8
lea esi, [edi + 0x22c84]
push fcn.0043eef0
push fcn.00463fd0
push 0x1e
push 0x2c
push esi
mov dword [ebp - 0x46c], esi
call fcn.0052c75a
mov byte [ebp - 4], 9
mov dword [esi + 0x528], 0
mov byte [ebp - 4], 0xa
mov dword [edi + 0x231b0], 0
mov dword [edi + 0x231b4], 0
mov dword [edi + 0x231b8], 0
mov byte [ebp - 4], 0xb
mov dword [edi + 0x231bc], 0
mov dword [edi + 0x231c0], 0
mov dword [edi + 0x231c4], 0
mov byte [ebp - 4], 0xc
lea eax, [edi + 0x231c8]
mov dword [ebp - 0x46c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 0xe
mov dword [edi + 0x231d4], 0
mov dword [edi + 0x231d8], 0
mov dword [edi + 0x231dc], 0
mov word [edi + 0x231e1], 0
mov dword [edi + 0x231e4], 0
mov dword [edi + 0x231e8], 0
mov dword [edi + 0x231ec], 0
mov byte [ebp - 4], 0xf
mov dword [edi + 0x231f0], 0
mov dword [edi + 0x231f4], 0
mov dword [edi + 0x231f8], 0
mov byte [ebp - 4], 0x10
mov dword [edi + 0x231fc], 0
mov dword [edi + 0x23200], 0
mov dword [edi + 0x23204], 0
mov byte [ebp - 4], 0x11
mov dword [edi + 0x23208], 0
mov dword [edi + 0x2320c], 0
mov dword [edi + 0x23210], 0
mov byte [ebp - 4], 0x12
mov dword [edi + 0x23214], 0
mov dword [edi + 0x23218], 0
mov dword [edi + 0x2321c], 0
mov byte [ebp - 4], 0x13
mov dword [edi + 0x23220], 0
mov dword [edi + 0x23224], 0
mov dword [edi + 0x23228], 0
mov byte [ebp - 4], 0x14
mov dword [edi + 0x2322c], 0
mov dword [edi + 0x23230], 0
mov dword [edi + 0x23234], 0
mov byte [ebp - 4], 0x15
mov dword [edi + 0x23238], 0
mov dword [edi + 0x2323c], 0
mov dword [edi + 0x23240], 0
mov byte [ebp - 4], 0x16
lea eax, [edi + 0x23244]
mov dword [ebp - 0x46c], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 0x17
xor ecx, ecx
mov dword [eax + 0x20], 7
mov dword [eax + 0x1c], 0
mov word [eax + 0xc], cx
mov byte [ebp - 4], 0x18
mov dword [eax + 0x38], 0xf
mov dword [eax + 0x34], ecx
mov byte [eax + 0x24], cl
mov byte [ebp - 4], 0x1a
xor eax, eax
mov dword [edi + 0x23294], 7
mov dword [edi + 0x23290], ecx
mov word [edi + 0x23280], ax
mov byte [ebp - 4], 0x1b
mov word [edi + 0x23298], ax
lea eax, [edi + 0x2329c]
mov dword [ebp - 0x46c], eax
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov byte [ebp - 4], 0x1c
mov dword [eax + 0x20], 7
mov dword [eax + 0x1c], ecx
mov word [eax + 0xc], cx
mov byte [ebp - 4], 0x1e
mov dword [edi + 0x232c0], ecx
mov dword [edi + 0x232c4], ecx
mov dword [edi + 0x232c8], ecx
mov byte [ebp - 4], 0x1f
lea eax, [edi + 0x232cc]
mov dword [ebp - 0x46c], eax
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov byte [ebp - 4], 0x20
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov byte [ebp - 4], 0x22
xor eax, eax
mov dword [edi + 0x23304], 7
mov dword [edi + 0x23300], ecx
mov word [edi + 0x232f0], ax
mov byte [ebp - 4], 0x23
mov dword [edi + 0x2331c], 7
mov dword [edi + 0x23318], eax
mov word [edi + 0x23308], ax
mov byte [ebp - 4], 0x24
mov dword [edi + 0x23334], 7
mov dword [edi + 0x23330], eax
mov word [edi + 0x23320], ax
mov byte [ebp - 4], 0x25
mov dword [edi + 0x2334c], 7
mov dword [edi + 0x23348], eax
mov word [edi + 0x23338], ax
mov byte [ebp - 4], 0x26
lea ebx, [edi + 0x23350]
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], eax
mov word [ebx], ax
mov byte [ebp - 4], 0x27
mov dword [edi + 0x2337c], 7
mov dword [edi + 0x23378], eax
mov word [edi + 0x23368], ax
mov byte [ebp - 4], 0x28
mov dword [edi + 0x23394], 7
mov dword [edi + 0x23390], eax
mov word [edi + 0x23380], ax
mov byte [ebp - 4], 0x29
lea esi, [edi + 0x23398]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
mov byte [ebp - 4], 0x2a
mov dword [edi + 0x233c4], 7
mov dword [edi + 0x233c0], eax
mov word [edi + 0x233b0], ax
mov byte [ebp - 4], 0x2b
mov dword [edi + 0x233dc], 7
mov dword [edi + 0x233d8], eax
mov word [edi + 0x233c8], ax
mov byte [ebp - 4], 0x2c
mov dword [edi + 0x233f4], 7
mov dword [edi + 0x233f0], eax
mov word [edi + 0x233e0], ax
mov byte [ebp - 4], 0x2d
mov dword [edi + 0x2340c], 7
mov dword [edi + 0x23408], eax
mov word [edi + 0x233f8], cx
mov byte [ebp - 4], 0x2e
lea eax, [edi + 0x23410]
push fcn.004038c0
push fcn.0045de80
push 3
push 0x18
push eax
call fcn.0052c75a
mov byte [ebp - 4], 0x2f
mov dword [edi + 0x23458], 0
mov dword [edi + 0x2345c], 0
mov dword [edi + 0x23460], 0
mov byte [ebp - 4], 0x30
lea eax, [edi + 0x2346c]
mov dword [ebp - 0x46c], eax
xor ecx, ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], cx
mov byte [ebp - 4], 0x31
mov dword [eax + 0x2c], 7
mov dword [eax + 0x28], ecx
mov word [eax + 0x18], cx
mov byte [ebp - 4], 0x32
mov dword [eax + 0x44], 7
mov dword [eax + 0x40], ecx
mov word [eax + 0x30], cx
mov byte [ebp - 4], 0x33
mov dword [eax + 0x5c], 7
mov dword [eax + 0x58], ecx
mov word [eax + 0x48], cx
mov byte [ebp - 4], 0x35
xor eax, eax
mov byte [edi + 0x234cc], cl
mov dword [edi + 0x234d8], ecx
mov dword [edi + 0x234f8], 7
mov dword [edi + 0x234f4], ecx
mov word [edi + 0x234e4], ax
mov byte [ebp - 4], 0x36
mov dword [edi + 0x23510], 7
mov dword [edi + 0x2350c], eax
mov word [edi + 0x234fc], ax
mov byte [ebp - 4], 0x37
mov dword [edi + 0x23528], 7
mov dword [edi + 0x23524], eax
mov word [edi + 0x23514], ax
mov byte [ebp - 4], 0x38
mov dword [edi + 0x23540], 7
mov dword [edi + 0x2353c], eax
mov word [edi + 0x2352c], ax
mov byte [ebp - 4], 0x39
mov ecx, edi
mov word [edi + 0x23544], ax
call fcn.004b4c30
mov dword [edi + 0x234d0], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp word [ebp - 0x218], 0
jne 0x4a4fe6
xor ecx, ecx
jmp 0x4a4fff
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4a4ff0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
call fcn.00406c80
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp word [ebp - 0x420], 0
jne 0x4a502e
xor eax, eax
jmp 0x4a5046
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4a5037
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [edi + 0x233f8]
call fcn.00406c80
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x4a5068
mov esi, dword [esi]
xor eax, eax
lea ecx, [ebp - 0x438]
push 0xffffffffffffffff
mov word [esi], ax
push eax
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], eax
push ebx
mov dword [ebp - 0x424], 7
mov dword [ebp - 0x428], eax
mov word [ebp - 0x438], ax
call fcn.00406ac0
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x450]
push str.asNotepad.xml
call fcn.004029a0
mov byte [ebp - 4], 0x3b
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00423c40
add esp, 0xc
lea ecx, [ebp - 0x468]
call fcn.004038c0
mov byte [ebp - 4], 0x3a
lea ecx, [ebp - 0x450]
call fcn.004038c0
cmp dword [ebp - 0x424], 8
mov eax, dword [ebp - 0x438]
jae 0x4a5103
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete cl
mov byte [edi + 0x234cc], cl
mov ecx, edi
call fcn.004b51e0
mov ecx, edi
call fcn.004b53c0
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x438]
call fcn.004038c0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c233
mov esp, ebp
pop ebp
ret