Function at 0x463a30
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 0x55cb10
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x240
mov eax, dword [0x60b3c4]
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 - 0x244], edi
lea eax, [ebp - 0x240]
mov dword [ebp - 0x244], edi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0x200
push 0x100
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
mov esi, eax
test esi, esi
je 0x463c75
mov ecx, dword [ebp - 0x38]
mov eax, ecx
shr eax, 1
cmp esi, eax
jb 0x463b06
add esi, esi
cmp esi, ecx
jbe 0x463aed
push esi
call fcn.0050fd59
mov ecx, dword [ebp - 0x40]
add esp, 4
mov dword [ebp - 0x40], eax
test ecx, ecx
je 0x463ae3
push ecx
call fcn.0050fd90
mov eax, dword [ebp - 0x40]
add esp, 4
mov ecx, esi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], ecx
jmp 0x463af0
mov eax, dword [ebp - 0x3c]
shr ecx, 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
mov esi, eax
test esi, esi
je 0x463c75
jmp 0x463ab3
mov eax, dword [ebp - 0x3c]
xorps xmm0, xmm0
mov dword [ebp - 0x244], eax
movups xmmword [ebp - 0x2c], xmm0
cmp esi, 0x7ffffffe
ja 0x463c89
cmp esi, 8
jae 0x463b4d
mov dword [ebp - 0x1c], esi
add esi, esi
push esi
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
push eax
call fcn.00512a40
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x2c], ax
jmp 0x463bff
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x463b60
mov eax, SysReAllocString
jmp 0x463b6a
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
xor ecx, ecx
mov dword [ebp - 0x24c], eax
add eax, 1
setb cl
neg ecx
or ecx, eax
cmp ecx, 0x7fffffff
ja 0x463c93
add ecx, ecx
cmp ecx, 0x1000
jb 0x463bb9
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x463c93
push eax
call fcn.0050fd59
add esp, 4
test eax, eax
je 0x463c8e
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x463bcc
test ecx, ecx
je 0x463bca
push ecx
call fcn.0050fd59
add esp, 4
mov ecx, eax
jmp 0x463bcc
xor ecx, ecx
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x1c], esi
add esi, esi
push esi
push dword [ebp - 0x244]
mov dword [ebp - 0x248], ecx
push ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], eax
call fcn.00512a40
mov eax, dword [ebp - 0x248]
add esp, 0xc
xor ecx, ecx
mov word [eax + esi], cx
mov byte [edi + 0x18], 1
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
jmp 0x463c45
mov byte [edi + 0x18], 0
mov dword [edi], eax
mov dword [edi + 4], 0x61d9d0
mov dword [edi + 8], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x463c55
push eax
call fcn.0050fd90
add esp, 4
mov eax, edi
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.0050fd4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x463c2a
mov ecx, edi
call fcn.004637d0
jmp 0x463c45
call fcn.00415cd0
call fcn.0052865a
call fcn.00415c20
int3