Function at 0x41554b
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x70]
mov ecx, dword [0x510c44]
sub esp, 0x530
push edi
xor edi, edi
cmp ecx, edi
je 0x4162be
push esi
mov esi, dword [ebp + 0x78]
push esi
call fcn.0040121c
test eax, eax
je 0x4162bd
mov ecx, dword [0x510c44]
push esi
call fcn.00404b65
push str.DDI_1
push 3
call fcn.0044fe2e
push str._r_n_________Device_Information__r_n
call fcn.0040fd32
lea eax, [esi + 0x1738]
add esp, 0xc
cmp word [eax], di
je 0x4155b6
push eax
push str.Friendly_Name____________:__s_r_n
call fcn.0040fd85
pop ecx
pop ecx
lea eax, [esi + 0x1838]
cmp word [eax], di
je 0x4155ce
push eax
push str.Device_Description_______:__s_r_n
call fcn.0040fd85
pop ecx
pop ecx
push ebx
push esi
call fcn.00414a5e
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
cmp dword [esi + 0x3abc], edi
je 0x41567b
mov edi, dword [esi + 0x3ab0]
cmp edi, 0xffffffff
jle 0x41567b
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push eax
call fcn.00449c78
mov eax, dword [esi + 0x3ab4]
add esp, 0xc
cmp eax, 1
jne 0x41561e
push edi
push str..PhysicalDrive_i
jmp 0x415636
cmp eax, 2
jne 0x41562b
push edi
push str..CdRom_i
jmp 0x415636
cmp eax, 3
jne 0x41563f
push edi
push str..Floppy_i
lea eax, [ebp - 0x40]
push eax
call ebx
add esp, 0xc
push 0x104
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x41567b
lea eax, [ebp - 0x40]
push eax
push str.Win32_Name_______________:__s_r_n
call fcn.0040fd85
lea eax, [ebp - 0x2c8]
push eax
push str.Kernel_Name______________:__s_r_n
call fcn.0040fd85
add esp, 0x10
lea edi, [esi + 0xe38]
push edi
push str.Device_ID________________:__s_r_n
call fcn.0040fd85
pop ecx
pop ecx
push str.PCIVEN_
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x4156a4
push edi
call fcn.0041d6fa
lea edi, [esi + 0x337c]
xor ebx, ebx
cmp dword [edi], ebx
je 0x4156dd
push str.Hardware_IDs_____________:
call fcn.0040fd32
jmp 0x4156cb
push eax
push 0x45fdd0
call fcn.0040fd85
pop ecx
add edi, 4
mov eax, dword [edi]
pop ecx
cmp eax, ebx
jne 0x4156bc
push 0x459994
call fcn.0040fd32
pop ecx
push str.DDI_2
push 3
call fcn.0044fe2e
lea eax, [esi + 0x1cb8]
pop ecx
pop ecx
mov edi, eax
cmp word [eax], bx
jne 0x4156fd
mov edi, 0x4550e0
push eax
call fcn.00413475
push eax
push edi
push str.Driver_KeyName___________:__s_s
call fcn.0040fd85
mov edi, 0x459994
push edi
call fcn.0040fd32
lea eax, [esi + 0x3478]
add esp, 0x10
cmp word [eax], bx
je 0x41574b
lea ecx, [esi + 0x38e8]
push ecx
lea ecx, [esi + 0x38c8]
push ecx
lea ecx, [esi + 0x3888]
push ecx
push eax
push str.Driver___________________:__s__Version:__s__Date:__s__Company:__s__r_n
call fcn.0040fd85
add esp, 0x14
lea eax, [esi + 0x3680]
cmp word [eax], bx
je 0x415763
push eax
push str.Driver_Inf_______________:__s_r_n
call fcn.0040fd85
pop ecx
pop ecx
push str.DDI_3
push 3
call fcn.0044fe2e
mov eax, dword [esi + 0x3a64]
pop ecx
pop ecx
cmp eax, 0x14
ja 0x415785
mov eax, dword [eax*4 + 0x4a6178]
jmp 0x41578a
mov eax, str.undefined
push eax
push str.Legacy_BusType___________:__s_r_n
call fcn.0040fd32
lea eax, [esi + 0x1e92]
pop ecx
pop ecx
cmp word [eax], bx
je 0x4157af
push eax
push str.Class____________________:__s_r_n
call fcn.0040fd85
pop ecx
pop ecx
lea eax, [esi + 0x1f12]
cmp word [eax], bx
je 0x4157e6
push eax
push str.Class_GUID_______________:__s
call fcn.0040fd85
lea eax, [esi + 0x1f6c]
pop ecx
pop ecx
cmp word [eax], bx
je 0x4157df
push eax
push str.___s_
call fcn.0040fd85
pop ecx
pop ecx
push edi
call fcn.0040fd32
pop ecx
push str.DDI_4
push 3
call fcn.0044fe2e
lea eax, [esi + 0x1ff0]
pop ecx
pop ecx
cmp word [eax], bx
je 0x41580c
push eax
push str.Service__________________:__s_r_n
call fcn.0040fd85
pop ecx
pop ecx
lea eax, [esi + 0x1e12]
cmp word [eax], bx
je 0x415824
push eax
push str.Enumerator_______________:__s_r_n
call fcn.0040fd85
pop ecx
pop ecx
lea edi, [esi + 0x1d12]
cmp word [edi], bx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
je 0x415850
lea eax, [esi + 0x10a8]
push eax
push edi
call ebx
test eax, eax
je 0x415850
push edi
push str.PDO______________________:__s_r_n
call fcn.0040fd85
pop ecx
pop ecx
lea eax, [esi + 0x1bb8]
cmp word [eax], 0
jne 0x415861
mov eax, 0x4550e0
push eax
push str.Location_Info____________:__s_r_n
call fcn.0040fd85
push dword [esi + 0x3a68]
push str.Address__________________:__u
call fcn.0040fd85
mov eax, dword [esi + 0x3a68]
add esp, 0x10
cmp eax, 0x7f
jb 0x415897
push eax
push str.__0x_X_
call fcn.0040fd85
pop ecx
pop ecx
push 0x45f048
call fcn.0040fd85
mov dword [esp], str.DDI_5
push 3
call fcn.0044fe2e
mov eax, dword [esi + 0xc]
pop ecx
pop ecx
cmp eax, 3
je 0x4158c3
cmp eax, 6
je 0x4158c3
cmp eax, 9
jne 0x41592a
lea eax, [esi + 0x2b7c]
cmp word [eax], 0
je 0x4158eb
push eax
call fcn.00428ba7
mov edi, eax
push edi
push str.Location_IDs_____________:__s_r_n
call fcn.0040fd85
push edi
call fcn.00449e73
add esp, 0xc
lea edi, [esi + 0x39e8]
cmp word [edi], 0
je 0x41592a
push edi
push str.Container_ID_____________:__s
call fcn.0040fd85
pop ecx
pop ecx
push str.00000000_0000_0000_ffff_ffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41591f
push str.__GUID_CONTAINERID_INTERNALLY_CONNECTED_DEVICE_
call fcn.0040fd32
pop ecx
push 0x459994
call fcn.0040fd32
pop ecx
push str.DDI_6
push 3
call fcn.0044fe2e
lea eax, [esi + 0x20f8]
cmp word [eax], 0
pop ecx
pop ecx
jne 0x415949
mov eax, 0x4550e0
push eax
push str.Manufacturer_Info________:__s_r_n
call fcn.0040fd85
pop ecx
pop ecx
lea edi, [esi + 0x3a60]
push dword [edi]
call fcn.0044af8f
push eax
push dword [edi]
push str.Capabilities_____________:_0x_02X___s__r_n
call fcn.0040fd32
add esp, 0xc
lea edi, [esi + 0x3a70]
push dword [edi]
call fcn.0044b50d
push eax
push dword [edi]
push str.Status___________________:_0x_08X___s__r_n
call fcn.0040fd32
push dword [esi + 0x3a74]
push str.Problem_Code_____________:__u
call fcn.0040fd32
mov eax, dword [esi + 0x3a74]
add esp, 0x14
test eax, eax
je 0x4159bd
push eax
call fcn.0044ae07
push eax
push str.___s_
call fcn.0040fd32
pop ecx
pop ecx
push 0x459994
call fcn.0040fd32
mov dword [esp], str.DDI_7
push 3
call fcn.0044fe2e
lea eax, [esi + 0x33bc]
cmp dword [eax], 0
pop ecx
pop ecx
mov edi, 0x200
je 0x415a08
push edi
lea ecx, [ebp - 0x4c0]
push ecx
push eax
call fcn.004293f7
lea eax, [ebp - 0x4c0]
push eax
push str.Upper_Filters____________:__s_r_n
call fcn.0040fd85
pop ecx
pop ecx
push str.DDI_8
push 3
call fcn.0044fe2e
lea eax, [esi + 0x33fc]
cmp dword [eax], 0
pop ecx
pop ecx
je 0x415a42
push edi
lea ecx, [ebp - 0x4c0]
push ecx
push eax
call fcn.004293f7
lea eax, [ebp - 0x4c0]
push eax
push str.Lower_Filters____________:__s_r_n
call fcn.0040fd85
pop ecx
pop ecx
mov edi, 0x455eb0
push edi
lea eax, [esi + 0x1e92]
push eax
call ebx
test eax, eax
je 0x415a67
push edi
lea eax, [esi + 0x1ff0]
push eax
call ebx
test eax, eax
jne 0x415b30
push str.DDI_9
push 3
call fcn.0044fe2e
mov eax, dword [esi + 0x3a6c]
pop ecx
pop ecx
test eax, eax
jne 0x415b06
push 0x3c
push eax
lea eax, [ebp + 4]
push eax
mov dword [ebp], 0x2d
call fcn.00449c78
mov eax, dword [esi + 0x3a68]
add esp, 0xc
cmp eax, 0xffffffff
je 0x415ad1
push eax
cmp eax, 0x7f
jb 0x415abf
push eax
lea eax, [ebp]
push str._u__0x_X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x415ad1
lea eax, [ebp]
push 0x458144
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp]
push eax
push str.Address__________________:__s
call fcn.0040fd85
mov eax, dword [esi + 0xc]
pop ecx
pop ecx
cmp eax, 9
je 0x415aee
cmp eax, 6
jne 0x415b25
movzx eax, byte [ebp + 0x7c]
cmp dword [esi + 0x3a68], eax
je 0x415b25
push str.____strange__usually_this_is_equal_to_the_USB_port_number_
call fcn.0040fd32
jmp 0x415b24
cmp eax, 0x1d
jne 0x415b12
push str.TIMEOUT
jmp 0x415b19
push eax
call fcn.0044b4df
push eax
push str.Address__________________:__s
call fcn.0040fd32
pop ecx
pop ecx
push 0x459994
call fcn.0040fd32
pop ecx
push str.DDI_10
push 3
call fcn.0044fe2e
mov eax, dword [esi + 0x3a38]
or edi, 0xffffffff
pop ecx
pop ecx
cmp eax, edi
je 0x415b58
push eax
push str.HcDisableSelectiveSuspend:__u_r_n
call fcn.0040fd32
pop ecx
pop ecx
mov eax, dword [esi + 0x3a50]
cmp eax, edi
je 0x415b6f
push eax
push str.EnumerationRetryCount____:__u_r_n
call fcn.0040fd32
pop ecx
pop ecx
mov eax, dword [esi + 0x3a3c]
cmp eax, edi
je 0x415b86
push eax
push str.EnableSelectiveSuspend___:__u_r_n
call fcn.0040fd32
pop ecx
pop ecx
mov eax, dword [esi + 0x3a40]
cmp eax, edi
je 0x415b9d
push eax
push str.SelectiveSuspendEnabled__:__u_r_n
call fcn.0040fd32
pop ecx
pop ecx
mov eax, dword [esi + 0x3a44]
cmp eax, edi
je 0x415bb4
push eax
push str.SelectiveSuspendOn_______:__u_r_n
call fcn.0040fd32
pop ecx
pop ecx
mov eax, dword [esi + 0x3a48]
cmp eax, edi
je 0x415bcb
push eax
push str.DeviceSelectiveSuspended_:__u_r_n
call fcn.0040fd32
pop ecx
pop ecx
mov eax, dword [esi + 0x3a4c]
cmp eax, edi
je 0x415be2
push eax
push str.EnhancedPowerMgmtEnabled_:__u_r_n
call fcn.0040fd32
pop ecx
pop ecx
mov eax, dword [esi + 0x3a54]
cmp eax, edi
je 0x415bf9
push eax
push str.IdleInWorkingState_______:__u_r_n
call fcn.0040fd32
pop ecx
pop ecx
mov eax, dword [esi + 0x3a58]
cmp eax, edi
je 0x415c10
push eax
push str.WakeFromSleepState_______:__u_r_n
call fcn.0040fd32
pop ecx
pop ecx
mov eax, dword [esi + 0x3a7c]
test eax, eax
je 0x415c50
dec eax
push eax
push str.Power_State______________:_D_u
call fcn.0040fd32
mov eax, dword [esi + 0x3a80]
pop ecx
pop ecx
test eax, eax
je 0x415c45
push eax
call fcn.00413417
push eax
push str.__supported:__s_
call fcn.0040fd32
pop ecx
pop ecx
push 0x459994
call fcn.0040fd32
pop ecx
push 0x455614
lea edi, [esi + 0xfc8]
push edi
call fcn.0042958c
test eax, eax
je 0x415c85
lea eax, [esi + 0x13b0]
cmp word [eax], 0
jne 0x415c76
mov eax, str.none_assigned
push eax
push edi
push str.COM_Port_________________:__s___s__r_n
call fcn.0040fd85
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
xor edi, edi
cmp dword [0x4a5b38], edi
jne 0x415d4c
push 0x45f848
lea eax, [esi + 0x1ff0]
push eax
call ebx
test eax, eax
jne 0x415d4c
cmp dword [esi + 0x3a74], edi
jne 0x415d4c
push str.DDI_11
push 3
call fcn.0044fe2e
pop ecx
pop ecx
cmp dword [esi + 0x82c], edi
jne 0x415cfe
mov ecx, dword [0x510c44]
push 0x200
lea eax, [esi + 0x2c]
push eax
push dword [esi + 0x10]
call fcn.004017ed
push eax
push str.DDI_12_n_i
push 3
mov dword [esi + 0x82c], eax
call fcn.0044fe2e
add esp, 0xc
xor edi, edi
cmp dword [esi + 0x82c], edi
jle 0x415d4a
lea ebx, [esi + 0x2c]
mov eax, dword [ebx]
mov dword [ebp + 0x7c], eax
test eax, eax
je 0x415d38
cmp dword [0x51adac], 5
jl 0x415d2d
push edi
push str.DDI_13_i_i
push 5
call fcn.0044fe2e
add esp, 0xc
push 1
push edi
push dword [ebp + 0x7c]
call fcn.00415190
inc edi
add ebx, 4
cmp edi, dword [esi + 0x82c]
jl 0x415d0b
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
xor edi, edi
mov dword [ebp + 0x78], edi
cmp word [esi + 0x1088], di
je 0x415d7f
cmp dword [0x4a5b38], edi
jne 0x415d7f
push esi
call fcn.00413203
cmp dword [0x4a5b38], edi
jne 0x416253
push 0
push esi
call fcn.004132ee
jmp 0x416253
mov eax, dword [esi + 0x3abc]
cmp eax, edi
je 0x415d9c
cmp dword [esi + 0x3ab8], edi
jne 0x415da8
push esi
call fcn.00413203
jmp 0x416253
cmp dword [esi + 0x3ab8], edi
je 0x415f85
cmp eax, edi
je 0x415db2
push esi
call fcn.00413203
mov edi, dword [esi + 0x3b84]
test edi, edi
je 0x416253
lea eax, [edi + 0x848]
cmp word [eax], 0
mov dword [ebp + 0x68], eax
jne 0x415dd4
mov eax, 0x456a74
push eax
push str.Volume_Name______________:__S_r_n
call fcn.0040fd32
cmp dword [esi + 0x3ab4], 3
pop ecx
pop ecx
jne 0x415df0
push esi
call fcn.00413107
push 0
lea eax, [edi + 0x930]
push eax
call fcn.00412fb8
lea ebx, [edi + 0x32e4]
cmp word [ebx], 0
je 0x415e3c
lea eax, [edi + 0x32f8]
push eax
push str.Volume_Label_____________:__S_r_n
call fcn.0040fd32
push ebx
push str.Volume_Serial____________:__S_r_n
call fcn.0040fd32
lea eax, [edi + 0x34fa]
push eax
push str.File_System______________:__S_r_n
call fcn.0040fd32
add esp, 0x18
jmp 0x415e59
mov eax, dword [edi + 0x3574]
test eax, eax
je 0x415e59
push eax
call fcn.0044b09e
push eax
push str.Volume_Info_Error________:__s_r_n
call fcn.0040fd32
pop ecx
pop ecx
lea eax, [edi + 0x31e0]
xor ebx, ebx
cmp word [eax], bx
je 0x415ef2
push eax
push str.Size_____________________:__S
call fcn.0040fd32
pop ecx
lea eax, [edi + 0x3200]
pop ecx
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x415ee6
cmp cx, 0x39
ja 0x415ee6
lea ecx, [edi + 0x3220]
push ecx
push eax
push str.____S____S_Bytes_r_n
call fcn.0040fd32
mov eax, dword [edi + 0x31d8]
and eax, dword [edi + 0x31dc]
add esp, 0xc
cmp eax, 0xffffffff
je 0x415f73
lea eax, [edi + 0x3260]
cmp word [eax], bx
je 0x415f73
lea ecx, [edi + 0x32a0]
push ecx
add edi, 0x3280
push edi
push eax
push str.Available________________:__S____S____S_Bytes_r_n
call fcn.0040fd32
add esp, 0x10
jmp 0x415f73
push 0x459994
call fcn.0040fd32
jmp 0x415f08
lea eax, [edi + 0x353a]
cmp byte [eax], bl
je 0x415f0b
push eax
push str.Hint_____________________:__s_r_n
call fcn.0040fd32
pop ecx
pop ecx
jmp 0x415f73
xor eax, eax
push 0x7e
mov word [ebp - 0xc0], ax
lea eax, [ebp - 0xbe]
push ebx
push eax
call fcn.00449c78
push dword [edi + 0x844]
lea eax, [ebp - 0xc0]
push dword [edi + 0x840]
push str.DeviceHarddisk_iPartition_i
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp + 0x7c]
push eax
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp + 0x7c], ebx
call fcn.004524d6
movzx eax, ax
cmp ax, bx
je 0x415f73
movzx eax, ax
push eax
push dword [ebp + 0x7c]
push str.Hint_____________________:__S_Container_for__c:_r_n
call fcn.0040fd32
add esp, 0xc
push dword [ebp + 0x68]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x416253
push 0x457c98
lea edi, [esi + 0x1e92]
push edi
call ebx
test eax, eax
je 0x416047
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push eax
lea eax, [esi + 0xc30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0x78], eax
cmp eax, 0xffffffff
je 0x416253
xor eax, eax
mov word [ebp + 0x40], ax
and dword [ebp + 0x68], 0
mov word [ebp + 0x7c], ax
lea edi, [ebp + 0x42]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0
stosw word es:[edi], ax
lea eax, [ebp + 0x68]
push eax
push 0xc
lea eax, [ebp + 0x40]
push eax
push 2
lea eax, [ebp + 0x7c]
push eax
push 0xf0000
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x416253
push str._r_n______________Mouse_Information__r_n
call fcn.0040fd32
push dword [ebp + 0x48]
push str.Input_Data_Queue_Length__:__u_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x40]
push eax
push str.Mouse_Identifier_________:__u_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x42]
push eax
push str.Number_of_Buttons________:__u_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x44]
push eax
push str.Sample_Rate______________:__u_r_n
call fcn.0040fd32
add esp, 0x24
jmp 0x416253
push 0x457c84
push edi
call ebx
test eax, eax
je 0x4161f5
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push eax
lea eax, [esi + 0xc30]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp + 0x78], eax
cmp eax, 0xffffffff
je 0x416253
push 6
pop ecx
xor eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov byte [ebp + 0x4c], 0
and dword [ebp + 0x7c], 0
lea edi, [ebp + 0x4d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0
stosb byte es:[edi], al
lea eax, [ebp + 0x7c]
push eax
push 0x1c
lea eax, [ebp + 0x4c]
push eax
push 0x1c
push eax
push 0xb0000
push dword [ebp + 0x78]
call ebx
test eax, eax
je 0x416199
push str._r_n______________Keyboad_Information__r_n
call fcn.0040fd32
cmp byte [ebp + 0x4c], 0x51
pop ecx
mov eax, str.__HID_
je 0x4160d1
mov eax, 0x4569e1
push eax
movzx eax, byte [ebp + 0x4c]
push eax
push str.Keyboard_ID.Type_________:_0x_X_s_r_n
call fcn.0040fd32
movzx eax, byte [ebp + 0x4d]
push eax
push str.Keyboard_ID.Subtype______:__u_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x4e]
push eax
push str.Keyboard_Mode____________:__u_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x50]
push eax
push str.Number_of_Function_Keys__:__u_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x52]
push eax
push str.Number_of_Indicators_____:__u_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x54]
push eax
push str.Number_of_Keys_Total_____:__u_r_n
call fcn.0040fd32
push dword [ebp + 0x58]
push str.Input_Data_Queue_Length__:__u_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x5c]
push eax
push str.Key_Repeat_Minimum.UnitId:__u_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x5e]
add esp, 0x44
push eax
push str.Key_Repeat_Minimum.Rate__:__u_per_second_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x60]
push eax
push str.Key_Repeat_Minimum.Delay_:__u_ms_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x62]
push eax
push str.Key_Repeat_Maximum.UnitId:__u_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x64]
push eax
push str.Key_Repeat_Maximum.Rate__:__u_per_second_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x66]
push eax
push str.Key_Repeat_Maximum.Delay_:__u_ms_r_n
call fcn.0040fd32
add esp, 0x28
xor eax, eax
push eax
mov word [ebp + 0x68], ax
lea edi, [ebp + 0x6a]
stosd dword es:[edi], eax
lea eax, [ebp + 0x7c]
push eax
push 6
lea eax, [ebp + 0x68]
push eax
push 6
push eax
push 0xb0020
push dword [ebp + 0x78]
call ebx
test eax, eax
je 0x416253
movzx eax, word [ebp + 0x68]
push eax
push str.Key_Repeat_UnitId________:__u_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x6a]
push eax
push str.Key_Repeat_Rate__________:__u_per_second_r_n
call fcn.0040fd32
movzx eax, word [ebp + 0x6c]
push eax
push str.Key_Repeat_Delay_________:__u_ms_r_n
call fcn.0040fd32
add esp, 0x18
jmp 0x416253
push 0x457c24
push edi
call ebx
test eax, eax
je 0x416253
cmp dword [esi + 8], 0
je 0x416253
lea edi, [esi + 0xc30]
xor ebx, ebx
cmp word [edi], bx
jne 0x416242
cmp dword [esi + 0x10], ebx
je 0x41623d
push ebx
push 0x104
push edi
lea eax, [esi + 0xe38]
push eax
push 0x4547b0
call dword [sym.imp.CFGMGR32.dll_CM_Get_Device_Interface_ListW]
test eax, eax
jne 0x41623d
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp word [edi], bx
je 0x416253
push edi
lea ecx, [ebp + 0x7f]
call fcn.0040ef24
lea ecx, [ebp + 0x7f]
call fcn.0040ef1c
push str.HIDClass
lea eax, [esi + 0x1e92]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x41628d
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push str.4d1e55b2_f16f_11cf_88cb_001111000030
lea ebx, [esi + 0xc30]
push ebx
call edi
test eax, eax
jne 0x41628d
push str.HID
push ebx
call edi
test eax, eax
je 0x416299
add esi, 0xc30
push esi
call fcn.00423760
push dword [ebp + 0x78]
call fcn.00428802
pop ebx
test eax, eax
je 0x4162af
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.DDI_end
push 3
call fcn.0044fe2e
pop ecx
pop ecx
pop esi
pop edi
add ebp, 0x70
leave
ret 8