Function at 0x434400
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4733d7
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x4a3dc0]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a3dc0]
xor eax, esp
push eax
lea eax, [esp + 0x19c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1ac]
xor ebx, ebx
push 0x104
lea eax, [esp + 0x98]
push ebx
push eax
mov dword [esp + 0x20], ebx
call fcn.004547c0
add esp, 0xc
lea ecx, [esp + 0x94]
push ecx
push ebx
push ebx
push 0x25
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov esi, eax
cmp esi, ebx
je 0x43460d
push 3
call fcn.00434cf0
mov ecx, eax
call fcn.00434d00
test al, al
je 0x4345e0
lea edx, [esp + 0x78]
push esi
push edx
call fcn.00435370
add esp, 8
mov esi, eax
push 0xe
push str.GetSystem32Dir
lea ecx, [esp + 0x48]
mov dword [esp + 0x1ac], ebx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.004042b0
mov ebp, 0x10
mov byte [esp + 0x1a4], 1
cmp dword [esi + 0x14], ebp
jb 0x4344dc
mov esi, dword [esi]
mov eax, dword [esp + 0x40]
cmp dword [esp + 0x54], ebp
jae 0x4344ea
lea eax, [esp + 0x40]
push esi
push eax
lea eax, [esp + 0x64]
push 0x48c344
push eax
call fcn.00437960
add esp, 0x10
mov byte [esp + 0x1a4], 2
cmp dword [eax + 0x14], ebp
jb 0x43450f
mov esi, dword [eax]
jmp 0x434511
mov esi, eax
call fcn.00434cf0
mov edi, eax
mov eax, esi
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x434530
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.004042b0
lea ecx, [esp + 0x24]
push ecx
push str.SysInfo::getSystem32Dir
push 0xc0
push 0x48c418
push 3
mov ecx, edi
mov byte [esp + 0x1b8], 3
call fcn.00434dd0
cmp dword [esp + 0x38], ebp
jb 0x43457c
mov edx, dword [esp + 0x24]
push edx
call fcn.004533ae
add esp, 4
cmp dword [esp + 0x70], ebp
jb 0x43458f
mov eax, dword [esp + 0x5c]
push eax
call fcn.004533ae
add esp, 4
mov esi, 0xf
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0x54], ebp
jb 0x4345b3
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004533ae
add esp, 4
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
mov dword [esp + 0x1a4], 0xffffffff
cmp dword [esp + 0x8c], ebp
jb 0x4345e0
mov edx, dword [esp + 0x78]
push edx
call fcn.004533ae
add esp, 4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], str.SHGetFolderPath_CSIDL_SYSTEM__failed
call fcn.00453b7a
push 0x498d24
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], vtable.std::runtime_error.0
call fcn.00453ce8
lea eax, [esp + 0x94]
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x434627
sub eax, edx
push eax
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x2c]
call fcn.004042b0
lea eax, [esp + 0x24]
push eax
push edi
mov dword [esp + 0x1ac], 4
call fcn.00439370
add esp, 8
cmp dword [esp + 0x38], 0x10
jb 0x43466f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004533ae
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x19c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0045407e
add esp, 0x194
ret