Function at 0x4e3855
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x597940
mov eax, dword fs:[0]
push eax
mov eax, 0x4ae8
call fcn.0053c070
mov eax, dword [0x6071d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4a48], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x4a3c], 0
mov byte [ebp - 0x4a24], 1
mov byte [ebp - 0x4a28], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4a3c], 0
mov dword [ebp - 0x4a40], 5
mov dword [ebp - 0x4a30], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4a30], 0
mov dword [ebp - 0x4a34], 5
mov dword [ebp - 0x4a88], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4a88], 0
mov dword [ebp - 0x4a8c], 5
push 0x1e
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
xor eax, eax
mov dword [ebp - 0x288], 7
mov dword [ebp - 0x28c], 0
mov word [ebp - 0x29c], ax
cmp word [ebp - 0x4c], ax
jne 0x4e32f6
xor ecx, ecx
jmp 0x4e330f
lea ecx, [ebp - 0x4c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e3300
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x29c]
call fcn.004a96a0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x28c]
cmp ecx, 3
jb 0x4e3354
cmp dword [ebp - 0x288], 8
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x28c], 3
cmovae eax, dword [ebp - 0x29c]
xor ecx, ecx
mov word [eax + 6], cx
jmp 0x4e3369
mov eax, 3
sub eax, ecx
lea ecx, [ebp - 0x29c]
push 0
push eax
call fcn.004a97a0
push 0
push 0
push 3
push 0
push 3
push 0
push str..VeraCrypt
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x4ae8], ebx
cmp ebx, 0xffffffff
je 0x4e3a7d
push 0
lea eax, [ebp - 0x4a04]
mov dword [ebp - 0x4a04], 0
push eax
push 0x5e
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x222048
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4e3a7d
mov dword [ebp - 0x49f4], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x49f4], 0
mov dword [ebp - 0x49f8], 5
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x49f0]
mov dword [ebp - 0x49e8], 0
push str.physical
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x49e8], 0
mov dword [ebp - 0x49ec], 5
call fcn.004ad7b0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x26c]
push 4
xor eax, eax
mov dword [ebp - 0x258], 7
push 0x5e0c4c
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x49f0]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e349f
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x49f0]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 5
lea eax, [ebp - 0x29c]
cmp dword [ebp - 0x288], 8
lea ecx, [ebp - 0x49f0]
mov dword [ebp - 0x49e8], 0
cmovae eax, dword [ebp - 0x29c]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x49e8], 0
mov dword [ebp - 0x49ec], 5
call fcn.004ad7b0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x26c]
push 4
xor eax, eax
mov dword [ebp - 0x258], 7
push str.path
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x49f0]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e357d
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x49f0]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
lea ecx, [ebp - 0x314]
mov byte [ebp - 4], 5
call fcn.004e30e0
mov dword [ebp - 0x49e8], 0
lea ecx, [ebp - 0x49f0]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov dword [ebp - 0x49ec], 5
mov byte [ebp - 0x49e8], 0
cmp eax, 2
je 0x4e394a
test eax, eax
jne 0x4e3685
push 0x5e2834
call fcn.004ad7b0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x26c]
push 5
xor eax, eax
mov dword [ebp - 0x258], 7
push str.state
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x49f0]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e3667
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x49f0]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
jmp 0x4e372b
push str.partial
call fcn.004ad7b0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x26c]
push 5
xor eax, eax
mov dword [ebp - 0x258], 7
push str.state
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x49f0]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e370b
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x49f0]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 0x4a24], 0
push 0
lea eax, [ebp - 0x4a04]
mov byte [ebp - 4], 5
push eax
push 0x2be
lea eax, [ebp - 0x49e4]
mov dword [ebp - 0x4a04], 0
push eax
push 0
push 0
push 0x222058
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4e393e
mov ecx, dword [ebp - 0x47cc]
call fcn.004e3170
mov dword [ebp - 0x49e8], 0
lea ecx, [ebp - 0x49f0]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x49e8], 0
mov dword [ebp - 0x49ec], 5
call fcn.004ad7b0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x26c]
push 9
xor eax, eax
mov dword [ebp - 0x258], 7
push str.algorithm
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x49f0]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e381e
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x49f0]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x47c4]
dec eax
cmp eax, 4
ja case.default.0x4e3847
jmp dword [eax*4 + 0x4e4c50]
mov esi, 0x200
jmp 0x4e3865
mov esi, 0x100
jmp 0x4e3865
mov esi, 0xa0
jmp 0x4e3865
xor esi, esi
mov dword [ebp - 0x4a0c], 0
lea ecx, [ebp - 0x4a14]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4a0c], 0
mov dword [ebp - 0x4a10], 5
call fcn.004ab230
mov dword [ebp - 0x4a0c], esi
mov dword [ebp - 0x4a10], 1
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x26c]
push 8
xor eax, eax
mov dword [ebp - 0x258], 7
push str.strength
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4a14]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e3921
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x4a14]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 5
mov byte [ebp - 0x4a28], 1
jmp 0x4e39f4
push str.unencrypted
mov byte [ebp - 0x4a24], 0
call fcn.004ad7b0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x26c]
push 5
xor eax, eax
mov dword [ebp - 0x258], 7
push str.state
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x49f0]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e39d7
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x49f0]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 5
cmp dword [ebp - 0x4a34], 3
je 0x4e3a27
lea eax, [ebp - 0x4a08]
mov dword [ebp - 0x4a08], 3
push eax
mov eax, dword [ebp - 0x4a38]
mov esi, dword [eax + 0x48]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x4a38]
call esi
mov esi, dword [ebp - 0x4a30]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x4e3a3d
push ecx
mov ecx, esi
call fcn.004b0930
mov ecx, dword [esi + 4]
mov dword [ebp - 0x4a2c], ecx
mov dword [ebp - 0x4a08], ecx
mov byte [ebp - 4], 0x1b
test ecx, ecx
je 0x4e3a60
lea eax, [ebp - 0x49fc]
push eax
call fcn.004aa150
add dword [esi + 4], 0xc
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x49fc]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
xor eax, eax
mov dword [ebp - 0x2a0], 7
mov dword [ebp - 0x2a4], 0
mov word [ebp - 0x2b4], ax
mov dword [ebp - 0x49f0], eax
mov dword [ebp - 0x49ec], eax
mov dword [ebp - 0x49e8], eax
mov byte [ebp - 4], 0x1e
call fcn.004e4c80
lea eax, [ebp - 0x4a2c]
push eax
push 1
push 0x2710
lea eax, [ebp - 0x2b4]
push eax
push str.Get_Volume
call fcn.004c8740
test eax, eax
js 0x4e3cc2
mov dword [ebp - 0x4a20], 0
mov dword [ebp - 0x4a1c], 0
mov dword [ebp - 0x4a18], 0
push str._n__A_Za_z__.___Nn__Tt__Ff__Ss__Ff__Aa__Tt_32_Uu_nknown_.___Ff_ixed_.__n
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 0x1f
call fcn.004a94b0
mov byte [ebp - 4], 0x20
lea edx, [ebp - 0x284]
cmp dword [ebp - 0x270], 8
lea eax, [ebp - 0x4a20]
lea ecx, [ebp - 0x2b4]
cmovae edx, dword [ebp - 0x284]
cmp dword [ebp - 0x2a0], 8
push eax
cmovae ecx, dword [ebp - 0x2b4]
call fcn.004b47e0
mov esi, dword [ebp - 0x4a1c]
add esp, 4
mov ebx, dword [ebp - 0x4a20]
test eax, eax
js 0x4e3c4c
mov ecx, esi
mov eax, 0x2aaaaaab
sub ecx, ebx
xor edi, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x4a08], eax
je 0x4e3c4c
mov eax, ebx
mov dword [ebp - 0x4a04], ebx
nop dword [eax + eax]
push 0x5e36a4
mov edx, eax
lea ecx, [ebp - 0x26c]
call fcn.004c50c0
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x29c]
cmp dword [ebp - 0x288], 8
lea ecx, [ebp - 0x26c]
mov esi, dword [ebp - 0x258]
cmovae eax, dword [ebp - 0x29c]
cmp esi, 8
push dword [ebp - 0x28c]
mov ebx, dword [ebp - 0x26c]
cmovae ecx, ebx
mov edx, dword [ebp - 0x25c]
push eax
call fcn.004af3c0
add esp, 0xc
test eax, eax
je 0x4e3c09
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x49f0]
call fcn.004c9fe0
mov esi, dword [ebp - 0x258]
mov ebx, dword [ebp - 0x26c]
mov byte [ebp - 4], 0x20
cmp esi, 8
jb 0x4e3c22
lea eax, [esi + 1]
push eax
push ebx
lea ecx, [ebp - 0x26c]
call fcn.004a9d40
mov eax, dword [ebp - 0x4a04]
add edi, 3
add eax, 0x48
mov dword [ebp - 0x4a04], eax
cmp edi, dword [ebp - 0x4a08]
jb 0x4e3b90
mov ebx, dword [ebp - 0x4a20]
mov esi, dword [ebp - 0x4a1c]
mov eax, dword [ebp - 0x270]
cmp eax, 8
jb 0x4e3c6a
inc eax
lea ecx, [ebp - 0x284]
push eax
push dword [ebp - 0x284]
call fcn.004a9d40
xor eax, eax
mov dword [ebp - 0x270], 7
mov dword [ebp - 0x274], 0
mov word [ebp - 0x284], ax
mov byte [ebp - 4], 0x1e
test ebx, ebx
je 0x4e3cc2
push dword [ebp - 0x4a48]
mov edx, esi
push ecx
mov ecx, ebx
call fcn.004b1ee0
mov ecx, dword [ebp - 0x4a18]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
call fcn.004afe80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
test esi, esi
je 0x4e4ac4
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0053ba01
mov edi, eax
add esp, 4
mov dword [ebp - 0x4a2c], edi
test edi, edi
je 0x4e4ac4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ecx, edi
mov ebx, edi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e3d10
sub ecx, edx
sar ecx, 1
je 0x4e4abb
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4e4a80
push 0x104
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x4e4a80
mov dword [ebp - 0x49f4], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x49f4], 0
mov dword [ebp - 0x49f8], 5
mov byte [ebp - 4], 0x22
movzx eax, word [ebx]
push eax
call fcn.0057aac0
xor ecx, ecx
mov word [ebx], ax
add esp, 4
mov dword [ebp - 0x270], 7
mov dword [ebp - 0x274], 0
mov word [ebp - 0x284], cx
test ax, ax
je 0x4e3dbf
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e3db0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x284]
call fcn.004a96a0
mov byte [ebp - 4], 0x23
lea eax, [ebp - 0x29c]
cmp dword [ebp - 0x288], 8
lea ecx, [ebp - 0x284]
mov esi, dword [ebp - 0x270]
cmovae eax, dword [ebp - 0x29c]
cmp esi, 8
push dword [ebp - 0x28c]
mov edi, dword [ebp - 0x284]
cmovae ecx, edi
mov edx, dword [ebp - 0x274]
push eax
call fcn.004af3c0
add esp, 8
test eax, eax
je 0x4e4a58
cmp esi, 8
mov dword [ebp - 0x4ad0], 0
lea eax, [ebp - 0x284]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
cmovae eax, edi
mov byte [ebp - 0x4ad0], 0
push eax
lea ecx, [ebp - 0x4ad8]
mov dword [ebp - 0x4ad4], 5
call fcn.004ad7b0
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x26c]
push 4
xor eax, eax
mov dword [ebp - 0x258], 7
push str.path
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4ad8]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e3ed2
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0x4ad8]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x23
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x49ec]
xor edi, edi
mov esi, dword [ebp - 0x49f0]
sub ecx, esi
imul ecx
mov byte [ebp - 0x49fd], 1
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4e3f7f
nop dword [eax]
cmp dword [esi + 0x14], 8
jb 0x4e3f2a
mov eax, dword [esi]
jmp 0x4e3f2c
mov eax, esi
cmp dword [ebp - 0x270], 8
lea ecx, [ebp - 0x284]
push dword [esi + 0x10]
cmovae ecx, dword [ebp - 0x284]
mov edx, dword [ebp - 0x274]
push eax
call fcn.004af3c0
add esp, 8
test eax, eax
je 0x4e425c
mov ecx, dword [ebp - 0x49ec]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x49f0]
inc edi
imul ecx
add esi, 0x18
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x4e3f20
mov al, byte [ebp - 0x49fd]
test al, al
je 0x4e4876
movzx eax, word [ebx]
mov esi, dword [ebp - 0x4ae8]
sub eax, 0x41
push 0
mov dword [ebp - 0x49e4], eax
lea eax, [ebp - 0x4a04]
push eax
push 0x2be
lea eax, [ebp - 0x49e4]
mov dword [ebp - 0x4a04], 0
push eax
push 0x2be
push eax
push 0x22201c
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4e435b
mov dword [ebp - 0x4ac4], 0
lea ecx, [ebp - 0x4acc]
push str.physical
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4ac4], 0
mov dword [ebp - 0x4ac8], 5
call fcn.004ad7b0
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0x26c]
push 4
xor eax, eax
mov dword [ebp - 0x258], 7
push 0x5e0c4c
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4acc]
mov byte [ebp - 4], 0x28
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e4089
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x4acc]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x4ac0]
mov dword [ebp - 0x4ab8], 0
push 0x5e2834
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4ab8], 0
mov dword [ebp - 0x4abc], 5
call fcn.004ad7b0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x26c]
push 5
xor eax, eax
mov dword [ebp - 0x258], 7
push str.state
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4ac0]
mov byte [ebp - 4], 0x2b
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e4157
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0x4ac0]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x47cc]
call fcn.004e3170
mov dword [ebp - 0x4aac], 0
lea ecx, [ebp - 0x4ab4]
push eax
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4aac], 0
mov dword [ebp - 0x4ab0], 5
call fcn.004ad7b0
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x26c]
push 9
xor eax, eax
mov dword [ebp - 0x258], 7
push str.algorithm
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4ab4]
mov byte [ebp - 4], 0x2e
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e422c
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0x4ab4]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x23
mov eax, dword [ebp - 0x47c4]
dec eax
cmp eax, 4
ja case.default.0x4e4255
jmp dword [eax*4 + 0x4e4c64]
xor al, al
jmp 0x4e3f85
mov esi, 0x200
jmp 0x4e427a
mov esi, 0x100
jmp 0x4e427a
mov esi, 0xa0
jmp 0x4e427a
xor esi, esi
mov dword [ebp - 0x4a0c], 0
lea ecx, [ebp - 0x4a14]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4a0c], 0
mov dword [ebp - 0x4a10], 5
call fcn.004ab230
mov dword [ebp - 0x4a0c], esi
mov dword [ebp - 0x4a10], 1
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x26c]
push 8
xor eax, eax
mov dword [ebp - 0x258], 7
push str.strength
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4a14]
mov byte [ebp - 4], 0x31
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e4336
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x32
lea ecx, [ebp - 0x4a14]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 0x4a28], 1
jmp 0x4e4a42
push 0
lea eax, [ebp - 0x4a04]
push eax
push 0x4410
lea eax, [ebp - 0x4724]
push eax
push 0
push 0
push 0x222018
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4e452c
mov dword [ebp - 0x4adc], 0
lea ecx, [ebp - 0x4ae4]
push str.virtual
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4adc], 0
mov dword [ebp - 0x4ae0], 5
call fcn.004ad7b0
mov byte [ebp - 4], 0x33
lea ecx, [ebp - 0x26c]
push 4
xor eax, eax
mov dword [ebp - 0x258], 7
push 0x5e0c4c
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4ae4]
mov byte [ebp - 4], 0x34
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e4439
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x35
lea ecx, [ebp - 0x4ae4]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x4a54]
mov dword [ebp - 0x4a4c], 0
push 0x5e2834
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4a4c], 0
mov dword [ebp - 0x4a50], 5
call fcn.004ad7b0
mov byte [ebp - 4], 0x36
lea ecx, [ebp - 0x26c]
push 5
xor eax, eax
mov dword [ebp - 0x258], 7
push str.state
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4a54]
mov byte [ebp - 4], 0x37
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e4507
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x4a54]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 0x4a28], 1
jmp 0x4e4a42
mov dword [ebp - 0x4a58], 0
lea ecx, [ebp - 0x4a60]
push str.physical
mov byte [ebp - 0x4a24], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4a58], 0
mov dword [ebp - 0x4a5c], 5
call fcn.004ad7b0
mov byte [ebp - 4], 0x39
lea ecx, [ebp - 0x26c]
push 4
xor eax, eax
mov dword [ebp - 0x258], 7
push 0x5e0c4c
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4a60]
mov byte [ebp - 4], 0x3a
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e45e4
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x3b
lea ecx, [ebp - 0x4a60]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x4a6c]
mov dword [ebp - 0x4a64], 0
push str.unencrypted
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4a64], 0
mov dword [ebp - 0x4a68], 5
call fcn.004ad7b0
mov byte [ebp - 4], 0x3c
lea ecx, [ebp - 0x26c]
push 5
xor eax, eax
mov dword [ebp - 0x258], 7
push str.state
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4a6c]
mov byte [ebp - 4], 0x3d
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e46b2
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x3e
lea ecx, [ebp - 0x4a6c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x4a78]
mov dword [ebp - 0x4a70], 0
push 0x5e22a8
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4a70], 0
mov dword [ebp - 0x4a74], 5
call fcn.004ad7b0
mov byte [ebp - 4], 0x3f
lea ecx, [ebp - 0x26c]
push 9
xor eax, eax
mov dword [ebp - 0x258], 7
push str.algorithm
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4a78]
mov byte [ebp - 4], 0x40
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e4780
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x41
lea ecx, [ebp - 0x4a78]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x4a20]
mov dword [ebp - 0x4a18], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4a18], 0
mov dword [ebp - 0x4a1c], 5
call fcn.004ab230
mov dword [ebp - 0x4a18], 0
mov dword [ebp - 0x4a1c], 1
mov byte [ebp - 4], 0x42
lea ecx, [ebp - 0x26c]
push 8
xor eax, eax
mov dword [ebp - 0x258], 7
push str.strength
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4a20]
mov byte [ebp - 4], 0x43
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e485d
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a9d40
mov byte [ebp - 4], 0x44
lea ecx, [ebp - 0x4a20]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
jmp 0x4e4a3d
mov dword [ebp - 0x4a7c], 0
lea ecx, [ebp - 0x4a84]
push str.physical
mov byte [ebp - 0x4a24], 0
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
mov byte [ebp - 0x4a7c], 0
mov dword [ebp - 0x4a80], 5
call fcn.004ad7b0
mov byte [ebp - 4], 0x45
lea ecx, [ebp - 0x26c]
push 4
xor eax, eax
mov dword [ebp - 0x258], 7
push 0x5e0c4c
mov dword [ebp - 0x25c], 0
mov word [ebp - 0x26c], ax
call fcn.004a96a0
lea eax, [ebp - 0x4a84]
mov byte [ebp - 4], 0x46
push eax
lea eax, [ebp - 0x26c]
push eax
mov eax, dword [ebp - 0x49fc]
mov esi, dword [eax + 0x78]
mov ecx, esi
call dword [0x5a143c]
lea ecx, [ebp - 0x49fc]
call esi
mov eax, dword [ebp - 0x258]
cmp eax, 8
jb 0x4e492e
inc eax
lea ecx, [ebp - 0x26c]
push eax
push dword [ebp - 0x26c]
call fcn.004a98c0
push 0
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x258], 7
call fcn.004a9950
mov byte [ebp - 4], 0x47
lea ecx, [ebp - 0x4a84]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
push str.unencrypted
lea ecx, [ebp - 0x4af4]
mov byte [ebp - 4], 0x23
call fcn.004aa220
lea eax, [ebp - 0x4af4]
mov byte [ebp - 4], 0x48
push eax
push str.state
lea ecx, [ebp - 0x49fc]
call fcn.004ab650
mov byte [ebp - 4], 0x49
lea ecx, [ebp - 0x4af4]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
push 0x5e22a8
lea ecx, [ebp - 0x4a9c]
mov byte [ebp - 4], 0x23
call fcn.004aa220
lea eax, [ebp - 0x4a9c]
mov byte [ebp - 4], 0x4a
push eax
push str.algorithm
lea ecx, [ebp - 0x49fc]
call fcn.004ab650
mov byte [ebp - 4], 0x4b
lea ecx, [ebp - 0x4a9c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
lea eax, [ebp - 0x4a08]
mov byte [ebp - 4], 0x23
push eax
lea ecx, [ebp - 0x4aa8]
mov dword [ebp - 0x4a08], 0
call fcn.004aa2e0
lea eax, [ebp - 0x4aa8]
mov byte [ebp - 4], 0x4c
push eax
push str.strength
lea ecx, [ebp - 0x49fc]
call fcn.004ab650
mov byte [ebp - 4], 0x4d
lea ecx, [ebp - 0x4aa8]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
lea eax, [ebp - 0x49fc]
mov byte [ebp - 4], 0x23
push eax
lea ecx, [ebp - 0x4a38]
call fcn.004ab350
lea ecx, [ebp - 0x284]
call fcn.004a9470
mov byte [ebp - 4], 0x4e
lea ecx, [ebp - 0x49fc]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x1e
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e4a85
sub ecx, edx
sar ecx, 1
lea ebx, [ebx + ecx*2]
add ebx, 2
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4e4aa0
sub ecx, edx
sar ecx, 1
jne 0x4e3d25
mov edi, dword [ebp - 0x4a2c]
push edi
call fcn.0053b9ee
add esp, 4
push dword [ebp - 0x4a24]
lea ecx, [ebp - 0x4aa8]
call fcn.004aa340
lea eax, [ebp - 0x4aa8]
mov byte [ebp - 4], 0x4f
push eax
push str.fully_encrypted
lea ecx, [ebp - 0x4a44]
call fcn.004ab650
mov byte [ebp - 4], 0x50
lea ecx, [ebp - 0x4aa8]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
lea eax, [ebp - 0x4a38]
mov byte [ebp - 4], 0x1e
push eax
push str.locations
lea ecx, [ebp - 0x4a44]
call fcn.004ab500
push dword [ebp - 0x4a28]
lea ecx, [ebp - 0x4a9c]
call fcn.004aa340
lea eax, [ebp - 0x4a9c]
mov byte [ebp - 4], 0x51
push eax
push str.encryption_active
lea ecx, [ebp - 0x4a44]
call fcn.004ab650
mov byte [ebp - 4], 0x52
lea ecx, [ebp - 0x4a9c]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
lea eax, [ebp - 0x4a44]
mov byte [ebp - 4], 0x1e
push eax
push str.result
lea ecx, [ebp - 0x4a90]
call fcn.004ab500
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x4a90]
call fcn.004ada70
mov ecx, dword [ebp - 0x4a48]
push eax
call fcn.004af000
lea ecx, [ebp - 0x26c]
call fcn.004a9470
lea ecx, [ebp - 0x49f0]
call fcn.004aeee0
lea ecx, [ebp - 0x2b4]
call fcn.004a9470
lea ecx, [ebp - 0x29c]
call fcn.004a9470
mov byte [ebp - 4], 0x53
lea ecx, [ebp - 0x4a90]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x54
lea ecx, [ebp - 0x4a38]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov byte [ebp - 4], 0x55
lea ecx, [ebp - 0x4a44]
mov dword [ebp - method.WaJson.virtual_0], vtable.WaJson.0
call fcn.004ab230
mov dword [ebp - 4], 0x56
lea ecx, [ebp + 8]
mov dword [ebp + 8], vtable.WaJson.0
call fcn.004ab230
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053b526
mov esp, ebp
pop ebp
ret 0x10