Function at 0x42e4d0
Capabilities:
Enumerate disk volumes
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x46e224
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x487550]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x487550]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x4d8], ebx
mov edi, ecx
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], ebx
call fcn.00433790
push 0x208
lea ecx, [esp + 0xc0]
push ebx
push ecx
mov dword [esp + 0x4e4], 1
call fcn.00452c80
add esp, 0xc
push 0x104
lea edx, [esp + 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42e611
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
lea edi, [ebx + 0x5c]
lea eax, [esp + 0xbc]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42e580
sub eax, edx
sar eax, 1
cmp word [esp + 0xbc], di
jne 0x42e5d8
cmp word [esp + 0xbe], di
jne 0x42e5d8
cmp word [esp + 0xc0], 0x3f
jne 0x42e5d8
cmp word [esp + 0xc2], di
jne 0x42e5d8
cmp word [esp + eax*2 + 0xba], di
jne 0x42e5d8
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xc0]
call fcn.0042e340
add esp, 4
jmp 0x42e5ee
push 0x208
lea ecx, [esp + 0xc0]
push ebx
push ecx
call fcn.00452c80
add esp, 0xc
push 0x104
lea edx, [esp + 0xc0]
push edx
push esi
call ebp
test eax, eax
jne 0x42e570
push esi
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov edi, dword [esp + 0x14]
xor eax, eax
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov word [edi + 4], ax
mov esi, dword [esp + 0x30]
mov ecx, esi
sub ecx, dword [esp + 0x2c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x18], ebx
je 0x42e753
mov dword [esp + 0x1c], ebx
lea esp, [esp]
sub esi, dword [esp + 0x2c]
mov eax, 0x92492493
imul esi
add edx, esi
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp dword [esp + 0x18], ecx
jb 0x42e682
call fcn.0044cae8
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
cmp dword [edx + eax + 0x18], 8
lea edi, [edx + eax]
jb 0x42e699
mov ecx, dword [edi + 4]
jmp 0x42e69c
lea ecx, [edi + 4]
call fcn.0042dea0
cmp edx, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
jl 0x42e735
jg 0x42e6bb
cmp eax, dword [esp + 0x3c]
jbe 0x42e735
push edi
mov ebx, str.ZhiXiPkg
lea esi, [esp + 0xa4]
call fcn.004059c0
add esp, 4
mov ecx, esi
push ecx
mov byte [esp + 0x4dc], 2
call fcn.0042ca30
add esp, 4
test al, al
je 0x42e711
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
mov dword [esp + 0x44], eax
push 0
mov eax, edi
mov dword [esp + 0x44], edx
call fcn.004042a0
mov ecx, esi
push ecx
call fcn.0042ccf0
add esp, 4
mov byte [esp + 0x4d8], 1
cmp dword [esp + 0xb8], 8
jb 0x42e733
mov edx, dword [esp + 0xa4]
push edx
call fcn.0044caf8
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x18]
add dword [esp + 0x1c], 0x1c
mov esi, dword [esp + 0x30]
inc eax
mov dword [esp + 0x18], eax
cmp eax, ebp
jb 0x42e660
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x14], ebx
jne 0x42e969
call fcn.0042d940
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.004042a0
mov esi, dword [esp + 0x30]
cmp dword [edi + 0x14], ebx
jne 0x42e969
push 0x206
lea ecx, [esp + 0x2ca]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x2d0], ax
call fcn.00452c80
add esp, 0xc
lea edx, [esp + 0x2c4]
push edx
push ebx
push ebx
push 0x24
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x42e965
xor eax, eax
mov word [esp + 0xa4], ax
mov ebp, 7
push 1
mov eax, 0x478e98
lea esi, [esp + 0xa4]
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], ebx
call fcn.00403ee0
mov byte [esp + 0x4d8], 3
xor ecx, ecx
lea eax, [esp + 0x2c4]
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42e807
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x2c8]
lea esi, [esp + 0x6c]
call fcn.00403ee0
lea edx, [esp + 0x50]
push edx
lea ecx, [esp + 0xa4]
mov edx, esi
mov byte [esp + 0x4dc], 4
call fcn.0042d330
add esp, 4
mov esi, 8
cmp dword [esp + 0x80], esi
jb 0x42e860
mov eax, dword [esp + 0x6c]
push eax
call fcn.0044caf8
add esp, 4
xor ecx, ecx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], cx
mov byte [esp + 0x4d8], 7
cmp dword [esp + 0xb8], esi
jb 0x42e893
mov edx, dword [esp + 0xa4]
push edx
call fcn.0044caf8
add esp, 4
mov ecx, dword [esp + 0x60]
sub ecx, dword [esp + 0x5c]
xor eax, eax
mov word [esp + 0xa4], ax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb4], ebx
je 0x42e922
cmp eax, ebx
ja 0x42e8d1
call fcn.0044cae8
mov ecx, dword [esp + 0x5c]
push ecx
mov ebx, 0x478e98
lea esi, [esp + 0x88]
call fcn.004059c0
add esp, 4
mov ebx, 8
push 0xffffffffffffffff
mov byte [esp + 0x4dc], bl
mov ecx, dword [esp + 0x18]
push 0
call fcn.004042a0
cmp dword [esp + 0x9c], ebx
jb 0x42e91c
mov edx, dword [esp + 0x88]
push edx
call fcn.0044caf8
add esp, 4
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x42e94c
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x60]
push ecx
call fcn.00418c50
mov edx, dword [esp + 0x60]
add esp, 4
push edx
call fcn.0044caf8
mov edi, dword [esp + 0x18]
add esp, 4
mov eax, dword [esp + 0x50]
push eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.0044caf8
add esp, 4
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x2c], ebx
je 0x42e9bb
mov eax, dword [esp + 0x2c]
mov edi, esi
cmp eax, esi
je 0x42e9ae
lea esi, [eax + 0x18]
lea esp, [esp]
cmp dword [esi], 8
jb 0x42e991
mov ecx, dword [esi - 0x14]
push ecx
call fcn.0044caf8
add esp, 4
xor edx, edx
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], dx
add esi, 0x1c
lea eax, [esi - 0x18]
cmp eax, edi
jne 0x42e980
mov eax, dword [esp + 0x2c]
push eax
call fcn.0044caf8
mov edi, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.0044caf8
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.0044c790
add esp, 0x4c8
ret