Function at 0x47763c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0x80000301
push 0
push 0x100
push 1
mov ebx, 0x184
call fcn.004e4570
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4776ab
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x100
mov dword [ebp - 0x20], esp
push dword [ebp - 8]
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4776e5
push 0x72
push 0x42614c8
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jle 0x477751
push 0x94cc49
push dword [ebp - 4]
mov ecx, 2
call fcn.00401b2b
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x47771e
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x47774e
push 0x12a
push 0x42614c8
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47778c
mov dword [ebp - 0x20], esp
push 0x94cc57
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x477789
push 0x196
push 0x42614c8
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4777ca
mov dword [ebp - 0x20], esp
push 0x94cc64
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4777c7
push 0x20d
push 0x42614c8
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x477873
mov dword [ebp - 0x20], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4777fd
push 0x2aa
push 0x42614c8
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esp
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x24]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x477830
push 0x2aa
push 0x42614c8
push 6
call fcn.004e0834
add esp, 0xc
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x477873
mov dword [ebp - 0x20], esp
push dword [ebp - 0x14]
xor eax, eax
call dword [0xb5f376]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x477869
push 0x2d0
push 0x42614c8
push 6
call fcn.004e0834
add esp, 0xc
mov eax, 0
jmp 0x4778bb
cmp dword [ebp - 0x14], 0
jne 0x4778b3
mov dword [ebp - 0x20], esp
push dword [ebp - 0x14]
xor eax, eax
call dword [0xb5f376]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x4778a9
push 0x34d
push 0x42614c8
push 6
call fcn.004e0834
add esp, 0xc
mov eax, 0
jmp 0x4778bb
mov eax, dword [ebp - 0x1c]
jmp 0x4778bb
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4778cc
push ebx
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4778dc
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret