Function at 0x455187
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push esi
push 3
lea ecx, [ebp - 0x3c]
call fcn.00401e5e
push 2
lea ecx, [ebp - 0x48]
call fcn.00401e5e
mov dword [ebp - 8], 0
jmp 0x4551b2
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 3
jge 0x4551cb
push dword [ebp - 8]
lea ecx, [ebp - 0x3c]
call fcn.004017e6
mov dword [eax], 0x7d45db34
jmp 0x4551ab
mov dword [ebp - 8], 0
jmp 0x4551db
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 2
jge 0x4551f4
push dword [ebp - 8]
lea ecx, [ebp - 0x48]
call fcn.004017e6
mov dword [eax], 6
jmp 0x4551d4
mov dword [ebp - 8], 0
jmp 0x455204
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x455217
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x28], 0
jmp 0x4551fd
push 0
lea ecx, [ebp - 0x3c]
call fcn.004017e6
push 1
lea ecx, [ebp - 0x3c]
call fcn.004017e6
push 0
lea ecx, [ebp - 0x3c]
call fcn.004017e6
mov esi, eax
push 1
lea ecx, [ebp - 0x3c]
call fcn.004017e6
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x455250
mov dword [ebp - 0x10], 1
jmp 0x455254
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfe46
cmp eax, 0x7ccc
jge 0x45526c
mov dword [ebp - 0xc], 1
jmp 0x455270
and dword [ebp - 0xc], 0
push 0
lea ecx, [ebp - 0x48]
call fcn.004017e6
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
cmp dword [ebp - 0xc], 0
jne 0x45529a
push 0
lea ecx, [ebp - 0x48]
call fcn.004017e6
cmp dword [eax], 0
jne 0x45529a
and dword [ebp - 0x14], 0
jmp 0x4552a1
mov dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 4
je 0x4552b0
mov dword [ebp - 0x18], 1
jmp 0x4552b4
and dword [ebp - 0x18], 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.004017e6
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jg 0x4552ce
mov dword [ebp - 0x1c], 1
jmp 0x4552d2
and dword [ebp - 0x1c], 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.004017e6
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [eax]
neg ecx
je 0x4552f2
xor eax, eax
je 0x4552f2
mov dword [ebp - 0x20], 1
jmp 0x4552f6
and dword [ebp - 0x20], 0
push 0
lea ecx, [ebp - 0x3c]
call fcn.004017e6
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
jne 0x455310
mov dword [ebp - 0x24], 1
jmp 0x455314
and dword [ebp - 0x24], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp + eax - 0x28], ecx
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x455333
call dword [sym.imp.USER32.dll_DestroyCaret]
lea ecx, [ebp - 0x48]
call fcn.00401f30
lea ecx, [ebp - 0x3c]
call fcn.00401f30
push dword [ebp + 0xc]
push 0x76c8
lea eax, [ebp - 0x2c]
push eax
push 0
push 0x3e47
push dword [ebp + 8]
call fcn.0045be4b
add esp, 0x18
mov dword [ebp - 0x30], 0
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x455394
push 0x25bb
push 0xb36
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov byte [ebp - 3], 0
movzx eax, byte [ebp - 3]
test eax, eax
je 0x4553ad
push 0x2515
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2c]
pop esi
mov esp, ebp
pop ebp
ret