Function at 0x5ae440
Capabilities:
Get disk information
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x61be55
push eax
mov eax, 0x5634
mov dword fs:[0], esp
call fcn.00466c20
mov eax, dword [esp + 0x5644]
mov edx, dword [ecx + 0x118]
push ebx
push ebp
mov eax, dword [eax + 8]
push esi
test edx, edx
push edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], eax
je 0x5af853
mov ecx, dword [esp + 0x5658]
test ecx, ecx
je 0x5af853
test eax, eax
je 0x5af853
mov edx, dword [0x63599c]
mov ecx, dword [0x635998]
mov eax, dword [0x6359a0]
mov dword [esp + 0xdc], edx
push 0x12
mov dword [esp + 0xdc], ecx
mov ecx, dword [0x6359a4]
push 0
lea edx, [esp + 0xe0]
push 0
push edx
mov dword [esp + 0x28], 0
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
call dword [0x6a5a04]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x14], ebx
je 0x5af853
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x239]
mov byte [esp + 0x238], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x6c]
mov dword [esp + 0x68], 0x1c
rep stosd dword es:[edi], eax
lea eax, [esp + 0x68]
xor esi, esi
push eax
mov ebp, 1
push esi
push ebx
mov dword [esp + 0x54], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x3c], 0x104
mov dword [esp + 0x1c], esi
call dword [0x6a5a08]
test eax, eax
je 0x5ae833
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x238]
mov ebp, dword [esp + 0x24]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push edx
lea edi, [esp + 0x240]
push 0xf
push eax
mov dword [esp + 0x40], 0x104
mov dword [esp + 0x44], edi
call fcn.005abb70
add esp, 0x10
test eax, eax
jne 0x5ae639
mov eax, dword [esp + 0x30]
cmp eax, 0x104
jbe 0x5ae831
test esi, esi
je 0x5ae5e1
cmp ebp, eax
jb 0x5ae5d4
mov ecx, ebp
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x5ae616
push esi
call fcn.005ed483
mov eax, dword [esp + 0x34]
add esp, 4
push eax
call fcn.005ed45a
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x20], esi
je 0x5ae831
mov ecx, dword [esp + 0x30]
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x30]
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0x7c]
lea ecx, [esp + 0x30]
push ecx
push esi
mov edi, esi
push 0xf
push edx
mov dword [esp + 0x44], edi
call fcn.005abb70
add esp, 0x10
test eax, eax
je 0x5ae831
cmp byte [edi], 0
je 0x5ae80d
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], 0xffffffff
test eax, eax
mov dword [esp + 0x1c], 0
jbe 0x5ae80d
xor ebp, ebp
mov eax, dword [esp + 0x5654]
mov ecx, dword [eax + 4]
cmp dword [ecx + ebp + 4], 1
jne 0x5ae7aa
mov ebx, 1
xor esi, esi
mov dword [esp + 0x64], ebp
mov edx, dword [esp + 0x5654]
mov eax, ebx
shl ebx, 1
mov ecx, dword [edx + 4]
test dword [ecx + ebp + 8], eax
je 0x5ae78f
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x33e]
mov word [esp + 0x33c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x3c]
lea edx, [esi + 0x41]
test eax, eax
je 0x5ae78f
lea ecx, [esp + 0x33c]
test ecx, ecx
je 0x5ae78f
cmp dx, 0x41
jb 0x5ae78f
cmp dx, 0x5a
ja 0x5ae78f
cmp dx, 0x61
jb 0x5ae6f6
cmp dx, 0x7a
jbe 0x5ae78f
mov eax, dword [0x680268]
mov cx, word [0x68026c]
mov dword [esp + 0x3c], eax
mov word [esp + 0x3c], dx
lea edx, [esp + 0x33c]
push 0x104
lea eax, [esp + 0x40]
push edx
push eax
mov word [esp + 0x4c], cx
mov word [esp + 0x4e], 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
test eax, eax
je 0x5ae78f
mov word [esp + 0xe44], cx
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0xe46]
rep stosd dword es:[edi], eax
lea edx, [esp + 0xe44]
push 0x400
stosw word es:[edi], ax
mov eax, dword [esp + 0x38]
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [esp + 0xe44]
lea edx, [esp + 0x33c]
push ecx
push edx
call fcn.00466804
add esp, 8
test eax, eax
je 0x5ae79b
inc esi
cmp esi, 0x1a
jl 0x5ae680
jmp 0x5ae7a3
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], 0xffffffff
jne 0x5ae7cc
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
inc eax
add ebp, 0x55c
cmp eax, ecx
mov dword [esp + 0x1c], eax
jb 0x5ae660
cmp dword [esp + 0x28], 0xffffffff
je 0x5ae805
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ecx*8]
lea eax, [ecx + edx*2]
mov edx, dword [esp + 0x5654]
lea eax, [eax + eax*8]
lea ecx, [ecx + eax*2]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x7c]
lea ecx, [eax + ecx*4]
push ecx
push 0x5ad140
push edx
call fcn.005acf70
mov eax, dword [esp + 0x24]
add esp, 0xc
inc eax
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x68]
inc eax
push ecx
push eax
push ebx
mov dword [esp + 0x1c], eax
call dword [0x6a5a08]
test eax, eax
jne 0x5ae55c
mov ebp, dword [esp + 0x48]
jmp 0x5ae833
xor ebp, ebp
push ebx
call dword [0x6a5a0c]
test esi, esi
je 0x5ae847
push esi
call fcn.005ed483
add esp, 4
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
cmp eax, edx
je 0x5af870
test ebp, ebp
je 0x5af870
mov ecx, dword [0x6359ac]
mov eax, dword [0x6359a8]
mov edx, dword [0x6359b0]
mov dword [esp + 0xcc], ecx
mov ecx, dword [0x6359b8]
mov dword [esp + 0xc8], eax
mov eax, dword [0x6359b4]
mov dword [esp + 0xb8], ecx
mov ecx, dword [0x6359c4]
mov dword [esp + 0xd0], edx
mov edx, dword [0x6359bc]
mov dword [esp + 0xd4], eax
mov eax, dword [0x6359c0]
mov dword [esp + 0xc4], ecx
lea ecx, [esp + 0x110]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], eax
call fcn.005e65fe
lea ecx, [esp + 0x8c]
mov dword [esp + 0x564c], 0
call fcn.005e65fe
lea ecx, [esp + 0x124]
mov byte [esp + 0x564c], 1
call fcn.005e624e
lea ecx, [esp + 0xe8]
mov byte [esp + 0x564c], 2
call fcn.005e624e
lea ecx, [esp + 0xfc]
mov byte [esp + 0x564c], 3
call fcn.005e624e
lea edx, [esp + 0xfc]
lea eax, [esp + 0xe8]
push edx
lea ecx, [esp + 0x128]
push eax
lea edx, [esp + 0x94]
push ecx
lea eax, [esp + 0x11c]
xor ebp, ebp
push edx
push eax
mov esi, 4
mov byte [esp + 0x5660], 4
mov dword [esp + 0x2c], ebp
call fcn.005b24a0
add esp, 0x14
test eax, eax
je 0x5ae99b
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x14]
cmp eax, 2
jne 0x5ae99b
cmp dword [ecx + 8], esi
jne 0x5ae986
mov ebp, dword [esp + 0x118]
mov dword [esp + 0x18], ebp
cmp eax, 2
jne 0x5ae99b
cmp dword [ecx + 8], esi
je 0x5ae99b
mov ebp, dword [esp + 0xf0]
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x44]
xor esi, esi
test eax, eax
jbe 0x5af77e
mov ecx, dword [esp + 0x38]
jmp 0x5ae9b7
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp + 0x18]
lea eax, [esi + esi*4]
lea edx, [eax + eax*4]
lea eax, [esi + edx*4]
mov edx, dword [esp + 0x5658]
lea ebx, [edx + eax*8]
mov dword [esp + 0x20], ebx
mov eax, dword [ebx]
cmp eax, 2
je 0x5ae9e8
cmp eax, 3
je 0x5ae9f1
cmp eax, 4
je 0x5ae9e8
cmp eax, 5
jne 0x5af771
cmp eax, 3
jne 0x5aea7b
test ebp, ebp
je 0x5aea7b
xor edi, edi
test ebp, ebp
jle 0x5aea7b
mov eax, dword [ecx + 0x14]
cmp eax, 2
jne 0x5aea43
cmp dword [ecx + 8], 4
jne 0x5aea43
mov eax, dword [esp + 0x114]
lea edx, [esi + esi*8]
mov ecx, dword [eax + edi*4]
lea eax, [esi + edx*2]
push ecx
lea eax, [eax + eax*8]
lea edx, [esi + eax*2]
mov eax, dword [esp + 0x5658]
mov eax, dword [eax + 4]
lea eax, [eax + edx*4 + 0xc]
push eax
call fcn.00466c4f
add esp, 8
test eax, eax
jne 0x5aea4a
mov ecx, dword [esp + 0x38]
inc edi
cmp edi, ebp
jl 0x5ae9ff
jmp 0x5aea7b
mov ecx, dword [esp + 0x90]
lea edx, [esi + esi*8]
mov edi, dword [ecx + edi*4]
lea eax, [esi + edx*2]
mov edx, dword [esp + 0x5654]
push edi
lea eax, [eax + eax*8]
lea ecx, [esi + eax*2]
mov eax, dword [edx + 4]
lea ecx, [eax + ecx*4 + 0x37c]
push ecx
call fcn.00466936
add esp, 8
cmp dword [ebx], 4
je 0x5aeb16
mov ebx, dword [esp + 0x20]
lea edi, [ebx + 8]
push edi
call fcn.00467de7
lea ebp, [ebx + 0xf8]
push ebp
call fcn.00467de7
add ebx, 0x1e8
push ebx
call fcn.00467de7
add esp, 0xc
test edi, edi
je 0x5aeace
push edi
call fcn.00465c4f
add esp, 4
test eax, eax
jbe 0x5aeace
cmp word [edi], 0x20
jne 0x5aeac8
mov word [edi], 0x5f
add edi, 2
dec eax
jne 0x5aeabd
test ebp, ebp
je 0x5aeaf2
push ebp
call fcn.00465c4f
add esp, 4
test eax, eax
jbe 0x5aeaf2
mov ecx, ebp
cmp word [ecx], 0x20
jne 0x5aeaec
mov word [ecx], 0x5f
add ecx, 2
dec eax
jne 0x5aeae1
test ebx, ebx
je 0x5aeb16
push ebx
call fcn.00465c4f
add esp, 4
test eax, eax
jbe 0x5aeb16
mov ecx, ebx
cmp word [ecx], 0x20
jne 0x5aeb10
mov word [ecx], 0x5f
add ecx, 2
dec eax
jne 0x5aeb05
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
add eax, 0xfffffffe
cmp eax, 3
ja case.default.0x5aeb28
jmp dword [eax*4 + 0x5af874]
push 0x12
push 0
lea eax, [esp + 0xd0]
push 0
push eax
jmp 0x5aeb57
push 0x12
push 0
lea ecx, [esp + 0xc0]
push 0
push ecx
jmp 0x5aeb57
push 6
push 0
push 0
push 0
call dword [0x6a5a04]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x5af771
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x68]
xor ebp, ebp
rep stosd dword es:[edi], eax
mov dword [esp + 0x68], 0x1c
mov dword [esp + 0x48], ebp
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x68]
push edx
push eax
push ecx
call dword [0x6a5a08]
test eax, eax
je 0x5af705
mov edx, dword [esp + 0x20]
cmp dword [edx], 4
jne 0x5aef8f
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0xc46]
mov word [esp + 0xc44], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x139]
mov byte [esp + 0x138], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x28]
lea ecx, [esp + 0x138]
push eax
mov eax, dword [esp + 0x18]
push 0x100
push ecx
push ebp
lea edx, [esp + 0x78]
push 8
push edx
push eax
mov dword [esp + 0x44], 0x100
call dword [0x6a5a10]
test eax, eax
je 0x5af69f
lea edi, [esp + 0x138]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x5af69f
mov ecx, 0x1ff
lea edi, [esp + 0x4646]
mov word [esp + 0x4644], bp
push 0x400
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x4648]
lea edx, [esp + 0x13c]
push ecx
push 0xffffffffffffffff
push edx
push ebp
push ebp
stosw word es:[edi], ax
call ebx
lea eax, [esp + 0x4644]
lea ecx, [esp + 0xc44]
push eax
push ecx
call fcn.00466936
mov eax, dword [0x682534]
add esp, 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x564c], 6
call fcn.0048f4d0
lea edx, [esp + 0xc44]
lea eax, [esp + 0x24]
push edx
push str.SYSTEMCurrentControlSetControlClass_s
push eax
mov byte [esp + 0x5658], 7
call fcn.005e20b1
mov ecx, dword [esp + 0x30]
add esp, 0xc
push 0x20019
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x60]
call fcn.0048f5f0
test eax, eax
je 0x5aed26
lea edx, [esp + 0x84]
push str.Class
push edx
lea ecx, [esp + 0x5c]
call fcn.0048fc20
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x5650], 8
call fcn.005eced8
lea ecx, [esp + 0x84]
mov byte [esp + 0x564c], 7
call fcn.005ecd91
lea ecx, [esp + 0x54]
call fcn.0048f640
mov eax, dword [esp + 0x1c]
cmp dword [eax - 8], ebp
je 0x5aee30
push str.FloppyDisk
push eax
call fcn.00466804
add esp, 8
cmp eax, ebp
jne 0x5aee30
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x33e]
mov word [esp + 0x33c], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x645]
mov byte [esp + 0x644], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x28]
lea ecx, [esp + 0x644]
push eax
mov eax, dword [esp + 0x18]
push 0x100
push ecx
push ebp
lea edx, [esp + 0x78]
push 0xe
push edx
push eax
mov dword [esp + 0x44], 0x100
call dword [0x6a5a10]
test eax, eax
je 0x5aee71
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x1e46]
mov word [esp + 0x1e44], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1e44]
push 0x400
push ecx
lea edx, [esp + 0x64c]
push 0xffffffffffffffff
push edx
push ebp
push ebp
stosw word es:[edi], ax
call ebx
lea eax, [esp + 0x1e44]
lea ecx, [esp + 0x33c]
push eax
push ecx
call fcn.00466936
lea edx, [esi + esi*8]
add esp, 8
lea eax, [esi + edx*2]
mov edx, dword [esp + 0x5654]
lea eax, [eax + eax*8]
lea ecx, [esi + eax*2]
mov eax, dword [edx + 4]
xor edx, edx
mov ecx, dword [eax + ecx*4 + 8]
mov eax, dword [esp + 0x28]
dec ecx
mov dx, word [esp + eax*2 + 0x338]
sub edx, 0x30
cmp edx, ecx
je 0x5aee71
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x54]
inc eax
mov byte [esp + 0x564c], 6
mov dword [esp + 0x10], eax
call fcn.0048f570
lea ecx, [esp + 0x24]
mov byte [esp + 0x564c], 5
call fcn.005ecd91
lea ecx, [esp + 0x1c]
mov byte [esp + 0x564c], 4
call fcn.005ecd91
jmp 0x5af6a3
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0xa46]
mov word [esp + 0xa44], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x745]
mov byte [esp + 0x744], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x744]
push ecx
mov ecx, dword [esp + 0x18]
push 0x100
push edx
stosb byte es:[edi], al
push ebp
lea eax, [esp + 0x78]
push ebp
push eax
push ecx
mov dword [esp + 0x44], 0x100
call dword [0x6a5a10]
test eax, eax
je 0x5aef5c
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x3646]
mov word [esp + 0x3644], bp
rep stosd dword es:[edi], eax
lea edx, [esp + 0x3644]
push 0x400
stosw word es:[edi], ax
push edx
lea eax, [esp + 0x74c]
push 0xffffffffffffffff
push eax
push ebp
push ebp
call ebx
lea ecx, [esp + 0x3644]
lea edx, [esp + 0xa44]
push ecx
push edx
call fcn.00466936
lea eax, [esp + 0xa4c]
push eax
call fcn.00467de7
lea edx, [esi + esi*8]
lea ecx, [esp + 0xa50]
push ecx
lea eax, [esi + edx*2]
mov edx, dword [esp + 0x5664]
lea eax, [eax + eax*8]
lea ecx, [esi + eax*2]
mov eax, dword [edx + 4]
lea ecx, [eax + ecx*4 + 0xc]
push ecx
call fcn.00466936
add esp, 0x14
lea ecx, [esp + 0x54]
mov byte [esp + 0x564c], 6
call fcn.0048f570
lea ecx, [esp + 0x24]
mov byte [esp + 0x564c], 5
call fcn.005ecd91
lea ecx, [esp + 0x1c]
mov byte [esp + 0x564c], 4
call fcn.005ecd91
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x846]
mov word [esp + 0x844], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x545]
mov byte [esp + 0x544], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x68]
stosb byte es:[edi], al
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x548]
push 0x100
push eax
push ebp
push 1
push ecx
push edx
mov dword [esp + 0x6c], 0x100
call dword [0x6a5a10]
test eax, eax
je 0x5af04f
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x2646]
mov word [esp + 0x2644], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2644]
push 0x400
push eax
lea ecx, [esp + 0x54c]
push 0xffffffffffffffff
push ecx
push ebp
push ebp
call ebx
lea edx, [esp + 0x2644]
lea eax, [esp + 0x844]
push edx
push eax
call fcn.00466936
lea ecx, [esp + 0x84c]
push ecx
call fcn.00467de7
add esp, 0xc
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
cmp eax, 4
je 0x5af6af
cmp eax, 3
jne 0x5af666
mov eax, dword [0x682534]
mov dword [esp + 0x2c], eax
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x3e46]
mov word [esp + 0x3e44], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x1a45]
mov byte [esp + 0x1a44], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x1a44]
stosb byte es:[edi], al
mov eax, dword [esp + 0x7c]
push ecx
push edx
push 0xa
push eax
mov byte [esp + 0x565c], 9
mov dword [esp + 0xb0], 0x400
call fcn.005abb70
add esp, 0x10
test eax, eax
je 0x5af330
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x2e46]
mov word [esp + 0x2e44], bp
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2e44]
push 0x400
push ecx
lea edx, [esp + 0x1a4c]
push 0xffffffffffffffff
push edx
push ebp
push ebp
stosw word es:[edi], ax
call ebx
lea eax, [esp + 0x2e44]
lea ecx, [esp + 0x3e44]
push eax
push ecx
call fcn.00466936
add esp, 8
lea ecx, [esp + 0x3c]
call fcn.0048f4d0
mov edx, dword [0x682534]
mov dword [esp + 0x34], edx
lea eax, [esp + 0x844]
lea ecx, [esp + 0x34]
push eax
push str.SYSTEMCurrentControlSetEnum_s
push ecx
mov byte [esp + 0x5658], 0xb
call fcn.005e20b1
mov edx, dword [esp + 0x40]
add esp, 0xc
lea ecx, [esp + 0x3c]
push 0x20019
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0048f5f0
test eax, eax
je 0x5af30e
lea ecx, [esp + 0xa4]
call fcn.005e65fe
lea eax, [esp + 0xa4]
lea ecx, [esp + 0x3c]
push eax
mov byte [esp + 0x5650], 0xc
call fcn.00491360
test eax, eax
je 0x5af2f1
mov eax, dword [esp + 0xac]
xor edi, edi
cmp eax, ebp
jle 0x5af231
mov ecx, dword [esp + 0xa8]
push ebp
push str.Driver
lea edx, [esp + 0x54]
mov eax, dword [ecx + edi*4]
lea ecx, [esp + 0x44]
push eax
push edx
call fcn.0048fa90
mov eax, dword [esp + 0x4c]
cmp dword [eax - 8], ebp
je 0x5af1f8
lea ecx, [esp + 0x3e44]
push ecx
push eax
call fcn.00466804
add esp, 8
cmp eax, ebp
je 0x5af217
lea ecx, [esp + 0x4c]
mov byte [esp + 0x564c], 0xc
call fcn.005ecd91
mov eax, dword [esp + 0xac]
inc edi
cmp edi, eax
jl 0x5af1bb
jmp 0x5af22f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x564c], 0xc
call fcn.005ecd91
mov eax, dword [esp + 0xac]
cmp eax, ebp
je 0x5af2f1
cmp edi, eax
jge 0x5af2f1
mov edx, dword [esp + 0xa8]
shl edi, 2
mov eax, dword [edx + edi]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.005af890
add esp, 8
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x5650], 0xe
call fcn.005eced8
lea ecx, [esp + 0x88]
mov byte [esp + 0x564c], 0xc
call fcn.005ecd91
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x2c]
mov edi, dword [ecx + edi]
push edi
push edx
call fcn.0046638c
add esp, 8
cmp eax, ebp
je 0x5af2e8
push 0x66d62c
lea ecx, [esp + 0x30]
call fcn.005e22b8
push 0x66d62c
lea ecx, [esp + 0x30]
call fcn.005e21dc
mov eax, dword [esp + 0x2c]
lea ecx, [esi + esi*8]
push eax
lea eax, [esi + ecx*2]
mov ecx, dword [esp + 0x5658]
lea edx, [eax + eax*8]
lea eax, [esi + edx*2]
mov edx, dword [ecx + 4]
lea eax, [edx + eax*4 + 0x37c]
push eax
call fcn.00466936
add esp, 8
jmp 0x5af2f1
lea ecx, [esp + 0x2c]
call fcn.005ecd19
lea ecx, [esp + 0x3c]
call fcn.0048f640
lea ecx, [esp + 0xa4]
mov byte [esp + 0x564c], 0xb
call fcn.005e6631
lea ecx, [esp + 0x34]
mov byte [esp + 0x564c], 0xa
call fcn.005ecd91
lea ecx, [esp + 0x3c]
mov byte [esp + 0x564c], 9
call fcn.0048f570
mov ecx, dword [esp + 0x2c]
cmp dword [ecx - 8], ebp
jne 0x5af5fe
lea edx, [esp + 0x50]
lea eax, [esp + 0x60]
push edx
mov edx, dword [esp + 0x18]
push 0x100
push eax
push ebp
lea ecx, [esp + 0x78]
push 0x10
push ecx
push edx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x6c], 4
call dword [0x6a5a10]
test eax, eax
je 0x5af37f
mov ebx, dword [esp + 0x60]
neg ebx
sbb ebx, ebx
and ebx, 0x1c
add ebx, 0x16
jmp 0x5af384
mov ebx, 0x32
mov eax, dword [esp + 0x7c]
push ebp
lea ecx, [esp + 0x60]
push eax
push ecx
mov dword [esp + 0x68], ebp
call dword [0x6a5a14]
test eax, eax
jne 0x5af508
mov ecx, 0x1ff
lea edi, [esp + 0xe46]
mov word [esp + 0xe44], bp
mov byte [esp + 0x1644], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x1645]
lea edx, [esp + 0x64]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x5c]
push edx
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x1648]
mov dword [esp + 0x68], 0x400
push eax
push 2
push ecx
call fcn.005abb70
add esp, 0x10
test eax, eax
je 0x5af508
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x4e46]
mov word [esp + 0x4e44], bp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [esp + 0x1644]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x4e44]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x400
push edx
push 0xffffffffffffffff
lea eax, [esp + ecx + 0x1651]
push eax
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x4e44]
lea ecx, [esp + 0xe44]
push eax
push ecx
call fcn.00466936
lea edx, [esp + 0xe4c]
push edx
call fcn.00468b6a
mov edi, eax
add esp, 0xc
cmp edi, ebp
je 0x5af492
push edi
call fcn.00467de7
lea eax, [esp + 0xe48]
push edi
push eax
call fcn.00466936
push edi
call fcn.00467bd7
add esp, 0x10
lea ecx, [esp + 0xe44]
push str.PRIMARY
push ecx
call fcn.00466c4f
add esp, 8
cmp eax, ebp
je 0x5af4b0
or ebx, 1
jmp 0x5af508
lea edx, [esp + 0xe44]
push str.SECONDARY
push edx
call fcn.00466c4f
add esp, 8
cmp eax, ebp
je 0x5af4ce
or ebx, 2
jmp 0x5af508
lea eax, [esp + 0xe44]
push str.TERTIARY
push eax
call fcn.00466c4f
add esp, 8
cmp eax, ebp
je 0x5af4ec
or ebx, 4
jmp 0x5af508
lea ecx, [esp + 0xe44]
push str.QUATERNARY
push ecx
call fcn.00466c4f
add esp, 8
cmp eax, ebp
je 0x5af508
or ebx, 8
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x5af5fe
xor edi, edi
cmp eax, ebp
jle 0x5af5fe
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x14]
cmp eax, 2
jne 0x5af597
cmp dword [ecx + 8], 4
je 0x5af597
cmp dword [esp + 0x18], 1
jle 0x5af563
cmp dword [esp + 0x104], ebp
jle 0x5af555
mov edx, dword [esp + 0x100]
mov eax, dword [edx + edi*4]
mov edx, dword [esp + 0x20]
cmp eax, dword [edx + 4]
je 0x5af5a2
jmp 0x5af597
mov eax, dword [esp + 0xec]
cmp ebx, dword [eax + edi*4]
je 0x5af5cd
jmp 0x5af597
mov ecx, dword [esp + 0x90]
lea edx, [esi + esi*8]
mov eax, dword [ecx]
push eax
lea eax, [esi + edx*2]
mov edx, dword [esp + 0x5658]
lea eax, [eax + eax*8]
lea ecx, [esi + eax*2]
mov eax, dword [edx + 4]
lea ecx, [eax + ecx*4 + 0x37c]
push ecx
call fcn.00466936
mov ecx, dword [esp + 0x40]
add esp, 8
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x5af522
jmp 0x5af5fe
mov edx, dword [esp + 0x90]
lea eax, [esi + esi*8]
mov edi, dword [edx + edi*4]
lea eax, [esi + eax*2]
push edi
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x5658]
lea edx, [esi + ecx*2]
mov ecx, dword [eax + 4]
lea edx, [ecx + edx*4 + 0x37c]
push edx
jmp 0x5af5f6
mov eax, dword [esp + 0x90]
lea ecx, [esi + esi*8]
mov edi, dword [eax + edi*4]
lea eax, [esi + ecx*2]
mov ecx, dword [esp + 0x5654]
push edi
lea edx, [eax + eax*8]
lea eax, [esi + edx*2]
mov edx, dword [ecx + 4]
lea eax, [edx + eax*4 + 0x37c]
push eax
call fcn.00466936
add esp, 8
lea ecx, [esi + esi*8]
mov ebx, dword [esp + 0x5654]
lea eax, [esi + ecx*2]
lea edx, [eax + eax*8]
mov eax, dword [ebx + 4]
lea edi, [esi + edx*2]
shl edi, 2
lea ecx, [edi + eax + 0x37c]
push ecx
call fcn.00465c4f
add esp, 4
test eax, eax
jne 0x5af64f
cmp dword [esp + 0x18], 1
jne 0x5af64f
mov edx, dword [esp + 0x90]
mov eax, dword [edx]
push eax
mov eax, dword [ebx + 4]
lea ecx, [edi + eax + 0x37c]
push ecx
call fcn.00466936
add esp, 8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x564c], 4
call fcn.005ecd91
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, dword [esp + 0x20]
cmp dword [edx], 2
jne 0x5af6d7
lea eax, [esi + esi*8]
lea eax, [esi + eax*2]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x5654]
lea edx, [esi + ecx*2]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x7c]
lea edx, [ecx + edx*4]
push edx
push 0x5ad140
push eax
call fcn.005acf70
add esp, 0xc
mov dword [esp + 0x48], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x48], ebp
je 0x5aeb8f
jmp 0x5af705
lea edx, [esi + esi*8]
lea ecx, [esp + 0x844]
push ecx
lea eax, [esi + edx*2]
mov edx, dword [esp + 0x5658]
lea eax, [eax + eax*8]
lea ecx, [esi + eax*2]
mov eax, dword [edx + 4]
lea ecx, [eax + ecx*4 + 0x19c]
push ecx
jmp 0x5af6fd
lea eax, [esi + esi*8]
lea edx, [esp + 0x844]
push edx
lea eax, [esi + eax*2]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x5658]
lea edx, [esi + ecx*2]
mov ecx, dword [eax + 4]
lea edx, [ecx + edx*4 + 0x19c]
push edx
call fcn.00466936
add esp, 8
mov eax, dword [esp + 0x14]
push eax
call dword [0x6a5a0c]
mov ecx, dword [esp + 0x20]
cmp dword [ecx], 3
jne 0x5af771
lea edx, [esi + esi*8]
mov ecx, dword [esp + 0x5654]
lea eax, [esi + edx*2]
mov edx, dword [ecx + 4]
lea eax, [eax + eax*8]
lea edi, [esi + eax*2]
shl edi, 2
lea eax, [edi + edx + 0x37c]
push eax
call fcn.00465c4f
add esp, 4
test eax, eax
jne 0x5af771
cmp dword [esp + 0x18], 1
jne 0x5af771
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x5654]
mov eax, dword [ecx]
push eax
mov eax, dword [edx + 4]
lea ecx, [edi + eax + 0x37c]
push ecx
call fcn.00466936
add esp, 8
mov eax, dword [esp + 0x44]
inc esi
cmp esi, eax
jb 0x5ae9af
lea ecx, [esp + 0xfc]
mov byte [esp + 0x564c], 3
call fcn.005e6281
lea ecx, [esp + 0xe8]
mov byte [esp + 0x564c], 2
call fcn.005e6281
lea ecx, [esp + 0x124]
mov byte [esp + 0x564c], 1
call fcn.005e6281
lea ecx, [esp + 0x8c]
mov byte [esp + 0x564c], 0
call fcn.005e6631
lea ecx, [esp + 0x110]
mov dword [esp + 0x564c], 0xffffffff
call fcn.005e6631
mov eax, 1
jmp 0x5af855
lea ecx, [esp + 0xfc]
mov byte [esp + 0x564c], 3
call fcn.005e6281
lea ecx, [esp + 0xe8]
mov byte [esp + 0x564c], 2
call fcn.005e6281
lea ecx, [esp + 0x124]
mov byte [esp + 0x564c], 1
call fcn.005e6281
lea ecx, [esp + 0x8c]
mov byte [esp + 0x564c], 0
call fcn.005e6631
lea ecx, [esp + 0x110]
mov dword [esp + 0x564c], 0xffffffff
call fcn.005e6631
xor eax, eax
mov ecx, dword [esp + 0x5644]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5640
ret 8
mov eax, ebp
jmp 0x5af855