Function at 0x422eb0
Capabilities:
Get disk information
Get disk information via ioctl
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x174
push 0
push 0
dec ecx
jne 0x422eb9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4251ec
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [0x42018c]
xor eax, eax
call fcn.0040a2f8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov ebx, eax
mov dword [ebx + 0x28], esi
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x14]
call fcn.00403b60
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b414
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
lea eax, [ebp - 0xabc]
push eax
lea eax, [ebp - 0xac0]
lea edx, [ebp - 0xab8]
mov ecx, 0x400
call fcn.00404180
mov eax, dword [ebp - 0xac0]
mov ecx, 4
xor edx, edx
call fcn.0040422c
mov eax, dword [ebp - 0xabc]
mov edx, 0x425204
call fcn.004041a8
jne 0x422f6a
mov byte [ebx + 0x2754], 1
lea eax, [ebp - 0xac4]
push eax
mov ecx, 0x17
mov edx, 1
mov eax, dword [ebx + 0x2c]
call fcn.00404008
mov eax, dword [ebp - 0xac4]
mov edx, 0x425218
call fcn.00403ef4
jne 0x422f9c
mov byte [ebx + 0x707], 1
mov eax, ebx
call fcn.0042601c
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00402b54
mov byte [ebp - 6], 0xec
mov byte [ebp - 0xb], 1
cmp byte [ebx + 0x707], 0
je 0x422fdb
lea ecx, [ebx + 0x718]
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00421c68
mov byte [ebp - 0x19], al
jmp 0x42305b
lea ecx, [ebx + 0xaa]
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00421c68
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
je 0x423003
mov eax, ebx
call fcn.0042298c
test al, al
jne 0x423003
mov byte [ebp - 0x19], 0
cmp byte [ebp - 0x19], 0
je 0x42305b
xor edx, edx
mov ax, word [ebx + 0x154]
call fcn.0040ff98
test al, al
jne 0x42305b
xor edx, edx
mov ax, word [ebx + 0x14e]
call fcn.0040ff98
test al, al
je 0x42305b
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00402b54
mov byte [ebp - 6], 0xb0
mov byte [ebp - 0xc], 0xd8
mov byte [ebp - 9], 0x4f
mov byte [ebp - 8], 0xc2
xor ecx, ecx
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00421c68
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
jne 0x42306e
lea eax, [ebp - 4]
call fcn.00405d34
jmp 0x425174
cmp byte [ebx + 0x707], 0
je 0x423886
mov byte [ebx + 0x706], 1
mov byte [ebx + 0x275e], 1
mov dword [ebx + 0x6c0], 1
lea eax, [ebx + 0x718]
mov ax, word [eax]
mov word [ebx + 0x708], ax
lea eax, [ebp - 0xac8]
lea edx, [ebp - 0xab8]
mov ecx, 0x400
call fcn.00404180
mov edx, dword [ebp - 0xac8]
mov eax, 0x425234
call fcn.00404278
mov esi, eax
test esi, esi
je 0x423122
lea eax, [ebp - 0xad0]
push eax
lea eax, [ebp - 0xad4]
lea edx, [ebp - 0xab8]
mov ecx, 0x400
call fcn.00404180
mov eax, dword [ebp - 0xad4]
lea edx, [esi + 5]
mov ecx, 4
call fcn.0040422c
mov edx, dword [ebp - 0xad0]
lea eax, [ebp - 0xacc]
call fcn.00403d94
mov eax, dword [ebp - 0xacc]
call fcn.0040ccec
mov word [ebx + 0x70a], ax
cmp word [ebx + 0x70a], 0
jne 0x423166
lea eax, [ebp - 0xadc]
lea edx, [ebp - 0xab8]
mov ecx, 0x400
call fcn.00403d78
mov ecx, dword [ebp - 0xadc]
lea eax, [ebp - 0xad8]
mov edx, 0x425248
call fcn.00403df4
mov eax, dword [ebp - 0xad8]
mov edx, dword [ebp - 4]
call fcn.004201a0
lea eax, [ebp - 0xae0]
push eax
lea eax, [ebx + 0x730]
xor ecx, ecx
mov dl, 0x28
call fcn.00422d90
mov edx, dword [ebp - 0xae0]
lea eax, [ebx + 0x4c]
call fcn.00403b60
lea ecx, [ebp - 0xae4]
mov dl, 1
mov eax, dword [ebx + 0x4c]
call fcn.00414524
mov edx, dword [ebp - 0xae4]
lea eax, [ebx + 0x6f4]
call fcn.00403b60
lea eax, [ebp - 0xae8]
push eax
lea eax, [ebx + 0x71c]
xor ecx, ecx
mov dl, 0x14
call fcn.00422d90
mov edx, dword [ebp - 0xae8]
lea eax, [ebx + 0x40]
call fcn.00403b60
lea eax, [ebp - 0xaec]
push eax
lea eax, [ebx + 0x758]
xor ecx, ecx
mov dl, 8
call fcn.00422d90
mov edx, dword [ebp - 0xaec]
lea eax, [ebx + 0x44]
call fcn.00403b60
lea eax, [ebx + 0x768]
mov esi, dword [eax]
mov dword [ebx + 0x70c], esi
cmp esi, 0x20000
jbe 0x42323a
lea edx, [ebp - 0xaf4]
mov eax, esi
call fcn.0040628c
mov ecx, dword [ebp - 0xaf4]
lea eax, [ebp - 0xaf0]
mov edx, 0x42526c
call fcn.00403df4
mov eax, dword [ebp - 0xaf0]
mov edx, dword [ebp - 4]
call fcn.004201a0
mov al, byte [ebx + 0x818]
and al, 1
mov byte [ebx + 0x6b], al
lea eax, [ebx + 0x860]
cmp dword [eax], 0
je 0x423254
mov byte [ebx + 0x6f], 1
mov al, byte [ebx + 0x860]
and al, 1
mov byte [ebx + 0x70], al
mov al, byte [ebx + 0x81f]
mov byte [ebx + 0x2728], al
test al, al
je 0x423273
mov byte [ebx + 0x76], 1
lea eax, [ebx + 0xf18]
cmp word [eax], 0
je 0x4232d0
test byte [ebx + 0xf1b], 1
jne 0x4232a2
lea eax, [ebx + 0xf18]
movzx eax, word [eax]
mov ecx, 0x64
xor edx, edx
div ecx
mov byte [ebx + 0x2729], al
jmp 0x4232ba
lea eax, [ebx + 0xf18]
movzx eax, word [eax]
mov ecx, 0x2710
xor edx, edx
div ecx
mov byte [ebx + 0x2729], al
cmp byte [ebx + 0x2729], 0
jne 0x4232d0
mov edx, dword [ebp - 4]
mov eax, 0x42528c
call fcn.004201a0
mov al, byte [ebx + 0x821]
and al, 1
mov byte [ebx + 0x272a], al
mov al, byte [ebx + 0x925]
and al, 1
mov byte [ebx + 0x72], al
test byte [ebx + 0x818], 4
je 0x4232f6
mov byte [ebx + 0x48], 1
test byte [ebx + 0x920], 4
je 0x423306
mov byte [ebx + 0x2758], 1
lea eax, [ebx + 0x761]
mov eax, dword [eax]
and eax, 0xffffff
mov dword [ebx + 0x2760], eax
test byte [ebx + 0x818], 0x10
je 0x423329
mov byte [ebx + 0x6ab], 1
cmp byte [ebx + 0x6ab], 0
je 0x423347
mov byte [ebx + 0x6ac], 2
lea eax, [ebx + 0x854]
mov al, byte [eax]
mov byte [ebx + 0x6af], al
lea eax, [ebx + 0x822]
cmp word [eax], 0
je 0x423363
lea eax, [ebx + 0x822]
mov al, byte [eax]
sub al, 0x11
mov byte [ebx + 0x90], al
mov eax, ebx
call fcn.0042a394
lea eax, [ebx + 0x824]
cmp word [eax], 0
je 0x423386
lea eax, [ebx + 0x824]
mov al, byte [eax]
sub al, 0x11
mov byte [ebx + 0x91], al
lea eax, [ebx + 0x828]
cmp dword [eax], 0
je 0x423398
mov byte [ebx + 0x2720], 1
mov al, byte [ebx + 0x85a]
and al, 1
mov byte [ebx + 0x272b], al
lea eax, [ebx + 0x858]
cmp word [eax], 0
je 0x4233b9
mov byte [ebx + 0x2740], 1
lea eax, [ebx + 0x778]
test byte [eax], 2
je 0x4233cb
mov byte [ebx + 0x2748], 1
lea eax, [ebx + 0x778]
test byte [eax], 8
je 0x4233dd
mov byte [ebx + 0x274a], 1
lea eax, [ebx + 0x778]
test byte [eax], 0x20
je 0x4233ef
mov byte [ebx + 0x274c], 1
lea eax, [ebx + 0x818]
test byte [eax + 1], 2
je 0x423402
mov byte [ebx + 0x274f], 1
lea eax, [ebx + 0x91c]
mov eax, dword [eax]
mov dword [ebx + 0x710], eax
lea eax, [ebx + 0x934]
mov eax, dword [eax]
mov dword [ebx + 0x714], eax
test eax, eax
jne 0x42342e
mov eax, dword [ebx + 0x710]
mov dword [ebx + 0x714], eax
cmp dword [ebx + 0x710], 1
jbe 0x42346c
lea edx, [ebp - 0xafc]
mov eax, dword [ebx + 0x710]
call fcn.0040628c
mov ecx, dword [ebp - 0xafc]
lea eax, [ebp - 0xaf8]
mov edx, 0x4252a4
call fcn.00403df4
mov eax, dword [ebp - 0xaf8]
mov edx, dword [ebp - 4]
call fcn.004201a0
cmp dword [ebx + 0x710], 0
jbe 0x4235fa
mov esi, dword [ebx + 0x710]
cmp esi, 1
jb 0x4235fa
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00402b54
mov byte [ebp - 6], 0xec
mov eax, esi
mov byte [ebp - 0xa], al
lea ecx, [ebx + 0x1718]
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00421c68
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
je 0x4235b6
cmp esi, dword [ebx + 0x710]
je 0x4234fa
mov al, byte [ebx + 0x1732]
and al, 0xf
and eax, 0xff
shl eax, 2
add eax, 0x82
mov cl, byte [ebx + eax + 0x1718]
mov eax, 1
shl eax, cl
cmp eax, dword [ebx + 0x50]
je 0x4234fa
mov edx, dword [ebp - 4]
mov eax, 0x4252c0
call fcn.004201a0
mov al, byte [ebx + 0x1732]
and al, 0xf
and eax, 0xff
shl eax, 2
add eax, 0x82
mov cl, byte [ebx + eax + 0x1718]
mov eax, 1
shl eax, cl
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x50]
xor edx, edx
push edx
push eax
lea eax, [ebx + 0x1718]
mov edx, dword [eax + 4]
mov eax, dword [eax]
call fcn.00404630
add eax, dword [ebx + 0x58]
adc edx, dword [ebx + 0x5c]
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
xor eax, eax
mov al, byte [ebx + 0x1731]
shl eax, 2
add eax, 0x82
cmp byte [ebx + eax + 0x1718], 0
jne 0x42356a
mov edx, dword [ebp - 4]
mov eax, 0x4252fc
call fcn.004201a0
xor eax, eax
mov al, byte [ebx + 0x1731]
shl eax, 2
add eax, 0x82
mov cl, byte [ebx + eax + 0x1718]
mov eax, 1
shl eax, cl
cmp eax, dword [ebx + 0x2718]
jbe 0x4235f1
xor eax, eax
mov al, byte [ebx + 0x1731]
shl eax, 2
add eax, 0x82
mov cl, byte [ebx + eax + 0x1718]
mov eax, 1
shl eax, cl
mov dword [ebx + 0x2718], eax
jmp 0x4235f1
push 0x425320
lea edx, [ebp - 0xb04]
mov eax, esi
call fcn.0040628c
push dword [ebp - 0xb04]
push 0x42534c
lea eax, [ebp - 0xb00]
mov edx, 3
call fcn.00403e68
mov eax, dword [ebp - 0xb00]
mov edx, dword [ebp - 4]
call fcn.004201a0
dec esi
test esi, esi
jne 0x423488
cmp dword [ebx + 0x5c], 0
jne 0x423613
cmp dword [ebx + 0x58], 0
jne 0x423613
mov edx, dword [ebp - 4]
mov eax, 0x425360
call fcn.004201a0
push ebp
mov edx, dword [ebp - 4]
mov al, 1
call fcn.00422e68
pop ecx
test al, al
je 0x42362c
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x2730], eax
push ebp
mov edx, dword [ebp - 4]
mov al, 2
call fcn.00422e68
pop ecx
test al, al
je 0x423645
mov al, byte [ebp - 0x10]
mov byte [ebx + 0x2734], al
cmp byte [ebx + 0x72], 0
je 0x423664
push ebp
mov edx, dword [ebp - 4]
mov al, 6
call fcn.00422e68
pop ecx
test al, al
je 0x423664
mov eax, dword [ebp - 0x10]
and eax, 1
mov byte [ebx + 0x73], al
push ebp
mov edx, dword [ebp - 4]
mov al, 8
call fcn.00422e68
pop ecx
test al, al
je 0x42367f
mov ax, word [ebp - 0x10]
mov word [ebx + 0x2736], ax
push ebp
mov edx, dword [ebp - 4]
mov al, 9
call fcn.00422e68
pop ecx
test al, al
je 0x423698
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x2738], eax
push ebp
mov edx, dword [ebp - 4]
mov al, 0xb
call fcn.00422e68
pop ecx
test al, al
je 0x4236b1
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x273c], eax
cmp byte [ebx + 0x272a], 0
je 0x4236d6
push ebp
mov edx, dword [ebp - 4]
mov al, 0xc
call fcn.00422e68
pop ecx
test al, al
je 0x4236d6
mov eax, dword [ebp - 0x10]
and eax, 1
mov byte [ebx + 0x272e], al
cmp byte [ebx + 0x2720], 0
je 0x423764
push ebp
mov edx, dword [ebp - 4]
mov al, 0xd
call fcn.00422e68
pop ecx
test al, al
je 0x423764
mov eax, dword [ebp - 0x10]
and eax, 1
mov byte [ebx + 0x2721], al
cmp byte [ebx + 0x2721], 0
je 0x42375c
cmp dword [0x447914], 0x1000
je 0x423748
lea edx, [ebp - 0xb0c]
mov eax, 0x1000
call fcn.0040628c
mov ecx, dword [ebp - 0xb0c]
lea eax, [ebp - 0xb08]
mov edx, 0x42537c
call fcn.00403df4
mov eax, dword [ebp - 0xb08]
mov edx, dword [ebp - 4]
call fcn.004201a0
mov eax, dword [ebx + 0x2724]
imul dword [0x447914]
mov dword [ebx + 0x2724], eax
jmp 0x423764
xor eax, eax
mov dword [ebx + 0x2724], eax
cmp byte [ebx + 0x2740], 0
je 0x423786
push ebp
mov edx, dword [ebp - 4]
mov al, 0xf
call fcn.00422e68
pop ecx
test al, al
je 0x423786
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x2744], eax
cmp byte [ebx + 0x272b], 0
je 0x4237ce
push ebp
mov edx, dword [ebp - 4]
mov al, 0x10
call fcn.00422e68
pop ecx
test al, al
je 0x4237ce
mov eax, dword [ebp - 0x10]
call fcn.00405740
test ax, ax
je 0x4237bc
mov eax, dword [ebp - 0x10]
call fcn.00405740
sub al, 0x11
mov byte [ebx + 0x272c], al
cmp word [ebp - 0x10], 0
je 0x4237ce
mov al, byte [ebp - 0x10]
sub al, 0x11
mov byte [ebx + 0x272d], al
cmp byte [ebx + 0x2748], 0
je 0x4237f3
push ebp
mov edx, dword [ebp - 4]
mov al, 0x11
call fcn.00422e68
pop ecx
test al, al
je 0x4237f3
mov eax, dword [ebp - 0x10]
and eax, 1
mov byte [ebx + 0x2749], al
cmp byte [ebx + 0x274a], 0
je 0x423817
push ebp
mov edx, dword [ebp - 4]
mov al, 0x12
call fcn.00422e68
pop ecx
test al, al
je 0x423817
mov al, byte [ebp - 0x10]
and al, 0xf
mov byte [ebx + 0x274b], al
cmp byte [ebx + 0x274c], 0
je 0x423857
push ebp
mov edx, dword [ebp - 4]
mov al, 0x13
call fcn.00422e68
pop ecx
test al, al
je 0x42383c
mov eax, dword [ebp - 0x10]
and eax, 1
mov byte [ebx + 0x274d], al
push ebp
mov edx, dword [ebp - 4]
mov al, 0x14
call fcn.00422e68
pop ecx
test al, al
je 0x423857
mov al, byte [ebp - 0x10]
and al, 7
mov byte [ebx + 0x274e], al
cmp byte [ebx + 0x274f], 0
je 0x424096
push ebp
mov edx, dword [ebp - 4]
mov al, 0x15
call fcn.00422e68
pop ecx
test al, al
je 0x424096
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x2750], eax
jmp 0x424096
lea eax, [ebp - 0xb10]
push eax
lea eax, [ebx + 0xe0]
mov cl, 1
mov dl, 0x28
call fcn.00422d90
mov edx, dword [ebp - 0xb10]
lea eax, [ebx + 0x4c]
call fcn.00403b60
lea ecx, [ebp - 0xb14]
xor edx, edx
mov eax, dword [ebx + 0x4c]
call fcn.00414524
mov edx, dword [ebp - 0xb14]
lea eax, [ebx + 0x6f4]
call fcn.00403b60
lea eax, [ebp - 0xb18]
push eax
lea eax, [ebx + 0xbe]
mov cl, 1
mov dl, 0x14
call fcn.00422d90
mov edx, dword [ebp - 0xb18]
lea eax, [ebx + 0x40]
call fcn.00403b60
lea eax, [ebp - 0xb1c]
push eax
lea eax, [ebx + 0xd8]
mov cl, 1
mov dl, 8
call fcn.00422d90
mov edx, dword [ebp - 0xb1c]
lea eax, [ebx + 0x44]
call fcn.00403b60
cmp word [ebx + 0x25c], 1
jne 0x423926
mov byte [ebx + 0x706], 1
jmp 0x42394a
cmp word [ebx + 0x25c], 0x400
jbe 0x42394a
cmp word [ebx + 0x25c], 0xffff
je 0x42394a
mov ax, word [ebx + 0x25c]
mov word [ebx + 0x2756], ax
cmp word [ebx + 0x14a], 0
je 0x423963
movzx eax, word [ebx + 0x14a]
call fcn.0040ff94
mov byte [ebx + 0x60], al
cmp byte [ebx + 0x60], 0xc
jbe 0x42399d
lea edx, [ebp - 0xb24]
xor eax, eax
mov al, byte [ebx + 0x60]
call fcn.0040628c
mov ecx, dword [ebp - 0xb24]
lea eax, [ebp - 0xb20]
mov edx, 0x425390
call fcn.00403df4
mov eax, dword [ebp - 0xb20]
mov edx, dword [ebp - 4]
call fcn.004201a0
movzx eax, word [ebx + 0xd4]
shl eax, 9
mov dword [ebx + 0x64], eax
mov dl, 0xf
mov ax, word [ebx + 0x10a]
call fcn.0040ff98
test al, al
jne 0x4239df
mov dl, 0xe
mov ax, word [ebx + 0x10a]
call fcn.0040ff98
test al, al
je 0x4239df
xor edx, edx
mov ax, word [ebx + 0x10a]
call fcn.0040ff98
mov byte [ebx + 0x71], al
mov al, byte [ebx + 0x140]
and al, 0xff
inc eax
mov byte [ebx + 0x68], al
mov dl, 2
mov ax, word [ebx + 0x114]
call fcn.0040ff98
test al, al
je 0x423a49
mov ax, word [ebx + 0x15a]
and ax, 0xff
test ax, ax
je 0x423a23
mov ax, word [ebx + 0x15a]
and ax, 0xff
movzx eax, ax
call fcn.0040ff94
mov byte [ebx + 0x6a], al
mov ax, word [ebx + 0x15a]
shr ax, 8
test ax, ax
je 0x423a49
mov ax, word [ebx + 0x15a]
shr ax, 8
movzx eax, ax
call fcn.0040ff90
mov byte [ebx + 0x69], al
mov dl, 1
mov ax, word [ebx + 0x14e]
call fcn.0040ff98
mov byte [ebx + 0x6b], al
cmp byte [ebx + 0x6b], 0
je 0x423a76
mov ax, word [ebx + 0x15c]
and ax, 0x7fff
movzx eax, ax
add eax, eax
mov dword [ebx + 0x6e0], eax
mov dl, 0xc
mov ax, word [ebx + 0x120]
call fcn.0040ff98
mov byte [ebx + 0x6f], al
cmp byte [ebx + 0x6f], 0
je 0x423a9e
mov dl, 0xd
mov ax, word [ebx + 0x120]
call fcn.0040ff98
mov byte [ebx + 0x70], al
mov dl, 3
mov ax, word [ebx + 0x14e]
call fcn.0040ff98
mov byte [ebx + 0x76], al
mov dl, 5
mov ax, word [ebx + 0x14e]
call fcn.0040ff98
mov byte [ebx + 0x72], al
mov dl, 6
mov ax, word [ebx + 0x14e]
call fcn.0040ff98
mov byte [ebx + 0x74], al
mov dl, 0xa
mov ax, word [ebx + 0x14e]
call fcn.0040ff98
mov byte [ebx + 0x85], al
xor edx, edx
mov ax, word [ebx + 0x150]
call fcn.0040ff98
mov byte [ebx + 0x48], al
mov dl, 1
mov ax, word [ebx + 0x150]
call fcn.0040ff98
mov byte [ebx + 0x88], al
cmp byte [ebx + 0x88], 0
je 0x423b20
cmp byte [ebx + 0x68], 1
je 0x423b20
mov byte [ebx + 0x89], 1
mov dl, 3
mov ax, word [ebx + 0x150]
call fcn.0040ff98
mov byte [ebx + 0x77], al
cmp byte [ebx + 0x85], 0
je 0x423b4e
mov dl, 8
mov ax, word [ebx + 0x150]
call fcn.0040ff98
mov byte [ebx + 0x86], al
cmp byte [ebx + 0x706], 0
jne 0x423b68
mov dl, 9
mov ax, word [ebx + 0x150]
call fcn.0040ff98
mov byte [ebx + 0x7a], al
mov dl, 0xa
mov ax, word [ebx + 0x150]
call fcn.0040ff98
mov byte [ebx + 0x84], al
mov dl, 3
mov ax, word [ebx + 0x156]
call fcn.0040ff98
mov byte [ebx + 0x78], al
cmp byte [ebx + 0x86], 0
je 0x423baa
mov dl, 8
mov ax, word [ebx + 0x156]
call fcn.0040ff98
mov byte [ebx + 0x87], al
cmp byte [ebx + 0x7a], 0
je 0x423bc1
mov dl, 9
mov ax, word [ebx + 0x156]
call fcn.0040ff98
mov byte [ebx + 0x7b], al
cmp byte [ebx + 0x78], 0
je 0x423bd2
mov al, byte [ebx + 0x160]
and al, 0xff
mov byte [ebx + 0x79], al
cmp byte [ebx + 0x7a], 0
je 0x423be6
mov ax, word [ebx + 0x166]
shr ax, 8
mov byte [ebx + 0x7d], al
cmp byte [ebx + 0x7b], 0
je 0x423bf7
mov al, byte [ebx + 0x166]
and al, 0xff
mov byte [ebx + 0x7c], al
cmp byte [ebx + 0x84], 0
je 0x423c31
push 0
push 0x200
lea eax, [ebx + 0x172]
mov edx, dword [eax + 4]
mov eax, dword [eax]
sub eax, 1
sbb edx, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
call fcn.00404630
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
jmp 0x423c4e
push 0
push 0x200
lea eax, [ebx + 0x122]
mov eax, dword [eax]
dec eax
xor edx, edx
call fcn.00404630
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], edx
mov dl, 0xf
mov ax, word [ebx + 0x17e]
call fcn.0040ff98
test al, al
jne 0x423c9e
mov dl, 0xe
mov ax, word [ebx + 0x17e]
call fcn.0040ff98
test al, al
je 0x423c9e
mov dl, 0xd
mov ax, word [ebx + 0x17e]
call fcn.0040ff98
test al, al
je 0x423c9e
mov cx, word [ebx + 0x17e]
and cx, 0xf
mov eax, 1
shl eax, cl
shl eax, 9
mov dword [ebx + 0x50], eax
jmp 0x423ca5
mov dword [ebx + 0x50], 0x200
mov dl, 1
mov ax, word [ebx + 0x154]
call fcn.0040ff98
mov byte [ebx + 0x6c], al
cmp byte [ebx + 0x6b], 0
je 0x423cde
mov dl, 2
mov ax, word [ebx + 0x1aa]
call fcn.0040ff98
mov byte [ebx + 0x6d], al
mov dl, 5
mov ax, word [ebx + 0x1aa]
call fcn.0040ff98
mov byte [ebx + 0x6e], al
mov dl, 5
mov ax, word [ebx + 0x154]
call fcn.0040ff98
mov byte [ebx + 0x73], al
mov dl, 6
mov ax, word [ebx + 0x154]
call fcn.0040ff98
mov byte [ebx + 0x75], al
mov ax, word [ebx + 0x142]
cmp ax, 0xffff
je 0x423e33
test ax, ax
je 0x423e33
mov byte [ebx + 0x275c], 1
mov ax, word [ebx + 0x142]
and ax, 0xe
test ax, ax
je 0x423d83
mov ax, word [ebx + 0x142]
and ax, 0xe
movzx eax, ax
call fcn.0040ff94
mov byte [ebx + 0x62], al
cmp byte [ebx + 0x62], 3
jbe 0x423d90
lea edx, [ebp - 0xb2c]
xor eax, eax
mov al, byte [ebx + 0x62]
call fcn.0040628c
mov ecx, dword [ebp - 0xb2c]
lea eax, [ebp - 0xb28]
mov edx, 0x4253b0
call fcn.00403df4
mov eax, dword [ebp - 0xb28]
mov edx, dword [ebp - 4]
call fcn.004201a0
jmp 0x423d90
mov edx, dword [ebp - 4]
mov eax, 0x4253e0
call fcn.004201a0
cmp word [ebx + 0x144], 0
je 0x423de7
mov ax, word [ebx + 0x144]
and ax, 0xe
movzx eax, ax
shr eax, 1
mov byte [ebx + 0x63], al
cmp byte [ebx + 0x63], 3
jbe 0x423de7
lea edx, [ebp - 0xb34]
xor eax, eax
mov al, byte [ebx + 0x63]
call fcn.0040628c
mov ecx, dword [ebp - 0xb34]
lea eax, [ebp - 0xb30]
mov edx, 0x425408
call fcn.00403df4
mov eax, dword [ebp - 0xb30]
mov edx, dword [ebp - 4]
call fcn.004201a0
mov dl, 8
mov ax, word [ebx + 0x142]
call fcn.0040ff98
test al, al
je 0x423dff
cmp byte [ebx + 0x68], 1
jne 0x423e03
xor eax, eax
jmp 0x423e05
mov al, 1
mov byte [ebx + 0x8a], al
mov dl, 8
mov ax, word [ebx + 0x146]
call fcn.0040ff98
mov byte [ebx + 0x8b], al
mov dl, 8
mov ax, word [ebx + 0x148]
call fcn.0040ff98
mov byte [ebx + 0x8c], al
mov ax, word [ebx + 0x266]
cmp ax, 0xffff
je 0x423ebc
test ax, ax
je 0x423ebc
movzx edx, ax
shr edx, 0xc
cmp edx, 0xe
jne 0x423e59
mov byte [ebx + 0x275c], 0xe
jmp 0x423ebc
cmp byte [ebx + 0x275c], 1
jne 0x423ebc
and ax, 0xfff
test ax, ax
je 0x423e82
mov ax, word [ebx + 0x266]
and ax, 0xfff
movzx eax, ax
call fcn.0040ff94
inc eax
mov byte [ebx + 0x61], al
cmp byte [ebx + 0x61], 0xb
jbe 0x423ebc
lea edx, [ebp - 0xb3c]
xor eax, eax
mov al, byte [ebx + 0x61]
call fcn.0040628c
mov ecx, dword [ebp - 0xb3c]
lea eax, [ebp - 0xb38]
mov edx, 0x425438
call fcn.00403df4
mov eax, dword [ebp - 0xb38]
mov edx, dword [ebp - 4]
call fcn.004201a0
cmp dword [ebx + 0x5c], 0x1ff
jne 0x423ee4
cmp dword [ebx + 0x58], 0xfffffe00
jne 0x423ee4
cmp byte [ebx + 0x275c], 0
jne 0x423ee4
lea eax, [ebp - 4]
call fcn.00405d34
jmp 0x425174
mov dl, 0xf
mov ax, word [ebx + 0x156]
call fcn.0040ff98
test al, al
je 0x423f7b
mov dl, 0xf
mov ax, word [ebx + 0x198]
call fcn.0040ff98
test al, al
jne 0x423f2f
mov dl, 0xe
mov ax, word [ebx + 0x198]
call fcn.0040ff98
test al, al
je 0x423f2f
mov dl, 5
mov ax, word [ebx + 0x198]
call fcn.0040ff98
mov byte [ebx + 0x7e], al
mov dl, 0xf
mov ax, word [ebx + 0x19a]
call fcn.0040ff98
test al, al
jne 0x423f64
mov dl, 0xe
mov ax, word [ebx + 0x19a]
call fcn.0040ff98
test al, al
je 0x423f64
mov dl, 5
mov ax, word [ebx + 0x19a]
call fcn.0040ff98
mov byte [ebx + 0x7f], al
cmp byte [ebx + 0x7f], 0
je 0x423f7b
mov ax, word [ebx + 0x114]
shr ax, 8
mov byte [ebx + 0x80], al
xor edx, edx
mov ax, word [ebx + 0x246]
call fcn.0040ff98
test al, al
je 0x423fad
mov byte [ebx + 0x81], 1
mov dl, 5
mov ax, word [ebx + 0x246]
call fcn.0040ff98
test al, al
je 0x423fad
mov byte [ebx + 0x83], 1
mov al, byte [ebx + 0x1fa]
and al, 0xf
mov byte [ebx + 0x275d], al
cmp byte [ebx + 0x275d], 9
jbe 0x424014
mov eax, dword [ebx + 0x6f4]
mov edx, 0x425458
call fcn.00403ef4
je 0x42400d
lea edx, [ebp - 0xb44]
xor eax, eax
mov al, byte [ebx + 0x275d]
call fcn.0040628c
mov ecx, dword [ebp - 0xb44]
lea eax, [ebp - 0xb40]
mov edx, 0x425468
call fcn.00403df4
mov eax, dword [ebp - 0xb40]
mov edx, dword [ebp - 4]
call fcn.004201a0
mov byte [ebx + 0x275d], 0
cmp byte [ebx + 0x706], 0
je 0x424036
xor edx, edx
mov ax, word [ebx + 0x1fc]
call fcn.0040ff98
test al, al
je 0x424036
mov byte [ebx + 0x2758], 1
mov dl, 0xf
mov ax, word [ebx + 0x158]
call fcn.0040ff98
test al, al
jne 0x424096
mov dl, 0xe
mov ax, word [ebx + 0x158]
call fcn.0040ff98
test al, al
je 0x424096
mov dl, 8
mov ax, word [ebx + 0x158]
call fcn.0040ff98
test al, al
je 0x424096
mov byte [ebx + 0x275e], 1
mov ax, word [ebx + 0x182]
and ax, 0xfff
movzx eax, ax
shl eax, 0xc
movzx edx, word [ebx + 0x184]
shr edx, 4
or eax, edx
mov dword [ebx + 0x2760], eax
cmp dword [ebx + 0x6f4], 0
jne 0x42412e
mov edx, dword [ebp - 4]
mov eax, 0x425494
call fcn.004201a0
lea ecx, [ebp - 0xb4c]
mov edx, 6
mov eax, dword [ebx + 0x2760]
call fcn.0040ccb8
mov ecx, dword [ebp - 0xb4c]
lea eax, [ebp - 0xb48]
mov edx, 0x4254b4
call fcn.00403df4
mov eax, dword [ebp - 0xb48]
mov edx, dword [ebp - 4]
call fcn.004201a0
cmp byte [ebx + 0x707], 0
je 0x42412e
lea ecx, [ebp - 0xb54]
movzx eax, word [ebx + 0x708]
mov edx, 4
call fcn.0040ccb8
mov ecx, dword [ebp - 0xb54]
lea eax, [ebp - 0xb50]
mov edx, 0x4254c4
call fcn.00403df4
mov eax, dword [ebp - 0xb50]
mov edx, dword [ebp - 4]
call fcn.004201a0
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00402b54
mov byte [ebp - 6], 0xb0
mov byte [ebp - 0xc], 0xd0
mov byte [ebp - 9], 0x4f
mov byte [ebp - 8], 0xc2
mov byte [ebp - 0xb], 1
lea ecx, [ebx + 0x2ab]
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00421c68
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
jne 0x424177
lea eax, [ebp - 4]
call fcn.00405d34
jmp 0x425174
cmp byte [ebx + 0x707], 0
je 0x42418c
mov eax, ebx
call fcn.00429fe8
jmp 0x424a2d
mov eax, ebx
call fcn.00429fb8
test al, al
jne 0x4241ab
mov byte [ebx + 0x275b], 1
lea eax, [ebp - 4]
call fcn.00405d34
jmp 0x425174
test byte [ebx + 0x41a], 0x10
je 0x4241bb
mov byte [ebx + 0x6ab], 1
cmp byte [ebx + 0x6ab], 0
je 0x4241dc
mov al, byte [ebx + 0x41f]
mov byte [ebx + 0x6ac], al
mov al, byte [ebx + 0x420]
mov byte [ebx + 0x6af], al
mov eax, ebx
call fcn.00429f98
mov byte [ebx + 0x2aa], al
cmp byte [ebx + 0x2aa], 0
jne 0x4241ff
lea eax, [ebp - 4]
call fcn.00405d34
jmp 0x425174
cmp byte [ebx + 0x706], 0
je 0x42420f
mov eax, ebx
call fcn.004229ac
mov eax, dword [ebx + 0x44]
mov edx, 0x4254dc
call fcn.00403ef4
jne 0x424286
lea eax, [ebx + 0x6f4]
mov edx, 0x4254ec
call fcn.00403b60
mov eax, dword [ebx + 0x4c]
mov edx, 0x4254fc
call fcn.00403ef4
je 0x424286
mov eax, dword [ebx + 0x4c]
mov edx, 0x425514
call fcn.00403ef4
je 0x424286
mov eax, dword [ebx + 0x4c]
mov edx, 0x425530
call fcn.00403ef4
je 0x424286
mov eax, dword [ebx + 0x4c]
mov edx, 0x42554c
call fcn.00403ef4
je 0x424286
mov eax, dword [ebx + 0x4c]
mov edx, 0x42556c
call fcn.00403ef4
je 0x424286
mov edx, dword [ebp - 4]
mov eax, 0x42558c
call fcn.004201a0
mov eax, dword [ebx + 0x6f4]
mov edx, 0x42559c
call fcn.00403ef4
jne 0x42436b
mov al, byte [ebx + 0x6fc]
cmp al, 0x11
je 0x4242ae
cmp al, 0x12
je 0x4242ae
cmp al, 0xa
jne 0x4242be
mov edx, 0x4254ec
lea eax, [ebx + 0x6f4]
call fcn.00403b60
mov eax, dword [ebx + 0x44]
mov edx, 0x4255ac
call fcn.00403ef4
je 0x4242dc
mov eax, dword [ebx + 0x44]
mov edx, 0x4255bc
call fcn.00403ef4
jne 0x4242ec
mov edx, 0x4254ec
lea eax, [ebx + 0x6f4]
call fcn.00403b60
mov eax, dword [ebx + 0x4c]
mov edx, 0x4255cc
call fcn.00403ef4
je 0x424364
mov eax, dword [ebx + 0x4c]
mov edx, 0x4255e4
call fcn.00403ef4
je 0x424364
mov eax, dword [ebx + 0x4c]
mov edx, 0x4255fc
call fcn.00403ef4
je 0x424364
mov eax, dword [ebx + 0x4c]
mov edx, 0x425614
call fcn.00403ef4
je 0x424364
mov eax, dword [ebx + 0x4c]
mov edx, 0x42562c
call fcn.00403ef4
je 0x424364
mov eax, dword [ebx + 0x4c]
mov edx, 0x425644
call fcn.00403ef4
je 0x424364
mov eax, dword [ebx + 0x4c]
mov edx, 0x42565c
call fcn.00403ef4
je 0x424364
mov eax, dword [ebx + 0x4c]
mov edx, 0x425674
call fcn.00403ef4
jne 0x42436b
mov byte [ebx + 0x92], 1
mov eax, dword [ebx + 0x6f4]
mov edx, 0x42568c
call fcn.00403ef4
jne 0x4243ab
mov eax, dword [ebx + 0x4c]
mov edx, 0x4256a4
call fcn.00403ef4
jne 0x4243ab
mov eax, dword [ebx + 0x44]
mov edx, 0x4256c4
call fcn.00403ef4
jne 0x4243ab
mov edx, 0x4254ec
lea eax, [ebx + 0x6f4]
call fcn.00403b60
mov eax, dword [ebx + 0x6f4]
mov edx, 0x4256d4
call fcn.00403ef4
jne 0x424602
mov eax, dword [ebx + 0x4c]
mov edx, 0x4256e8
call fcn.00403ef4
jne 0x42442a
mov eax, dword [ebx + 0x44]
mov edx, 0x425708
call fcn.00403ef4
je 0x424415
mov eax, dword [ebx + 0x44]
mov edx, 0x425718
call fcn.00403ef4
je 0x424415
mov eax, dword [ebx + 0x44]
mov edx, 0x425728
call fcn.00403ef4
je 0x424415
mov eax, dword [ebx + 0x44]
mov edx, 0x42573c
call fcn.00403ef4
jne 0x42442a
cmp byte [ebx + 0x6fc], 0x11
jne 0x42442a
mov edx, 0x4254ec
lea eax, [ebx + 0x6f4]
call fcn.00403b60
jmp 0x424602
mov eax, dword [ebx + 0x4c]
mov edx, 0x425750
call fcn.00403ef4
jne 0x424484
mov eax, dword [ebx + 0x44]
mov edx, 0x425770
call fcn.00403ef4
je 0x42446f
mov eax, dword [ebx + 0x44]
mov edx, 0x425780
call fcn.00403ef4
je 0x42446f
mov eax, dword [ebx + 0x44]
mov edx, 0x425794
call fcn.00403ef4
jne 0x424484
cmp byte [ebx + 0x6fc], 0x11
jne 0x424484
mov edx, 0x4254ec
lea eax, [ebx + 0x6f4]
call fcn.00403b60
jmp 0x424602
mov eax, dword [ebx + 0x4c]
mov edx, 0x4257a8
call fcn.00403ef4
jne 0x42450b
mov eax, dword [ebx + 0x44]
mov edx, 0x4257c8
call fcn.00403ef4
je 0x4244f6
mov eax, dword [ebx + 0x44]
mov edx, 0x4257d8
call fcn.00403ef4
je 0x4244f6
mov eax, dword [ebx + 0x44]
mov edx, 0x4256c4
call fcn.00403ef4
je 0x4244f6
mov eax, dword [ebx + 0x44]
mov edx, 0x4257e8
call fcn.00403ef4
je 0x4244f6
mov eax, dword [ebx + 0x44]
mov edx, 0x4257f8
call fcn.00403ef4
je 0x4244f6
mov eax, dword [ebx + 0x44]
mov edx, 0x42573c
call fcn.00403ef4
jne 0x42450b
cmp byte [ebx + 0x6fc], 0x11
jne 0x42450b
mov edx, 0x4254ec
lea eax, [ebx + 0x6f4]
call fcn.00403b60
jmp 0x424602
mov eax, dword [ebx + 0x4c]
mov edx, 0x42580c
call fcn.00403ef4
jne 0x424547
mov eax, dword [ebx + 0x44]
mov edx, 0x42573c
call fcn.00403ef4
jne 0x424547
cmp byte [ebx + 0x6fc], 0x11
jne 0x424547
mov edx, 0x4254ec
lea eax, [ebx + 0x6f4]
call fcn.00403b60
jmp 0x424602
mov eax, dword [ebx + 0x4c]
mov edx, 0x42582c
call fcn.00403ef4
jne 0x42459e
mov eax, dword [ebx + 0x44]
mov edx, 0x42584c
call fcn.00403ef4
je 0x42458c
mov eax, dword [ebx + 0x44]
mov edx, 0x42585c
call fcn.00403ef4
je 0x42458c
mov eax, dword [ebx + 0x44]
mov edx, 0x42586c
call fcn.00403ef4
jne 0x42459e
cmp byte [ebx + 0x6fc], 0x11
jne 0x42459e
mov edx, 0x4254ec
lea eax, [ebx + 0x6f4]
call fcn.00403b60
jmp 0x424602
mov eax, dword [ebx + 0x4c]
mov edx, 0x425880
call fcn.00403ef4
jne 0x424602
mov eax, dword [ebx + 0x44]
mov edx, 0x4258a0
call fcn.00403ef4
je 0x4245f2
mov eax, dword [ebx + 0x44]
mov edx, 0x4258b0
call fcn.00403ef4
je 0x4245f2
mov eax, dword [ebx + 0x44]
mov edx, 0x4258c0
call fcn.00403ef4
je 0x4245f2
mov eax, dword [ebx + 0x44]
mov edx, 0x4258d0
call fcn.00403ef4
jne 0x424602
cmp byte [ebx + 0x6fc], 0x11
jne 0x424602
mov edx, 0x4254ec
lea eax, [ebx + 0x6f4]
call fcn.00403b60
cmp byte [ebx + 0x81], 0
je 0x424671
lea edx, [ebp - 0x268]
mov eax, ebx
call fcn.00429394
test al, al
je 0x424664
mov byte [ebx + 0x82], 1
cmp byte [ebp - 0x19c], 0x80
jae 0x42463a
mov al, byte [ebp - 0x19c]
mov byte [ebx + 0x8f], al
jmp 0x424652
mov eax, ebx
call fcn.0042942c
test al, al
je 0x424652
mov edx, dword [ebp - 4]
mov eax, 0x4258e4
call fcn.004201a0
cmp byte [ebx + 0x83], 0
je 0x424671
mov eax, ebx
call fcn.00429d00
jmp 0x424671
mov edx, dword [ebp - 4]
mov eax, 0x425908
call fcn.004201a0
mov eax, ebx
call fcn.0042a394
mov eax, ebx
call fcn.00429fe8
cmp byte [ebx + 0x6be], 0
je 0x424694
mov eax, dword [ebx + 0x6c8]
mov dword [ebx + 0x6c4], eax
cmp byte [ebx + 0x8e], 0
jne 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425924
call fcn.00403ef4
jne 0x4246c3
mov eax, dword [ebx + 0x44]
mov edx, 0x425950
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425964
call fcn.00403ef4
jne 0x4246e5
mov eax, dword [ebx + 0x44]
mov edx, 0x425980
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425990
call fcn.00403ef4
jne 0x42471a
mov eax, dword [ebx + 0x44]
mov edx, 0x4259ac
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x44]
mov edx, 0x4259bc
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x4259cc
call fcn.00403ef4
jne 0x42473c
mov eax, dword [ebx + 0x44]
mov edx, 0x4259f8
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425a08
call fcn.00403ef4
jne 0x42475e
mov eax, dword [ebx + 0x44]
mov edx, 0x425a24
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425a34
call fcn.00403ef4
jne 0x424780
mov eax, dword [ebx + 0x44]
mov edx, 0x425a24
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425a50
call fcn.00403ef4
jne 0x4247a2
mov eax, dword [ebx + 0x44]
mov edx, 0x425a70
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425a84
call fcn.00403ef4
jne 0x4247c4
mov eax, dword [ebx + 0x44]
mov edx, 0x425a9c
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425aac
call fcn.00403ef4
jne 0x4247e6
mov eax, dword [ebx + 0x44]
mov edx, 0x425ac4
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425ad4
call fcn.00403ef4
jne 0x424808
mov eax, dword [ebx + 0x44]
mov edx, 0x425aec
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425afc
call fcn.00403ef4
jne 0x424826
mov eax, dword [ebx + 0x44]
mov edx, 0x425b18
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425b28
call fcn.00403ef4
jne 0x424844
mov eax, dword [ebx + 0x44]
mov edx, 0x425b3c
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425b48
call fcn.00403ef4
jne 0x424862
mov eax, dword [ebx + 0x44]
mov edx, 0x425b60
call fcn.00403ef4
je 0x42488d
mov eax, dword [ebx + 0x4c]
mov edx, 0x425b70
call fcn.00403ef4
jne 0x424880
mov eax, dword [ebx + 0x44]
mov edx, 0x425b84
call fcn.00403ef4
je 0x42488d
mov edx, dword [ebp - 4]
mov eax, 0x425b90
call fcn.004201a0
cmp byte [ebx + 0x8f], 0
jne 0x424943
cmp byte [ebx + 0x8d], 0
je 0x424943
xor eax, eax
mov al, byte [ebx + 0x8d]
lea eax, [eax + eax*2]
lea eax, [ebx + eax*4 + 0x2a1]
cmp byte [eax + 6], 0
je 0x4248ce
cmp byte [eax + 7], 0
je 0x4248ce
mov dl, byte [eax + 7]
mov byte [ebx + 0x8f], dl
cmp byte [eax + 7], 0
je 0x4248e3
cmp byte [eax + 8], 0
je 0x4248e3
mov dl, byte [eax + 8]
mov byte [ebx + 0x8f], dl
cmp byte [eax + 7], 0
je 0x4248f8
cmp byte [eax + 9], 0
je 0x4248f8
mov al, byte [eax + 9]
mov byte [ebx + 0x8f], al
cmp byte [ebx + 0x8f], 0x55
jbe 0x424943
lea edx, [ebp - 0xb5c]
xor eax, eax
mov al, byte [ebx + 0x8d]
lea eax, [eax + eax*2]
movzx eax, byte [ebx + eax*4 + 0x2a1]
call fcn.0040628c
mov ecx, dword [ebp - 0xb5c]
lea eax, [ebp - 0xb58]
mov edx, 0x425ba8
call fcn.00403df4
mov eax, dword [ebp - 0xb58]
mov edx, dword [ebp - 4]
call fcn.004201a0
lea eax, [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00402b54
mov byte [ebp - 6], 0xb0
mov byte [ebp - 0xc], 0xd1
mov byte [ebp - 9], 0x4f
mov byte [ebp - 8], 0xc2
mov byte [ebp - 0xb], 1
lea ecx, [ebx + 0x4ab]
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00421c68
mov byte [ebp - 0x19], al
cmp byte [0x447b78], 0
je 0x424a1a
xor eax, eax
mov al, byte [0x447b78]
dec eax
test eax, eax
jb 0x424a1a
inc eax
mov dword [ebp - 0x3c], eax
mov esi, 0x447b7c
mov eax, dword [ebx + 0x40]
mov edx, dword [esi]
mov edx, dword [edx + 0x40]
call fcn.00403ef4
jne 0x4249d2
lea eax, [ebp - 0xb60]
mov ecx, dword [ebx + 0x2c]
mov edx, 0x425bd8
call fcn.00403df4
mov eax, dword [ebp - 0xb60]
xor edx, edx
call fcn.004201a0
mov byte [ebp - 0x19], 0
mov eax, dword [esi]
lea edx, [eax + 0x2ab]
lea eax, [ebx + 0x2ab]
mov ecx, 0x200
call fcn.00406328
test al, al
je 0x424a12
lea eax, [ebp - 0xb64]
mov ecx, dword [ebx + 0x2c]
mov edx, 0x425c04
call fcn.00403df4
mov eax, dword [ebp - 0xb64]
xor edx, edx
call fcn.004201a0
mov byte [ebp - 0x19], 0
add esi, 4
dec dword [ebp - 0x3c]
jne 0x42499f
cmp byte [ebp - 0x19], 0
jne 0x424a2d
lea eax, [ebp - 4]
call fcn.00405d34
jmp 0x425174
mov eax, ebx
call fcn.004227a8
cmp byte [ebx + 0x707], 0
jne 0x424a83
cmp byte [ebx + 0x275c], 0
jne 0x424a83
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b428
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
lea eax, [ebp - 0xab8]
mov al, byte [eax]
mov byte [ebx + 0x30], al
lea eax, [ebp - 0xab8]
cmp byte [eax], 2
jae 0x424a83
mov byte [ebx + 0x32], 1
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b414
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
mov eax, dword [ebp + 8]
push eax
push 0
push 0
lea eax, [ebp - 0xab8]
push eax
push edi
call sub.setupapi.dll_SetupDiOpenDeviceInfoW
cmp byte [ebx + 0x707], 0
jne 0x424b16
cmp byte [ebx + 0x275c], 0
jne 0x424b16
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b428
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
lea eax, [ebp - 0xab8]
mov al, byte [eax]
mov byte [ebx + 0x31], al
cmp byte [ebx + 0x32], 0
je 0x424b12
lea eax, [ebp - 0xab8]
cmp byte [eax], 2
jae 0x424b12
mov byte [ebx + 0x32], 1
jmp 0x424b16
mov byte [ebx + 0x32], 0
cmp byte [ebx + 0x2754], 0
je 0x424b71
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b464
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
lea eax, [ebp - 0xb68]
lea edx, [ebp - 0xab8]
mov ecx, 0x400
call fcn.00403d78
mov eax, dword [ebp - 0xb68]
mov edx, 0x425c2c
call fcn.00403ef4
jne 0x424b71
mov byte [ebx + 0x2755], 1
xor esi, esi
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b450
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
lea eax, [ebp - 0xb6c]
lea edx, [ebp - 0xab8]
mov ecx, 0x400
call fcn.00403d78
mov eax, dword [ebp - 0xb6c]
mov edx, 0x425c58
call fcn.00403ef4
je 0x424c00
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b414
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
mov eax, dword [ebp + 8]
push eax
push 0
push 0
lea eax, [ebp - 0xab8]
push eax
push edi
call sub.setupapi.dll_SetupDiOpenDeviceInfoW
inc esi
cmp esi, 0xa
jne 0x424b73
cmp esi, 0xa
jne 0x424c48
mov byte [ebx + 0x32], 0
lea eax, [ebp - 0xb74]
lea edx, [ebp - 0xab8]
mov ecx, 0x400
call fcn.00403d78
mov ecx, dword [ebp - 0xb74]
lea eax, [ebp - 0xb70]
mov edx, 0x425c64
call fcn.00403df4
mov eax, dword [ebp - 0xb70]
mov edx, dword [ebp - 4]
call fcn.004201a0
jmp 0x424ea6
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b43c
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
lea eax, [ebx + 0x34]
lea edx, [ebp - 0xab8]
mov ecx, 0x400
call fcn.00403d78
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b478
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
test eax, eax
jne 0x424cb2
mov edx, dword [ebp - 4]
mov eax, 0x425c8c
call fcn.004201a0
lea eax, [ebx + 0x38]
lea edx, [ebp - 0xab8]
mov ecx, 0x400
call fcn.00403d78
cmp byte [ebx + 0x707], 0
je 0x424ea6
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b3ec
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
lea eax, [ebp - 0xab8]
mov al, byte [eax]
mov byte [ebx + 0x271c], al
mov al, byte [ebx + 0x271c]
not al
dec eax
sub al, 6
jae 0x424d47
lea edx, [ebp - 0xb7c]
xor eax, eax
mov al, byte [ebx + 0x271c]
call fcn.0040628c
mov ecx, dword [ebp - 0xb7c]
lea eax, [ebp - 0xb78]
mov edx, 0x425cb8
call fcn.00403df4
mov eax, dword [ebp - 0xb78]
mov edx, dword [ebp - 4]
call fcn.004201a0
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b400
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
lea eax, [ebp - 0xab8]
mov al, byte [eax]
mov byte [ebx + 0x271d], al
mov al, byte [ebx + 0x271d]
not al
dec eax
sub al, 0x10
jae 0x424dbc
lea edx, [ebp - 0xb84]
xor eax, eax
mov al, byte [ebx + 0x271d]
call fcn.0040628c
mov ecx, dword [ebp - 0xb84]
lea eax, [ebp - 0xb80]
mov edx, 0x425cdc
call fcn.00403df4
mov eax, dword [ebp - 0xb80]
mov edx, dword [ebp - 4]
call fcn.004201a0
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b3c4
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
lea eax, [ebp - 0xab8]
mov al, byte [eax]
mov byte [ebx + 0x271e], al
mov al, byte [ebx + 0x271e]
not al
dec eax
sub al, 6
jae 0x424e31
lea edx, [ebp - 0xb8c]
xor eax, eax
mov al, byte [ebx + 0x271e]
call fcn.0040628c
mov ecx, dword [ebp - 0xb8c]
lea eax, [ebp - 0xb88]
mov edx, 0x425d00
call fcn.00403df4
mov eax, dword [ebp - 0xb88]
mov edx, dword [ebp - 4]
call fcn.004201a0
push 0
push 0
push 0x800
lea eax, [ebp - 0xab8]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x43b3d8
mov eax, dword [ebp + 8]
push eax
push edi
call sub.setupapi.dll_SetupDiGetDevicePropertyW
lea eax, [ebp - 0xab8]
mov al, byte [eax]
mov byte [ebx + 0x271f], al
mov al, byte [ebx + 0x271f]
not al
dec eax
sub al, 0x10
jae 0x424ea6
lea edx, [ebp - 0xb94]
xor eax, eax
mov al, byte [ebx + 0x271f]
call fcn.0040628c
mov ecx, dword [ebp - 0xb94]
lea eax, [ebp - 0xb90]
mov edx, 0x425d28
call fcn.00403df4
mov eax, dword [ebp - 0xb90]
mov edx, dword [ebp - 4]
call fcn.004201a0
push 0x425d50
push dword [ebx + 0x4c]
push 0x425d64
push dword [ebx + 0x40]
push 0x425d70
lea eax, [ebx + 0x20]
mov edx, 5
call fcn.00403e68
push 0
lea eax, [ebp - 0x18]
push eax
push 0xc
lea eax, [ebp - 0x294]
push eax
push 0
push 0
push 0x2d1080
mov eax, dword [ebx + 0x28]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
jne 0x424efa
mov edx, dword [ebp - 4]
mov eax, 0x425d7c
call fcn.004201a0
mov al, byte [ebp - 0x290]
mov byte [ebp - 0x1a], al
call sub.kernel32.dll_GetLogicalDrives
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
call fcn.0040ff7c
and eax, 0xff
push eax
lea eax, [ebp - 0x28]
mov ecx, 1
mov edx, dword [0x422e48]
call fcn.004048a4
add esp, 4
xor eax, eax
mov dword [ebp - 0x24], eax
xor esi, esi
mov ecx, esi
mov eax, 1
shl eax, cl
and eax, dword [ebp - 0x20]
test eax, eax
je 0x424ff6
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
push 0x425da0
lea eax, [ebp - 0xb9c]
lea edx, [esi + 0x41]
call fcn.00403cd8
push dword [ebp - 0xb9c]
push 0x425db0
lea eax, [ebp - 0xb98]
mov edx, 3
call fcn.00403e68
mov eax, dword [ebp - 0xb98]
call fcn.00403fa8
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
je 0x424ff6
push 0
lea eax, [ebp - 0x18]
push eax
push 0x20
lea eax, [ebp - 0x2b8]
push eax
push 0
push 0
push 0x560000
push edi
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x424ff0
mov eax, dword [ebp - 0x24]
shl eax, 2
mov edx, dword [ebp - 0x28]
lea edx, [edx + eax*8]
lea eax, [ebp - 0x2b0]
mov ecx, 0x18
call fcn.004029dc
mov eax, dword [ebp - 0x24]
shl eax, 2
mov edx, dword [ebp - 0x28]
lea ecx, [esi + 0x41]
mov byte [edx + eax*8 + 0x18], cl
inc dword [ebp - 0x24]
push edi
call sub.kernel32.dll_CloseHandle
inc esi
cmp esi, 0x20
jne 0x424f36
cmp dword [ebp - 0x24], 0
je 0x4250c8
mov eax, dword [ebp - 0x24]
dec eax
test eax, eax
jb 0x4250c8
inc eax
mov dword [ebp - 0x3c], eax
xor esi, esi
mov edi, esi
shl edi, 2
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + edi*8]
xor edx, edx
mov dl, byte [ebp - 0x1a]
cmp eax, edx
jne 0x4250be
cmp dword [ebx + 0x6e8], 0
jne 0x425086
lea eax, [ebp - 0xba0]
mov edx, dword [ebp - 0x28]
mov dl, byte [edx + edi*8 + 0x18]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xba0]
lea eax, [ebp - 0xba4]
call fcn.00402b48
mov edx, 0x425db4
lea eax, [ebp - 0xba4]
mov cl, 2
call fcn.00402b18
lea edx, [ebp - 0xba4]
lea eax, [ebx + 0x6e8]
call fcn.00403d54
jmp 0x4250be
push dword [ebx + 0x6e8]
push 0x425dc0
lea eax, [ebp - 0xba8]
mov edx, dword [ebp - 0x28]
mov dl, byte [edx + edi*8 + 0x18]
call fcn.00403cd8
push dword [ebp - 0xba8]
push 0x425db0
lea eax, [ebx + 0x6e8]
mov edx, 4
call fcn.00403e68
inc esi
dec dword [ebp - 0x3c]
jne 0x42501c
cmp byte [ebx + 0x2758], 0
je 0x42513a
mov dword [ebp - 0x27a], 8
xor eax, eax
mov dword [ebp - 0x276], eax
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x286]
xor ecx, ecx
mov edx, 0xc
call fcn.00402b54
push 0
lea eax, [ebp - 0x18]
push eax
push 0xc
lea eax, [ebp - 0x286]
push eax
push 0x12
lea eax, [ebp - 0x27a]
push eax
push 0x2d1400
mov eax, dword [ebx + 0x28]
push eax
call sub.kernel32.dll_DeviceIoControl
test eax, eax
je 0x42513a
cmp dword [ebp - 0x18], 0xc
jne 0x42513a
cmp dword [ebp - 0x27e], 0
je 0x42513a
mov byte [ebx + 0x2759], 1
lea eax, [ebp - 0x68]
xor ecx, ecx
mov edx, 0x2c
call fcn.00402b54
mov dword [ebp - 0x68], 0x2c
mov dword [ebp - 0x64], 6
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x5c], eax
push 0
lea eax, [ebp - 0x68]
push eax
mov eax, dword [0x447c7c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_RegisterDeviceNotificationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4251f3
lea eax, [ebp - 0xba8]
call fcn.00403b0c
lea eax, [ebp - 0xb9c]
mov edx, 0x32
call fcn.00403b30
lea eax, [ebp - 0xad4]
mov edx, 2
call fcn.00404114
lea eax, [ebp - 0xacc]
call fcn.00403b0c
lea eax, [ebp - 0xac8]
call fcn.004040fc
lea eax, [ebp - 0xac4]
call fcn.00403b0c
lea eax, [ebp - 0xac0]
mov edx, 2
call fcn.00404114
lea eax, [ebp - 0x28]
mov edx, dword [0x422e48]
call fcn.004048b0
ret