Function at 0x100033d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8c
mov eax, dword [0x100fb074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x510]
mov dword [ebp - 0xe84], ecx
push 0
push eax
call fcn.100b7060
add esp, 0xc
lea eax, [ebp - 0x618]
push 0x104
push 0
push eax
call fcn.100b7060
add esp, 0xc
lea eax, [ebp - 0x510]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
movsx eax, byte [ebp - 0x510]
push eax
lea eax, [ebp - 0x618]
push str.._c:
push eax
call fcn.100038c0
add esp, 0xc
lea eax, [ebp - 0x618]
push 0
push 0
push 3
push 0
push 7
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xe80], eax
cmp eax, 0xffffffff
jne 0x10003480
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b47d2
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea ecx, [ebp - 0xe7c]
push 0
push ecx
push 0x20
lea ecx, [ebp - 0xe78]
mov dword [ebp - 0xe7c], 0
push ecx
push 0
push 0
xorps xmm0, xmm0
xor bl, bl
push 0x560000
push eax
movups xmmword [ebp - 0xe78], xmm0
movups xmmword [ebp - 0xe68], xmm0
call esi
test eax, eax
jne 0x100034cc
mov bl, 1
jmp 0x1000385d
push 0
lea eax, [ebp - 0xe7c]
xorps xmm0, xmm0
push eax
push 0x18
lea eax, [ebp - 0xe54]
movq qword [ebp - 0xe44], xmm0
push eax
push 0
push 0
push 0x74080
push dword [ebp - 0xe80]
movups xmmword [ebp - 0xe54], xmm0
call esi
test eax, eax
jne 0x1000350c
mov bl, 2
jmp 0x1000385d
mov cl, byte [ebp - 0xe70]
xorps xmm0, xmm0
mov al, cl
mov dword [ebp - 0xe3c], 0x200
and al, 1
mov dword [ebp - 0xe38], 0x10100
or al, 0xfa
mov byte [ebp - 0xe34], 0
shl al, 4
mov byte [ebp - 0xe33], al
mov al, byte [ebp - 0xe51]
shr al, cl
and al, 0x10
mov byte [ebp - 0xe31], 0
neg al
mov byte [ebp - 0xe30], cl
push 0x211
sbb al, al
mov dword [ebp - 0xe1f], 0
and al, 0xb5
add al, 0xec
mov byte [ebp - 0xe32], al
movups xmmword [ebp - 0xe2f], xmm0
call fcn.100bd8fa
add esp, 4
mov edi, eax
mov dword [ebp - 0xe88], edi
push 0x211
push 0
push edi
call fcn.100b7060
add esp, 0xc
lea eax, [ebp - 0xe7c]
push 0
push eax
push 0x211
push edi
push 0x21
lea eax, [ebp - 0xe3c]
push eax
push 0x7c088
push dword [ebp - 0xe80]
call esi
test eax, eax
jne 0x100035ca
mov bl, 3
jmp 0x10003850
lea edx, [edi + 0x10]
xor ecx, ecx
lea eax, [edx + 0x1fe]
lea esi, [ebp - 0xe18]
cmp esi, eax
ja 0x10003606
lea eax, [ebp - 0xa1c]
cmp eax, edx
jb 0x10003606
nop dword [eax]
movzx eax, word [edx + ecx*2]
mov dword [ebp + ecx*4 - 0xe18], eax
inc ecx
cmp ecx, 0x100
jl 0x100035f0
jmp 0x10003665
lea eax, [edx + 0x10]
nop dword [eax]
movq xmm1, qword [eax - 0x10]
lea eax, [eax + 0x20]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
movups xmmword [ebp + ecx*4 - 0xe18], xmm1
movq xmm1, qword [eax - 0x28]
punpcklwd xmm1, xmm0
movups xmmword [ebp + ecx*4 - 0xe08], xmm1
movq xmm1, qword [eax - 0x20]
punpcklwd xmm1, xmm0
movups xmmword [ebp + ecx*4 - 0xdf8], xmm1
movq xmm1, qword [eax - 0x18]
punpcklwd xmm1, xmm0
movups xmmword [ebp + ecx*4 - 0xde8], xmm1
add ecx, 0x10
cmp ecx, 0x100
jl 0x10003610
mov ecx, dword [ebp - 0xdf0]
mov esi, 0x13
mov eax, ecx
mov byte [ebp - 0x407], cl
mov ecx, dword [ebp - 0xdec]
shr eax, 8
mov byte [ebp - 0x408], al
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x406], al
mov byte [ebp - 0x405], cl
mov ecx, dword [ebp - 0xde8]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x404], al
mov byte [ebp - 0x403], cl
mov ecx, dword [ebp - 0xde4]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x402], al
mov byte [ebp - 0x401], cl
mov ecx, dword [ebp - 0xde0]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x400], al
mov byte [ebp - 0x3ff], cl
mov ecx, dword [ebp - 0xddc]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x3fe], al
mov byte [ebp - 0x3fd], cl
mov ecx, dword [ebp - 0xdd8]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x3fc], al
mov byte [ebp - 0x3fb], cl
mov ecx, dword [ebp - 0xdd4]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x3fa], al
mov byte [ebp - 0x3f9], cl
mov ecx, dword [ebp - 0xdd0]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x3f8], al
mov byte [ebp - 0x3f7], cl
mov ecx, dword [ebp - 0xdcc]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x3f6], al
mov byte [ebp - 0x3f5], cl
mov byte [ebp - 0x3f4], 0
nop word [eax + eax]
movsx eax, byte [ebp + esi - 0x408]
push eax
call fcn.100ba600
add esp, 4
test eax, eax
je 0x10003782
mov byte [ebp + esi - 0x408], 0
dec esi
test esi, esi
jg 0x10003760
xor edx, edx
mov esi, 0x1b
nop dword [eax]
mov ecx, dword [ebp + esi*4 - 0xe18]
mov edi, edx
mov eax, ecx
inc esi
shr eax, 8
mov byte [ebp + edx - 0xa18], al
mov byte [ebp + edx - 0xa17], cl
add edx, 2
cmp esi, 0x2e
jle 0x10003790
lea esi, [edi + 1]
mov byte [ebp + edi - 0xa16], 0
test esi, esi
jle 0x100037f2
nop dword [eax]
nop dword [eax + eax]
movsx eax, byte [ebp + esi - 0xa18]
push eax
call fcn.100ba600
add esp, 4
test eax, eax
je 0x100037f2
mov byte [ebp + esi - 0xa18], 0
dec esi
test esi, esi
jg 0x100037d0
lea ecx, [ebp - 0xa18]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003800
mov edi, dword [ebp - 0xe84]
sub ecx, edx
push ecx
lea edx, [ebp - 0xa18]
mov ecx, edi
call fcn.10004250
lea edx, [ebp - 0x408]
add esp, 4
lea esi, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x10003830
sub edx, esi
mov ecx, edi
push edx
lea edx, [ebp - 0x408]
call fcn.10004250
mov edi, dword [ebp - 0xe88]
add esp, 4
test edi, edi
je 0x1000385d
push edi
call fcn.100bd905
add esp, 4
push dword [ebp - 0xe80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b47d2
mov esp, ebp
pop ebp
ret