Function at 0x426e50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d2993
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x64c00c]
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 ebx, ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x230], 0
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x4270aa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x228]
push esi
mov dword [ebp - 0x230], 1
call fcn.00406b20
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebx + 0x10]
call fcn.00407480
lea eax, [ebp - 0x228]
push eax
mov eax, dword [ebp - 0x240]
push eax
mov dword [ebp - 0x22c], eax
call fcn.00407510
test al, al
jne 0x426f0f
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x22c], eax
mov edx, dword [ebp - 0x228]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x426f2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x22c]
cmp eax, dword [ebx + 0x10]
je 0x42708a
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.005a52f0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
call fcn.00405800
mov ecx, eax
test ecx, ecx
je 0x4270b4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebp - 0x224]
call fcn.00406c20
test al, al
jne 0x426fd8
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426fb6
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x224]
call fcn.00406ed0
mov dword [ebp - 0x230], 3
push str.fonts_
lea edx, [ebp - 0x224]
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x238]
call fcn.0040fa40
mov ecx, dword [ebp - 0x22c]
mov edx, eax
add ecx, 0x14
mov byte [ebp - 4], 3
push ecx
lea ecx, [ebp - 0x234]
call fcn.00408450
add esp, 8
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00406a90
mov byte [ebp - 4], 3
mov eax, esi
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42704a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, esi
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42706b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x42708a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.00483ab6
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00405600
push 0x80004005
call fcn.00405600
int3