Function at 0x42ebb0
Capabilities:
Get disk information
Link many functions at runtime
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0xe774
call fcn.00481410
mov eax, dword [0x4bacc0]
xor eax, esp
mov dword [esp + 0xe770], eax
cmp dword [0x4de8ec], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x18], ebx
jne 0x42ebfb
mov eax, 0x17
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe770]
xor ecx, esp
call fcn.004810ab
mov esp, ebp
pop ebp
ret
mov eax, dword [0x4de480]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x2710
push eax
call edi
test eax, eax
jne 0x42f358
cmp dword [0x4de8ec], 2
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jne 0x42ec4e
mov esi, 0x4de59c
lea ebx, [ebx]
mov eax, dword [esi]
test eax, eax
je 0x42ec3d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0x24
cmp esi, 0x4de8d8
jl 0x42ec30
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x360
push 0
push 0x4de580
call fcn.00481440
mov eax, dword [0x4de8ec]
add eax, 0xffffffff
add esp, 0xc
cmp eax, 0xa
ja case.0x42ec7a.4
movzx ecx, byte [eax + 0x430824]
jmp dword [ecx*4 + 0x43080c]
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
mov byte [esp + 0x13], 0x44
mov dword [ebx], 0
jmp 0x42eca4
mov ebx, dword [esp + 0x18]
cmp dword [ebx], 0x17
jge case.0x42ec7a.4
movzx esi, byte [esp + 0x13]
push esi
lea edx, [esp + 0xd87c]
push str.._c:
push edx
call edi
add esp, 0xc
lea eax, [esp + 0xd87c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x42ef98
push 0
push 0
push 3
push 0
push 3
push 0x80
lea ecx, [esp + 0xd890]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebx]
lea edx, [ecx + ecx*8]
mov dword [edx*4 + 0x4de5a0], eax
mov eax, dword [ebx]
lea eax, [eax + eax*8]
cmp dword [eax*4 + 0x4de5a0], 0xffffffff
je 0x42ef98
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0xd890]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebx]
lea edx, [ecx + ecx*8]
mov dword [edx*4 + 0x4de59c], eax
mov eax, dword [ebx]
lea eax, [eax + eax*8]
add eax, eax
mov ecx, dword [eax + eax + 0x4de59c]
add eax, eax
cmp ecx, 0xffffffff
jne 0x42ed78
mov eax, dword [eax + 0x4de5a0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
lea ecx, [eax + eax*8]
mov dword [ecx*4 + 0x4de5a0], 0
jmp 0x42ef98
xor eax, eax
push eax
lea edx, [esp + 0x18]
push edx
push 8
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0x41018
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x42edae
mov cl, byte [esp + 0xd87c]
mov byte [esp + 0x4c], cl
xor eax, eax
push eax
lea edx, [esp + 0x18]
push edx
push 0x18
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x8c]
push eax
mov eax, dword [ebx]
push 0
push 0
lea ecx, [eax + eax*8]
mov edx, dword [ecx*4 + 0x4de59c]
push 0x41010
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov eax, dword [ebx]
push esi
lea eax, [eax + eax*8]
lea ecx, [eax*4 + 0x4de580]
push 0x49f170
push ecx
call edi
mov eax, dword [ebx]
movzx edx, byte [esp + 0x58]
movzx ecx, byte [esp + 0x5a]
lea eax, [eax + eax*8]
mov dword [eax*4 + 0x4de588], edx
mov eax, dword [ebx]
lea edx, [eax + eax*8]
mov dword [edx*4 + 0x4de58c], ecx
mov eax, dword [ebx]
movzx ecx, byte [esp + 0x5b]
lea edx, [eax + eax*8]
mov dword [edx*4 + 0x4de590], ecx
mov eax, dword [ebx]
mov edx, dword [0x4de480]
mov ecx, dword [esp + 0x9c]
add esp, 0xc
lea eax, [eax + eax*8]
push edx
mov dword [eax*4 + 0x4de598], ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 3
push 0x28
lea eax, [esp + 0xd810]
push eax
mov eax, dword [ebx]
push 1
push 6
lea ecx, [esp + 0xd810]
lea edx, [eax + eax*8]
push ecx
lea eax, [edx*4 + 0x4de580]
push eax
mov byte [esp + 0xd818], 0x12
mov byte [esp + 0xd819], 0
mov byte [esp + 0xd81a], 0
mov byte [esp + 0xd81b], 0
mov byte [esp + 0xd81c], 0x24
mov byte [esp + 0xd81d], 0
call fcn.0042da90
mov ecx, dword [0x4de480]
add esp, 0x1c
push 0x2710
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42f358
test esi, esi
jne 0x42ef98
mov dl, byte [esp + 0xd808]
and dl, 0x1f
cmp dl, 5
jne 0x42ef98
mov eax, 5
mov ecx, str.VOBID
lea edx, [esp + 0xd810]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x42ef2e
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x42ef16
test eax, eax
je 0x42ef8b
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x42ef7d
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x42ef8b
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x42ef7d
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x42ef8b
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x42ef7d
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x42ef8b
movzx esi, byte [edx]
movzx eax, byte [ecx]
sub esi, eax
je 0x42ef8b
test esi, esi
mov eax, 1
jg 0x42ef8d
or eax, 0xffffffff
jmp 0x42ef8d
xor eax, eax
test eax, eax
je 0x42ef98
mov eax, dword [esp + 0x18]
add dword [eax], 1
mov al, byte [esp + 0x13]
add al, 1
cmp al, 0x5a
mov byte [esp + 0x13], al
jbe 0x42eca0
jmp case.0x42ec7a.4
call dword [0x4de9a8]
and eax, 0xff
mov dword [esp + 0x58], eax
mov byte [esp + 0x1f], 0
mov dword [ebx], 0
jle case.0x42ec7a.4
cmp dword [ebx], 0x17
jge case.0x42ec7a.4
push 0x3c
lea ecx, [esp + 0x1b0]
push 0
push ecx
call fcn.00481440
mov dl, byte [esp + 0x2b]
lea eax, [esp + 0x1b8]
push eax
mov byte [esp + 0x1be], dl
mov byte [esp + 0x1bc], 0
call dword [0x4de4c8]
add esp, 0x10
cmp eax, 1
jne 0x42f2c9
mov byte [esp + 0x13], 0
cmp dword [ebx], 0x17
jge 0x42f2c9
movzx esi, byte [esp + 0x13]
movzx edi, byte [esp + 0x1f]
push esi
push edi
lea ecx, [esp + 0xd880]
push str.h_dt_d
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebx]
lea eax, [eax + eax*8]
add esp, 0x10
mov byte [esp + 0xd7fc], 0x12
mov byte [esp + 0xd7fd], 0
mov byte [esp + 0xd7fe], 0
mov byte [esp + 0xd7ff], 0
mov byte [esp + 0xd800], 0x24
mov byte [esp + 0xd801], 0
lea ecx, [esp + 0xd878]
lea eax, [eax*4 + 0x4de580]
lea esp, [esp]
mov dl, byte [ecx]
mov byte [eax], dl
add ecx, 1
add eax, 1
test dl, dl
jne 0x42f090
mov eax, dword [ebx]
lea edx, [eax + eax*8]
mov dword [edx*4 + 0x4de588], edi
mov eax, dword [ebx]
mov edx, dword [0x4de480]
lea eax, [eax + eax*8]
mov dword [eax*4 + 0x4de58c], esi
mov eax, dword [ebx]
lea ecx, [eax + eax*8]
push edx
mov dword [ecx*4 + 0x4de590], 0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 3
push 0x28
lea eax, [esp + 0xd810]
push eax
mov eax, dword [ebx]
push 1
push 6
lea ecx, [esp + 0xd810]
lea edx, [eax + eax*8]
push ecx
lea eax, [edx*4 + 0x4de580]
push eax
call fcn.0042da90
mov ecx, dword [0x4de480]
add esp, 0x1c
push 0x2710
push ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42f358
test esi, esi
jne 0x42f2b7
mov dl, byte [esp + 0xd808]
and dl, 0x1f
cmp dl, 5
jne 0x42f2b7
mov eax, 5
mov ecx, str.VOBID
lea edx, [esp + 0xd810]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x42f160
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x42f148
test eax, eax
je 0x42f1bd
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x42f1af
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x42f1bd
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x42f1af
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x42f1bd
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x42f1af
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x42f1bd
movzx esi, byte [edx]
movzx eax, byte [ecx]
sub esi, eax
je 0x42f1bd
test esi, esi
mov eax, 1
jg 0x42f1bf
or eax, 0xffffffff
jmp 0x42f1bf
xor eax, eax
test eax, eax
je 0x42f2b7
cmp dword [0x4de8f8], 0x7d0
jl 0x42f2ae
mov bl, 0x44
lea esp, [esp]
movzx ecx, bl
push ecx
lea edx, [esp + 0xd87c]
push str.._c:
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0xd87c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x42f279
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [esp + 0xd890]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x42f279
xor eax, eax
push eax
lea edx, [esp + 0x18]
push edx
push 8
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x54]
push eax
push 0
push 0
push 0x41018
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x42f279
mov cl, byte [esp + 0x1f]
cmp byte [esp + 0x4c], cl
jne 0x42f279
mov dl, byte [esp + 0x13]
cmp byte [esp + 0x4e], dl
je 0x42f287
add bl, 1
cmp bl, 0x5a
jbe 0x42f1e0
jmp 0x42f2ae
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
lea edx, [eax + eax*8]
lea ecx, [esp + 0xd87c]
lea edx, [edx*4 + 0x4de580]
mov edi, edi
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x42f2a0
mov eax, dword [esp + 0x18]
add dword [eax], 1
mov ebx, eax
mov al, byte [esp + 0x13]
add al, 1
cmp al, 7
mov byte [esp + 0x13], al
jb 0x42f01b
mov al, byte [esp + 0x1f]
add al, 1
movzx ecx, al
cmp ecx, dword [esp + 0x58]
mov byte [esp + 0x1f], al
jl 0x42efcf
jmp case.0x42ec7a.4
xor eax, eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea edx, [esp + 0x30]
push edx
mov edx, dword [0x4de4c4]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x74]
push eax
push 0x63
lea ecx, [esp + 0xa4]
push ecx
push 0
push 0
push 0x222004
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x42f385
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x42f372
mov eax, dword [esp + 0x40]
push eax
call esi
mov ecx, dword [0x4de480]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 0x15
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe770]
xor ecx, esp
call fcn.004810ab
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x40]
push 0x7d0
push edx
call edi
cmp eax, 0x102
jne 0x42f344
xor eax, eax
cmp byte [esp + 0x98], 0xff
mov dword [esp + 0x50], eax
mov dword [ebx], eax
je case.0x42ec7a.4
jmp 0x42f3a4
mov ebx, dword [esp + 0x18]
cmp dword [ebx], 0x17
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jge case.0x42ec7a.4
lea eax, [eax + eax*2]
movzx edx, byte [esp + eax + 0x98]
mov cl, byte [esp + eax + 0x99]
lea esi, [esp + eax + 0x98]
mov dword [esp + 0x6c], esi
lea esi, [esp + eax + 0x99]
lea eax, [esp + eax + 0x9a]
mov byte [esp + 0x1e8], dl
movzx edx, byte [eax]
mov dword [esp + 0x78], eax
xor eax, eax
push eax
push eax
push 1
push eax
mov dword [esp + 0x68], esi
mov byte [esp + 0x1f9], cl
mov byte [esp + 0x1fa], dl
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [0x4de4c4]
push 0x20b
lea edx, [esp + 0x1f4]
push edx
push 0x20b
mov eax, edx
push eax
push 0x222014
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x42f488
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42f47c
mov edx, dword [esp + 0x40]
push 0x7d0
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x42f488
mov eax, dword [esp + 0x40]
push eax
call edi
jmp 0x430216
mov ecx, dword [esp + 0x40]
push ecx
call edi
cmp dword [esp + 0x1eb], 0
je 0x42faf6
cmp dword [esp + 0x2ef], 0
je 0x42faf6
mov esi, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0x40
lea edx, [esp + 0xd844]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0x203]
push eax
push 0
push 0
call esi
push 0
push 0
push 0x100
lea ecx, [esp + 0xe184]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x307]
push edx
push 0
push 0
call esi
lea eax, [esp + 0xd838]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
mov edi, str.SCSI
lea esi, [esp + 0xd838]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42f52a
mov eax, dword [ebx]
lea eax, [eax + eax*8]
mov dword [eax*4 + 0x4de594], 0x73
jmp 0x42f5d0
mov edi, 0x49fb50
lea esi, [esp + 0xd838]
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42f553
mov eax, dword [ebx]
lea eax, [eax + eax*8]
mov dword [eax*4 + 0x4de594], 0x61
jmp 0x42f5d0
mov edi, str.USBSTOR
lea esi, [esp + 0xd838]
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42f57c
mov eax, dword [ebx]
lea eax, [eax + eax*8]
mov dword [eax*4 + 0x4de594], 0x75
jmp 0x42f5d0
mov edi, str.SBP2
lea esi, [esp + 0xd838]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42f5a5
mov eax, dword [ebx]
lea eax, [eax + eax*8]
mov dword [eax*4 + 0x4de594], 0x66
jmp 0x42f5d0
mov edi, str.DVDRAM
lea esi, [esp + 0xd838]
mov ecx, 7
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x430216
mov eax, dword [ebx]
lea eax, [eax + eax*8]
mov dword [eax*4 + 0x4de594], 0x78
mov ecx, 7
mov esi, str.SYSTEMCurrentControlSetEnum_
lea edi, [esp + 0xda78]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsw word es:[edi], word [esi]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0xd838]
movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x42f601
lea edi, [esp + 0xda78]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x42f618
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0xda7c]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x42faf6
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
xor ebx, ebx
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x2c]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xd88c]
push edx
push ebx
mov edi, 0x100
push eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x34], edi
call esi
test eax, eax
jne 0x42faf6
lea ecx, [esp + 0xd878]
push ecx
lea edx, [esp + 0xda7c]
push edx
lea eax, [esp + 0xdc80]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp eax, ebx
je 0x42f6c3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], ebx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xdc7c]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x42fac2
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x24]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xd98c]
push edx
push ebx
push eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x34], edi
call esi
test eax, eax
jne 0x42fac2
lea ecx, [esp + 0xd978]
push ecx
lea edx, [esp + 0xdc7c]
push edx
lea eax, [esp + 0xdf80]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, ebx
je 0x42f749
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xdf7c]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x42fa76
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0xe07c]
push ecx
lea edx, [esp + 0x84]
push edx
push 0
push str.Driver
push eax
mov dword [esp + 0x2c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42fa76
mov cl, byte [esp + eax + 0xe078]
mov byte [esp + eax + 0xdd78], cl
add eax, 1
test cl, cl
jne 0x42f7a0
mov esi, dword [sym.imp.USER32.dll_CharUpperA]
lea ecx, [esp + 0xdd78]
push ecx
call esi
xor eax, eax
jmp 0x42f7d0
mov cl, byte [esp + eax + 0xe178]
mov byte [esp + eax + 0xde78], cl
add eax, 1
test cl, cl
jne 0x42f7d0
lea edx, [esp + 0xde78]
push edx
call esi
lea ecx, [esp + 0xde78]
lea eax, [esp + 0xdd78]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42f820
test dl, dl
je 0x42f81c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42f820
add eax, 2
add ecx, 2
test dl, dl
jne 0x42f800
xor eax, eax
jmp 0x42f825
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42fa76
mov eax, dword [str.SYSTEMMountedDevices]
mov ecx, dword [0x49faf4]
mov edx, dword [0x49faf8]
mov dword [esp + 0xdb78], eax
mov eax, dword [0x49fafc]
mov dword [esp + 0xdb84], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xdb7c], ecx
mov ecx, dword [0x49fb00]
mov dword [esp + 0xdb80], edx
mov dx, word [0x49fb04]
xor esi, esi
cmp eax, esi
mov dword [esp + 0xdb88], ecx
mov word [esp + 0xdb8c], dx
je 0x42f890
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xdb7c]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x42faf6
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0xe37c]
push eax
mov eax, dword [esp + 0x34]
push esi
push esi
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xd88c]
push edx
push esi
push eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x34], 0x100
mov dword [esp + 0x84], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x42fa76
push 0
push 0
push 0x100
lea ecx, [esp + 0xe284]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0xe38c]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0xd878]
push str.DosDevices
push eax
call fcn.004810c0
add esp, 8
test eax, eax
je 0x42fa23
lea ecx, [esp + 0xd978]
push ecx
lea edx, [esp + 0xe27c]
push edx
call fcn.004810c0
add esp, 8
test eax, eax
je 0x42fa23
lea eax, [esp + 0xd878]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42f966
lea esi, [esp + 0xd878]
sub eax, edx
movzx eax, byte [eax + esi - 2]
sub esi, 2
push eax
lea ecx, [esp + 0xd834]
push str._c:_
push ecx
call fcn.004822f9
add esp, 0xc
lea edx, [esp + 0xd830]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x42fa23
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp dword [eax], ebx
jle 0x42fa17
mov edi, 0x4de580
jmp 0x42f9c0
lea eax, [esp + 0xd878]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42f9d0
sub eax, edx
lea ecx, [eax + esi]
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42fa00
test dl, dl
je 0x42f9fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42fa00
add eax, 2
add ecx, 2
test dl, dl
jne 0x42f9e0
xor eax, eax
jmp 0x42fa05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42fa17
mov ecx, dword [esp + 0x18]
add ebx, 1
add edi, 0x24
cmp ebx, dword [ecx]
jl 0x42f9c0
mov edx, dword [esp + 0x18]
cmp ebx, dword [edx]
je 0x42fcb6
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0xe37c]
push edx
push 0
push 0
lea ecx, [esp + 0x24]
push ecx
add eax, 1
lea edx, [esp + 0xd88c]
push edx
push eax
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x48]
push eax
mov dword [esp + 0x34], 0x100
mov dword [esp + 0x84], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x42f8fa
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x5c]
push ecx
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xd98c]
add eax, 1
push ecx
push eax
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x34], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
xor ebx, ebx
test eax, eax
je 0x42f710
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov edi, 0x100
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x5c]
push ecx
push ebx
push ebx
push ebx
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xd88c]
add eax, 1
push ecx
push eax
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x34], edi
call esi
test eax, eax
je 0x42f68a
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp eax, edi
je 0x42fb0d
push eax
call esi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x42fb1c
push eax
call esi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x42fb2b
push eax
call esi
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x42fb3a
push eax
call esi
mov dword [esp + 0x2c], edi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.Kernel32.DLL
call esi
push str.GetVolumeNameForVolumeMountPointA
push eax
mov dword [0x4de8e0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SETUPAPI.DLL
mov dword [0x4de560], eax
call esi
cmp eax, edi
mov dword [0x4de900], eax
je 0x42ffd7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetupDiEnumDeviceInterfaces
push eax
call esi
mov dword [0x4de9ac], eax
mov eax, dword [0x4de900]
push str.SetupDiGetDeviceInterfaceDetailA
push eax
call esi
mov ecx, dword [0x4de900]
push str.SetupDiGetClassDevsA
push ecx
mov dword [0x4de9a4], eax
call esi
mov edx, dword [0x4de900]
push str.SetupDiDestroyDeviceInfoList
push edx
mov dword [0x4de4c0], eax
call esi
cmp dword [0x4de9ac], 0
mov dword [0x4de484], eax
je 0x42ffb6
cmp dword [0x4de9a4], 0
je 0x42ffb6
cmp dword [0x4de4c0], 0
je 0x42ffb6
test eax, eax
je 0x42ffb6
push 0xc9f4
xor ebx, ebx
lea eax, [esp + 0xe04]
push ebx
push eax
call fcn.00481440
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0xe10]
push edx
call fcn.0042da30
mov ecx, 7
mov esi, str.SYSTEMCurrentControlSetEnum_
lea edi, [esp + 0xda8c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0xd84c]
add esp, 0x14
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
movsb byte es:[edi], byte [esi]
mov ecx, eax
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x42fc47
lea edi, [esp + 0xda78]
sub eax, ecx
mov esi, ecx
add edi, 0xffffffff
mov edi, edi
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x42fc60
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x28]
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0xda7c]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x42fcf5
mov edx, dword [0x4de8e0]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edx
call esi
mov eax, dword [0x4de900]
push eax
call esi
mov dword [0x4de900], ebx
jmp 0x42ffd7
lea eax, [esp + 0xd878]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42fcc0
mov esi, dword [esp + 0x18]
sub eax, edx
lea ecx, [esp + eax + 0xd876]
mov eax, dword [esi]
lea edx, [eax + eax*8]
lea edx, [edx*4 + 0x4de580]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x42fce2
jmp 0x43000a
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x2c]
push ebx
push ebx
push ebx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xd88c]
push eax
push ebx
push ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x34], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x42ffb6
mov ebx, dword [esp + 0x74]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
xor esi, esi
jmp 0x42fd40
lea edx, [esp + 0xd878]
push edx
lea eax, [esp + 0xda7c]
push eax
lea ecx, [esp + 0xdc80]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp eax, esi
je 0x42fd79
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x20], esi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xdc7c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x42ff7e
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x24]
push esi
push esi
push esi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xd98c]
push eax
push esi
push ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x34], 0x100
call edi
test eax, eax
jne 0x42ff7e
lea ebx, [ebx]
lea edx, [esp + 0xd978]
push edx
lea eax, [esp + 0xdc7c]
push eax
lea ecx, [esp + 0xdf80]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, esi
je 0x42fe09
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x24], esi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0xdf7c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x42ff46
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0xe07c]
push edx
lea eax, [esp + 0x84]
push eax
push esi
push str.Driver
push ecx
mov dword [esp + 0x2c], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42ff46
nop
mov cl, byte [esp + eax + 0xe078]
mov byte [esp + eax + 0xdd78], cl
add eax, 1
test cl, cl
jne 0x42fe60
lea edx, [esp + 0xdd78]
push edx
call dword [sym.imp.USER32.dll_CharUpperA]
xor eax, eax
jmp 0x42fe90
mov cl, byte [esp + eax + 0xe178]
mov byte [esp + eax + 0xde78], cl
add eax, 1
test cl, cl
jne 0x42fe90
lea eax, [esp + 0xde78]
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
lea ecx, [esp + 0xde78]
lea eax, [esp + 0xdd78]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x42fee1
test dl, dl
je 0x42fedd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x42fee1
add eax, 2
add ecx, 2
test dl, dl
jne 0x42fec1
xor eax, eax
jmp 0x42fee6
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x42ff46
lea ecx, [esp + 0xd978]
push ecx
call dword [sym.imp.USER32.dll_CharUpperA]
cmp ebx, esi
jle 0x42ff46
lea edi, [esp + 0xe00]
lea edx, [esp + 0xd838]
push edx
push edi
call fcn.004810c0
add esp, 8
test eax, eax
je 0x42ff31
lea eax, [esp + 0xd978]
push eax
push edi
call fcn.004810c0
add esp, 8
test eax, eax
jne 0x4301b7
add esi, 1
add edi, 0x40a
cmp esi, ebx
jl 0x42ff03
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
xor esi, esi
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0x5c]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0xd98c]
add eax, 1
push ecx
push eax
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x34], 0x100
call edi
test eax, eax
je 0x42fdd0
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x5c]
push ecx
push esi
push esi
push esi
lea edx, [esp + 0x24]
push edx
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xd88c]
add eax, 1
push ecx
push eax
push edx
mov dword [esp + 0x64], eax
mov dword [esp + 0x34], 0x100
call edi
test eax, eax
je 0x42fd40
mov eax, dword [0x4de8e0]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push eax
call esi
mov ecx, dword [0x4de900]
push ecx
call esi
mov dword [0x4de900], 0
mov edx, dword [esp + 0x58]
movzx eax, byte [edx]
mov ecx, dword [esp + 0x6c]
movzx edx, byte [ecx]
push eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
push edx
lea ecx, [eax + eax*8]
lea edx, [ecx*4 + 0x4de580]
push str.h_dt_d
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
cmp eax, ebx
je 0x430021
push eax
call edi
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x430030
push eax
call edi
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x43003f
push eax
call edi
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x43004e
push eax
call edi
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x6c]
movzx ecx, byte [eax]
mov eax, dword [esi]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x58]
mov dword [edx*4 + 0x4de588], ecx
movzx ecx, byte [eax]
mov eax, dword [esi]
lea edx, [eax + eax*8]
mov eax, dword [esp + 0x78]
mov dword [edx*4 + 0x4de58c], ecx
movzx ecx, byte [eax]
mov eax, dword [esi]
lea edx, [eax + eax*8]
mov eax, dword [0x4de480]
push eax
mov dword [edx*4 + 0x4de590], ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esi]
push 3
push 0x28
lea ecx, [esp + 0xd810]
push ecx
push 1
push 6
lea edx, [esp + 0xd810]
lea eax, [eax + eax*8]
push edx
lea ecx, [eax*4 + 0x4de580]
push ecx
mov byte [esp + 0xd818], 0x12
mov byte [esp + 0xd819], 0
mov byte [esp + 0xd81a], 0
mov byte [esp + 0xd81b], 0
mov byte [esp + 0xd81c], 0x24
mov byte [esp + 0xd81d], 0
call fcn.0042da90
mov edx, dword [0x4de480]
add esp, 0x1c
push 0x2710
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42f358
cmp esi, ebx
jne 0x430216
mov al, byte [esp + 0xd808]
and al, 0x1f
cmp al, 5
jne 0x430216
mov eax, 5
mov ecx, str.VOBID
lea edx, [esp + 0xd810]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x430152
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x430136
test eax, eax
je 0x430209
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x4301a9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x430209
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x4301a9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x430209
movzx esi, byte [edx]
movzx edi, byte [ecx]
sub esi, edi
jne 0x4301a9
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x430209
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x430209
test esi, esi
mov eax, 1
jg 0x43020b
or eax, 0xffffffff
jmp 0x43020b
mov eax, dword [esp + 0x18]
imul esi, esi, 0x40a
mov eax, dword [eax]
lea edx, [eax + eax*8]
lea ecx, [esp + esi + 0x1200]
lea edx, [edx*4 + 0x4de580]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4301d4
mov ecx, dword [0x4de8e0]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push ecx
call esi
mov edx, dword [0x4de900]
push edx
call esi
mov dword [0x4de900], 0
jmp 0x430006
xor eax, eax
test eax, eax
je 0x430216
mov eax, dword [esp + 0x18]
add dword [eax], 1
mov eax, dword [esp + 0x50]
add eax, 1
lea edx, [esp + eax + 0x98]
cmp byte [edx + eax*2], 0xff
mov dword [esp + 0x50], eax
jne 0x42f3a0
jmp case.0x42ec7a.4
xor eax, eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [0x4de8e8]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [0x4de4c4]
push 0xa04
lea edx, [esp + 0x404]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x4302da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4302c7
mov edx, dword [esp + 0x40]
push edx
call esi
mov eax, dword [0x4de480]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, 0x15
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe770]
xor ecx, esp
call fcn.004810ab
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x40]
push 0x7d0
push ecx
call edi
cmp eax, 0x102
jne 0x43029a
cmp dword [esp + 0x3f8], 0
mov dword [esp + 0x50], 0
mov dword [ebx], 0
jle case.0x42ec7a.4
lea edi, [esp + 0x3fe]
lea ecx, [ecx]
cmp dword [ebx], 0x17
jge case.0x42ec7a.4
cmp byte [edi - 2], 0x55
jne 0x4304ca
mov al, byte [edi]
cmp al, 0x43
je 0x4304ca
movzx ecx, al
push ecx
lea edx, [esp + 0xd87c]
push 0x49f170
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [ebx]
lea edx, [eax + eax*8]
add esp, 0xc
mov byte [esp + 0xd7fc], 0x12
mov byte [esp + 0xd7fd], 0
mov byte [esp + 0xd7fe], 0
mov byte [esp + 0xd7ff], 0
mov byte [esp + 0xd800], 0x24
mov byte [esp + 0xd801], 0
lea ecx, [esp + 0xd878]
lea edx, [edx*4 + 0x4de580]
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x430380
mov eax, dword [ebx]
movzx ecx, byte [edi + 1]
lea edx, [eax + eax*8]
mov dword [edx*4 + 0x4de588], ecx
mov eax, dword [ebx]
movzx ecx, byte [edi + 2]
lea edx, [eax + eax*8]
mov dword [edx*4 + 0x4de58c], ecx
mov eax, dword [ebx]
movzx ecx, byte [edi + 3]
lea edx, [eax + eax*8]
mov eax, dword [0x4de480]
push eax
mov dword [edx*4 + 0x4de590], ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebx]
push 3
push 0x28
lea ecx, [esp + 0xd810]
push ecx
push 1
push 6
lea edx, [esp + 0xd810]
lea eax, [eax + eax*8]
push edx
lea ecx, [eax*4 + 0x4de580]
push ecx
call fcn.0042da90
mov edx, dword [0x4de480]
add esp, 0x1c
push 0x2710
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42f358
test esi, esi
jne 0x4304c6
mov al, byte [esp + 0xd808]
and al, 0x1f
cmp al, 5
jne 0x4304c6
mov eax, 5
mov ecx, str.VOBID
lea edx, [esp + 0xd810]
lea ecx, [ecx]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x430458
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x430440
test eax, eax
je 0x4304b5
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x4304a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4304b5
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x4304a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4304b5
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x4304a7
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x4304b5
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x4304b5
test esi, esi
mov eax, 1
jg 0x4304b7
or eax, 0xffffffff
jmp 0x4304b7
xor eax, eax
test eax, eax
je 0x4304c6
mov eax, dword [esp + 0x18]
add dword [eax], 1
mov ebx, eax
jmp 0x4304ca
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x50]
add eax, 1
add edi, 0x28
cmp eax, dword [esp + 0x3f8]
mov dword [esp + 0x50], eax
jl 0x430300
jmp case.0x42ec7a.4
xor eax, eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
lea edx, [esp + 0x30]
push edx
mov edx, dword [0x4de4c4]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x74]
push eax
push 0xa5
lea ecx, [esp + 0x10c]
push ecx
push 0
push 0
push 0x801
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x430567
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x42f344
mov edx, dword [esp + 0x40]
push 0x7d0
push edx
call edi
cmp eax, 0x102
jne 0x42f344
cmp byte [esp + 0x100], 0xff
mov dword [ebx], 0
je case.0x42ec7a.4
lea edi, [esp + 0x101]
mov edx, dword [esp + 0x18]
cmp dword [edx], 0x17
jge case.0x42ec7a.4
movzx eax, byte [edi + 3]
push eax
lea ecx, [esp + 0xd87c]
push 0x49f170
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
lea edx, [eax + eax*8]
add esp, 0xc
mov byte [esp + 0xd7fc], 0x12
mov byte [esp + 0xd7fd], 0
mov byte [esp + 0xd7fe], 0
mov byte [esp + 0xd7ff], 0
mov byte [esp + 0xd800], 0x24
mov byte [esp + 0xd801], 0
lea ecx, [esp + 0xd878]
lea edx, [edx*4 + 0x4de580]
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x4305f1
mov eax, dword [esi]
movzx edx, byte [edi - 1]
movzx ecx, byte [edi]
lea eax, [eax + eax*8]
mov dword [eax*4 + 0x4de588], edx
mov eax, dword [esi]
lea edx, [eax + eax*8]
mov dword [edx*4 + 0x4de58c], ecx
mov eax, dword [esi]
movzx ecx, byte [edi + 1]
lea edx, [eax + eax*8]
mov eax, dword [0x4de480]
push eax
mov dword [edx*4 + 0x4de590], ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esi]
push 3
push 0x28
lea ecx, [esp + 0xd810]
push ecx
push 1
push 6
lea edx, [esp + 0xd810]
lea eax, [eax + eax*8]
push edx
lea ecx, [eax*4 + 0x4de580]
push ecx
call fcn.0042da90
mov edx, dword [0x4de480]
add esp, 0x1c
push 0x2710
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42f358
test esi, esi
jne 0x430732
mov al, byte [esp + 0xd808]
and al, 0x1f
cmp al, 5
jne 0x430732
mov eax, 5
mov ecx, str.VOBID
lea edx, [esp + 0xd810]
lea ecx, [ecx]
mov esi, dword [edx]
cmp esi, dword [ecx]
jne 0x4306c8
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x4306b0
test eax, eax
je 0x430725
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x430717
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x430725
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x430717
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x430725
movzx esi, byte [edx]
movzx ebx, byte [ecx]
sub esi, ebx
jne 0x430717
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x430725
movzx esi, byte [edx]
movzx ecx, byte [ecx]
sub esi, ecx
je 0x430725
test esi, esi
mov eax, 1
jg 0x430727
or eax, 0xffffffff
jmp 0x430727
xor eax, eax
test eax, eax
je 0x430732
mov eax, dword [esp + 0x18]
add dword [eax], 1
add edi, 5
cmp byte [edi - 1], 0xff
jne 0x430582
mov esi, dword [esp + 0x18]
mov ecx, dword [esi]
mov edx, dword [0x4de480]
xor eax, eax
lea ecx, [ecx + ecx*8]
lea ecx, [ecx*4 + 0x4de580]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
push edx
mov dword [ecx + 0x20], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [esi]
cmp eax, 1
jle 0x430794
push 0x4290f0
push 0x24
push eax
push 0x4de580
call fcn.00483150
add esp, 0x10
xor cl, cl
mov edi, 0x4de580
jmp 0x4307a0
xor esi, esi
lea eax, [edi + 3]
mov dl, byte [edi + esi]
add dl, byte [eax - 2]
add esi, 5
add dl, byte [eax - 1]
add eax, 5
add dl, byte [eax - 4]
add dl, byte [eax - 5]
add cl, dl
cmp esi, 0x14
jl 0x4307a5
add edi, 0x24
cmp edi, 0x4de8bc
jl 0x4307a0
cmp cl, byte [0x4af518]
je 0x4307f4
mov byte [0x4af518], cl
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe770]
xor ecx, esp
call fcn.004810ab
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xe77c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.004810ab
mov esp, ebp
pop ebp
ret