Function at 0x10033260
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x165c
call fcn.10001050
mov eax, dword [0x100ad00c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100ae0d4], 0
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x1634], ebx
mov dword [ebp - 0x162c], esi
mov dword [ebp - 0x164c], eax
jne 0x100332ca
push str.int___cdecl_rtldrNativeLoadSystem_const_char__const_char__unsigned_int_struct_RTLDRMODINTERNAL__
push str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winldrNative_win.cpp
push 0xbf
push str.g_hModKernel32
call fcn.10014d90
push ebx
push str.rtldrNativeLoadSystem__s____is_called_before_IPRT_has_configured_the_windows_loader__n
call fcn.10014da0
add esp, 0x18
call fcn.10014dc0
int3
cmp byte [0x100af3cc], 0
jne 0x100332f0
push str.RtlDosApplyFileIsolationRedirection_Ustr
push dword [0x100ae114]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100af3d0], eax
mov byte [0x100af3cc], 1
lea eax, [ebp - 0x1620]
mov dword [ebp - 0x1638], eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, 0x104
jb 0x1003332a
pop esi
mov eax, 0xffffff88
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
cmp dword [0x100af3d0], 0
push edi
je 0x10033533
lea eax, [ebp - 0x414]
mov dword [ebp - 0x1630], 0
push str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winldrNative_win.cpp
mov dword [ebp - 0x1644], eax
lea eax, [ebp - 0x1630]
push eax
push 0x104
lea eax, [ebp - 0x1644]
push eax
push 0xffffffffffffffff
push ebx
call fcn.1000c670
add esp, 0x18
test eax, eax
js 0x10033533
mov esi, dword [0x100af3d0]
lea eax, [ebp - 0x61c]
mov dword [ebp - 0x1650], eax
mov ecx, esi
xor eax, eax
mov dword [ebp - 0x1654], 0x2060000
mov dword [ebp - 0x1640], eax
mov dword [ebp - 0x163c], eax
mov dword [ebp - 0x1628], eax
mov eax, dword [ebp - 0x1630]
add eax, eax
mov word [ebp - 0x165c], ax
add eax, 2
push 0
mov word [ebp - 0x165a], ax
lea eax, [ebp - 0x414]
push 0
push 0
mov dword [ebp - 0x1658], eax
lea eax, [ebp - 0x1628]
push eax
lea eax, [ebp - 0x1640]
push eax
lea eax, [ebp - 0x1654]
push eax
push 0x10084dc4
lea eax, [ebp - 0x165c]
push eax
push 1
call dword [section..rdata]
call esi
test eax, eax
js 0x1003352d
mov ebx, dword [ebp - 0x1628]
xor eax, eax
mov dword [ebp - 0x1624], eax
movzx edi, word [ebx]
mov dword [ebp - 0x1648], edi
test edi, edi
je 0x1003351a
mov ebx, dword [ebx + 4]
jmp 0x10033430
movzx ecx, word [ebp + eax*2 - 0x20c]
lea edx, [ebx + eax*2]
movzx esi, word [edx]
cmp ecx, 0x5c
je 0x1003347e
cmp ecx, 0x2f
je 0x1003347e
cmp cx, si
je 0x1003347b
cmp ecx, 0x7f
jae 0x100334cb
cmp esi, 0x7f
jae 0x100334cb
mov edi, ecx
lea ecx, [edi - 0x41]
cmp ecx, 0x1a
jae 0x10033464
add edi, 0x20
mov edx, esi
lea ecx, [edx - 0x41]
cmp ecx, 0x1a
jae 0x10033471
add edx, 0x20
cmp edi, edx
jne 0x100334cb
mov edi, dword [ebp - 0x1648]
inc eax
jmp 0x100334c3
cmp esi, 0x5c
je 0x10033488
cmp esi, 0x2f
jne 0x100334cb
xor ecx, ecx
lea esi, [ebp - 0x20c]
cmp ecx, eax
sbb ecx, ecx
neg ecx
add dword [ebp - 0x1624], ecx
sub esi, ebx
mov edi, edi
inc eax
lea edx, [edx + 2]
cmp eax, edi
jae 0x100334cb
movzx ecx, word [esi + edx]
cmp ecx, 0x5c
je 0x100334b6
cmp ecx, 0x2f
jne 0x100334c3
cmp word [ebx + eax*2], 0x5c
je 0x100334a0
cmp word [edx], 0x2f
je 0x100334a0
cmp eax, edi
jb 0x10033430
cmp dword [ebp - 0x1624], 2
jb 0x1003351a
mov ecx, dword [ebp - 0x1628]
lea edx, [ebp - 0x1638]
push str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winldrNative_win.cpp
push 0
push 0x1004
movzx eax, word [ecx]
push edx
shr eax, 1
push eax
push dword [ecx + 4]
call fcn.10004520
add esp, 0x18
xor ebx, ebx
test eax, eax
lea eax, [ebp - 0x1640]
setns bl
push eax
dec ebx
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
and ebx, 0xffffffcc
jns 0x10033591
jmp 0x10033527
lea eax, [ebp - 0x1640]
push eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov ebx, dword [ebp - 0x1634]
mov esi, dword [ebp - 0x162c]
push str.C:DevelAntidetect4PersonalVirtualBox_srcVBoxRuntime_r3winldrNative_win.cpp
push 0
push 0x1004
lea eax, [ebp - 0x1638]
push eax
lea eax, [ebp - 0x20c]
push 0xffffffffffffffff
push eax
call fcn.10004520
add esp, 0x18
test eax, eax
js 0x100335d4
push ebx
lea eax, [ebp - 0x1620]
push 0x1004
push eax
call fcn.100541d0
add esp, 0xc
test esi, esi
je 0x1003358d
test eax, eax
js 0x100335d4
push esi
lea eax, [ebp - 0x1620]
push 0x1004
push eax
call fcn.10037eb0
add esp, 0xc
test eax, eax
js 0x100335d4
lea eax, [ebp - 0x1620]
push eax
call fcn.1000cb20
add esp, 4
test al, al
je 0x100335cf
push 0
push dword [ebp + 0x10]
lea eax, [ebp - 0x1620]
push dword [ebp - 0x164c]
push eax
call fcn.1000cee0
add esp, 0x10
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001210
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffd9e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001210
mov esp, ebp
pop ebp
ret