Function at 0x41a1a0
Capabilities:
Access peb ldr_data
Get disk information
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x478cd9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4a5eb0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a5eb0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
xor esi, esi
mov dword [esp + 0x14], esi
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov edi, ecx
mov ecx, 0x4a643c
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], ebp
call edx
add eax, 0x10
mov dword [ebp], eax
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], esi
push ecx
mov esi, 1
mov ecx, edi
mov dword [esp + 0x1c], esi
call fcn.00415e20
mov eax, dword [esp + 0x20]
push ecx
mov dword [esp + 0x4c], esi
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.004014f0
add esp, 4
lea edx, [esp + 0x28]
add eax, 0x10
push edx
mov ecx, edi
mov dword [esi], eax
call fcn.00419e20
mov eax, dword [0x482128]
mov ecx, dword [0x48212c]
mov esi, 0x41
mov byte [esp + 0x48], 2
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x18], esi
lea edx, [esp + 0x34]
push edx
mov word [esp + 0x38], si
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x41a2ed
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push esi
push eax
mov ecx, edi
call fcn.00415e20
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.00419e20
mov ecx, dword [eax]
or dword [esp + 0x14], 2
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x41a407
mov eax, dword [esp + 0x24]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41a2db
test dx, dx
je 0x41a2d7
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41a2db
add eax, 4
add ecx, 4
test dx, dx
jne 0x41a2b5
xor eax, eax
jmp 0x41a2e0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x41a2ed
mov bl, 1
jmp 0x41a2ef
xor bl, bl
test byte [esp + 0x14], 2
je 0x41a31b
mov eax, dword [esp + 0x1c]
and dword [esp + 0x14], 0xfffffffd
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a31b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41a375
mov eax, dword [ebp]
mov edi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x41a341
push esi
mov ecx, ebp
call fcn.00401e80
mov eax, dword [ebp]
mov cx, word [esp + 0x18]
mov word [eax + edi*2], cx
test esi, esi
jl 0x41a411
mov eax, dword [ebp]
cmp esi, dword [eax - 8]
jg 0x41a411
mov edi, dword [esp + 0x28]
mov dword [eax - 0xc], esi
mov edx, dword [ebp]
xor eax, eax
mov word [edx + esi*2], ax
mov esi, dword [esp + 0x18]
inc esi
mov dword [esp + 0x18], esi
cmp si, 0x5a
jbe 0x41a26a
mov ecx, dword [ebp]
push ecx
push str.CDeviceDetect::GetEntireDrives
push str._s__s
call fcn.00403170
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x48], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a3bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a3e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00475d76
add esp, 0x38
ret 8
push 0x80004005
call fcn.00401100
push 0x80070057
call fcn.00401100
int3