Function at 0x43be27
Capabilities:
Enumerate files on windows
Get disk information
Get file system object information

Disassembly:
mov eax, 0x4bb4
call fcn.00482140
push ebx
push ebp
mov ebp, dword [esp + 0x4bc0]
push esi
push edi
push 2
mov ebx, dword [ebp + 0x10]
push ebp
call fcn.0043b1be
xor esi, esi
cmp eax, 2
jne 0x43be64
cmp edx, esi
jne 0x43be64
push esi
push esi
push 0x101d
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x43be68
mov eax, dword [esp + 0x24]
push 1
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x34
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.00423330
add esp, 0xc
mov edi, 0x4bf268
cmp dword [esp + 0x4bcc], esi
cmovne edi, dword [esp + 0x4bcc]
push 0x5c
pop eax
cmp word [edi], ax
jne 0x43beb6
push eax
lea esi, [edi + 2]
push esi
call fcn.00427024
pop ecx
test eax, eax
pop ecx
push 0x5c
cmove edi, esi
xor esi, esi
pop eax
test edi, edi
je 0x43bf81
cmp word [edi], si
je 0x43bf81
push eax
push edi
call fcn.00427024
pop ecx
pop ecx
push edi
test eax, eax
jne 0x43beeb
lea eax, [ebx + 0x214]
push eax
call fcn.00497ff6
pop ecx
pop ecx
lea esi, [ebx + 0xc]
jmp 0x43bf89
lea esi, [ebx + 0xc]
mov dword [esp + 0x18], esi
call fcn.004185df
pop ecx
push 0x5c
pop ecx
cmp word [edi + eax*2 - 2], cx
jne 0x43bf21
push edi
push esi
call fcn.00497ff6
pop ecx
pop ecx
movzx ecx, word [esi]
cmp ecx, 0x61
lea eax, [ecx - 0x20]
movzx edx, ax
mov eax, ecx
cmovb edx, eax
mov word [esi], dx
jmp 0x43bf89
push 0x208
xor eax, eax
push eax
push esi
call fcn.00423330
push edi
call fcn.004185df
add esp, 0x10
test eax, eax
js 0x43bf8d
lea ecx, [edi + eax*2]
push 0x5c
mov dword [esp + 0x14], ecx
pop edx
cmp word [ecx], dx
je 0x43bf59
sub ecx, 2
sub eax, 1
mov dword [esp + 0x10], ecx
jns 0x43bf46
jmp 0x43bf89
lea eax, [eax*2 + 2]
push eax
push edi
push esi
call fcn.00426ab0
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
lea eax, [ebx + 0x214]
push eax
call fcn.00497ff6
add esp, 0x14
jmp 0x43bf0b
lea esi, [ebx + 0xc]
xor eax, eax
mov word [esi], ax
mov dword [esp + 0x14], esi
xor edi, edi
cmp word [esi], di
jne 0x43bf9e
push dword [ebp]
call fcn.0043e7d3
jmp 0x43bfa7
push esi
push dword [ebp]
call fcn.0043ebee
push edi
push edi
push 0x1009
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp word [esi], di
jne 0x43c1c7
test byte [ebx + 8], 4
jne 0x43c7f1
mov dword [esp + 0x28], 7
mov dword [esp + 0x2c], 0x10000
mov dword [esp + 0x3c], 0x4bf268
mov dword [esp + 0x30], edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
lea eax, [esp + 0x7b4]
push 0x4c1ea0
push eax
mov dword [esp + 0x18], edi
call fcn.00497ff6
xor eax, eax
pop ecx
pop ecx
mov esi, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov ecx, esi
inc eax
shl eax, cl
test edi, eax
je 0x43c11a
lea eax, [esi + 0x41]
mov dword [esp + 0x48], esi
mov word [esp + 0x7b4], ax
xor eax, eax
mov word [esp + 0x2f8], ax
lea eax, [esp + 0x714]
push str.Drive
push eax
call fcn.00497ff6
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea eax, [esp + 0x508]
pop ecx
pop ecx
push 0x4001
push 0x2b4
push eax
xor eax, eax
push eax
lea eax, [esp + 0x7c4]
push eax
call edi
mov eax, dword [esp + 0x504]
push 0x200
mov dword [esp + 0x48], eax
lea eax, [esp + 0x504]
push 0x2b4
push eax
xor eax, eax
push eax
lea eax, [esp + 0x7c4]
push eax
call edi
lea eax, [esp + 0x50c]
push eax
lea eax, [esp + 0x2fc]
push eax
call fcn.00497ff6
pop ecx
pop ecx
lea eax, [esp + 0x28]
push eax
xor eax, eax
push eax
push 0x104d
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov dword [esp + 0x18], eax
mov edi, ecx
cmp dword [ebx + 0x2220], ecx
jle 0x43c1be
mov esi, eax
cmp byte [ebx + edi + 0x2224], 2
jne 0x43c109
lea eax, [esp + 0x2f8]
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], eax
lea eax, [esp + 0x5c]
push eax
push esi
push 0x1074
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
inc edi
cmp edi, dword [ebx + 0x2220]
jl 0x43c0dc
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
xor ecx, ecx
inc esi
mov dword [esp + 0x14], esi
cmp esi, 0x1f
jle 0x43c00e
cmp dword [0x501300], 0
je 0x43c7ef
test dword [ebx + 8], 0x200
jne 0x43c7ef
mov eax, dword [0x5067ec]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
push eax
push ecx
push 0x104d
push dword [ebp]
mov dword [esp + 0x4c], 0x4bf268
mov dword [esp + 0x58], 0xfd
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
xor eax, eax
mov esi, eax
cmp dword [ebx + 0x2220], eax
jle 0x43c7ef
cmp byte [ebx + esi + 0x2224], 2
jne 0x43c1b0
lea eax, [esp + 0x5c]
mov dword [esp + 0x64], esi
push eax
push edi
push 0x1074
push dword [ebp]
mov dword [esp + 0x80], 0x5055a0
call dword [sym.imp.USER32.dll_SendMessageW]
inc esi
cmp esi, dword [ebx + 0x2220]
jl 0x43c183
jmp 0x43c7ef
mov edi, dword [esp + 0x10]
jmp 0x43c11c
test byte [ebx + 8], 2
jne 0x43c2d2
mov eax, dword [0x5067e8]
push 0x5c
mov dword [esp + 0x48], eax
pop eax
push eax
push eax
push esi
mov dword [esp + 0x34], 7
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], 0x4bf268
call fcn.00427024
pop ecx
pop ecx
add eax, 2
push eax
call fcn.00427024
neg eax
pop ecx
sbb eax, eax
neg eax
add eax, 0xfa
pop ecx
mov dword [esp + 0x48], eax
cmp dword [0x501300], edi
je 0x43c272
test dword [ebx + 8], 0x200
jne 0x43c272
push 0x5057a8
call fcn.004185df
push eax
push 0x5057a8
push esi
call fcn.00419ce3
add esp, 0x10
test eax, eax
jne 0x43c272
push 0x5c
pop eax
push eax
push 0x5057a8
call fcn.004185df
add eax, 6
pop ecx
lea eax, [ebx + eax*2]
push eax
call fcn.00427024
pop ecx
pop ecx
mov ecx, dword [esp + 0x48]
test eax, eax
mov eax, 0xfa
cmove ecx, eax
mov dword [esp + 0x48], ecx
lea eax, [esp + 0x28]
push eax
push edi
push 0x104d
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x18], eax
xor eax, eax
cmp dword [ebx + 0x2220], eax
jle 0x43c2d2
mov esi, dword [esp + 0x18]
cmp byte [ebx + edi + 0x2224], 2
jne 0x43c2c5
lea eax, [esp + 0x5c]
mov dword [esp + 0x64], edi
push eax
push esi
push 0x1074
push dword [ebp]
mov dword [esp + 0x80], 0x4c1eb4
call dword [sym.imp.USER32.dll_SendMessageW]
inc edi
cmp edi, dword [ebx + 0x2220]
jl 0x43c298
mov esi, dword [esp + 0x14]
test byte [ebx + 8], 4
jne 0x43c4de
lea eax, [esp + 0x2f8]
push esi
push eax
call fcn.00497ff6
lea eax, [esp + 0x300]
push 0x4c1ebc
push eax
call fcn.00498018
add esp, 0x10
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x2fc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [esp + 0x18], edi
cmp edi, 0xffffffff
je 0x43c4de
push 7
pop eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0xffff
mov dword [esp + 0x3c], 0x4bf268
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0xfc
test byte [esp + 0xa8], 0x10
je 0x43c4bc
lea eax, [esp + 0xd4]
push 0x4bc248
push eax
call fcn.00498049
pop ecx
pop ecx
test eax, eax
je 0x43c4bc
lea eax, [esp + 0xd4]
push 0x4c1eb4
push eax
call fcn.00498049
pop ecx
pop ecx
test eax, eax
je 0x43c4bc
mov eax, dword [0x5067e8]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
push eax
xor eax, eax
push eax
push 0x104d
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov esi, eax
mov edi, ecx
cmp dword [ebx + 0x2220], ecx
jle 0x43c4b8
movzx eax, byte [ebx + edi + 0x2224]
dec eax
sub eax, 1
je 0x43c486
sub eax, 3
je 0x43c411
sub eax, 1
je 0x43c408
sub eax, 1
je 0x43c3ff
sub eax, 1
jne 0x43c4ab
lea eax, [esp + 0xb4]
push eax
push edi
push esi
push dword [ebp]
call fcn.0043c83b
jmp 0x43c4a9
lea eax, [esp + 0xbc]
jmp 0x43c3ef
lea eax, [esp + 0xac]
jmp 0x43c3ef
push 0xb
push ecx
lea eax, [esp + 0x98]
push eax
call fcn.00423330
mov edx, str.RHSDANTCOE
mov ecx, 0x5012d4
add esp, 0xc
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0xa8]
test dword [ecx], eax
je 0x43c467
lea eax, [esp + 0x90]
push eax
call fcn.004185df
mov edx, dword [esp + 0x20]
pop ecx
lea ecx, [esp + 0x90]
lea ecx, [ecx + eax*2]
mov ax, word [edx]
mov word [ecx], ax
mov ecx, dword [esp + 0x10]
add ecx, 4
add edx, 2
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edx
cmp ecx, 0x5012f8
jle 0x43c436
lea eax, [esp + 0x90]
jmp 0x43c48d
lea eax, [esp + 0xd4]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x5c]
push eax
push esi
push 0x1074
push dword [ebp]
mov dword [esp + 0x74], edi
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
inc edi
cmp edi, dword [ebx + 0x2220]
jl 0x43c3be
mov edi, dword [esp + 0x18]
lea eax, [esp + 0xa8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43c347
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, dword [esp + 0x14]
test byte [ebx + 8], 1
jne 0x43c7e4
lea eax, [esp + 0x29bc]
push eax
lea eax, [ebx + 0x214]
push eax
call fcn.0043ed40
push 0x507110
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x2f8]
push esi
push eax
call fcn.00497ff6
lea eax, [esp + 0x300]
push 0x4c1ebc
push eax
call fcn.00498018
add esp, 0x10
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x2fc]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x43c7e4
xor eax, eax
mov dword [esp + 0x28], 7
push 0x2b4
push eax
lea eax, [esp + 0x508]
mov dword [esp + 0x34], 0xffff
push eax
mov dword [esp + 0x48], 0x4bf268
mov dword [esp + 0x50], 0xa
mov dword [esp + 0x54], 0xff
call fcn.00423330
mov edi, dword [esp + 0x1c]
add esp, 0xc
test byte [esp + 0xa8], 0x10
jne 0x43c7c6
lea eax, [esp + 0x29bc]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.0043eca0
test eax, eax
je 0x43c7c6
lea eax, [esp + 0x2f8]
push esi
push eax
call fcn.00497ff6
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x304]
push eax
call fcn.00498018
add esp, 0x10
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2fc]
push eax
call fcn.0043e853
mov dword [esp + 0x44], eax
lea eax, [esp + 0x28]
push eax
xor eax, eax
push eax
push 0x104d
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
mov dword [esp + 0x18], eax
mov edi, edx
cmp dword [ebx + 0x2220], edx
jle 0x43c7c2
mov esi, eax
movzx eax, byte [ebx + edi + 0x2224]
dec eax
sub eax, 1
je 0x43c78c
sub eax, 1
je 0x43c70a
sub eax, 1
je 0x43c701
sub eax, 1
je 0x43c689
sub eax, 1
je 0x43c680
sub eax, 1
je 0x43c677
sub eax, 1
jne 0x43c7b1
lea eax, [esp + 0xb4]
push eax
push edi
push esi
push dword [ebp]
call fcn.0043c83b
jmp 0x43c7af
lea eax, [esp + 0xbc]
jmp 0x43c667
lea eax, [esp + 0xac]
jmp 0x43c667
push 0xb
push edx
lea eax, [esp + 0x98]
push eax
call fcn.00423330
mov edx, str.RHSDANTCOE
mov ecx, 0x5012d4
add esp, 0xc
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0xa8]
test dword [ecx], eax
je 0x43c6df
lea eax, [esp + 0x90]
push eax
call fcn.004185df
mov edx, dword [esp + 0x20]
pop ecx
lea ecx, [esp + 0x90]
lea ecx, [ecx + eax*2]
mov ax, word [edx]
mov word [ecx], ax
mov ecx, dword [esp + 0x18]
add ecx, 4
add edx, 2
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edx
cmp ecx, 0x5012f8
jle 0x43c6ae
lea eax, [esp + 0x90]
jmp 0x43c793
mov eax, dword [esp + 0x24]
jmp 0x43c793
mov ecx, dword [esp + 0xc4]
test ecx, ecx
je 0x43c738
xor eax, eax
add eax, dword [esp + 0xc8]
adc ecx, edx
shrd eax, ecx, 0xa
shr ecx, 0xa
push ecx
push eax
lea eax, [esp + 0x300]
push eax
call fcn.00481534
jmp 0x43c76f
mov ecx, dword [esp + 0xc8]
lea eax, [ecx - 1]
cmp eax, 0x3ffffffe
ja 0x43c756
add ecx, 0x3ff
mov dword [esp + 0xc8], ecx
shr ecx, 0xa
lea eax, [esp + 0x2f8]
push ecx
push 0x4c1ec4
push eax
call fcn.0043cf54
add esp, 0xc
lea eax, [esp + 0x2f8]
push 0x4c1ecc
push eax
call fcn.00498018
pop ecx
pop ecx
lea eax, [esp + 0x2f8]
jmp 0x43c793
lea eax, [esp + 0xd4]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x5c]
push eax
push esi
push 0x1074
push dword [ebp]
mov dword [esp + 0x74], edi
call dword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
inc edi
cmp edi, dword [ebx + 0x2220]
jl 0x43c624
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
lea eax, [esp + 0xa8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43c591
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x507110
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edi, edi
cmp dword [ebx + 0x22ec], edi
je 0x43c7ff
push ebx
call fcn.0043c8fb
push 2
push ebp
call fcn.0043b1be
cmp eax, 2
jne 0x43c827
cmp edx, edi
jne 0x43c827
mov eax, dword [esp + 0x20]
movzx eax, ax
push eax
push edi
push 0x101e
push dword [ebp]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4bb4
ret 8