Function at 0x414c8a
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x70]
mov ecx, dword [0x50c78c]
sub esp, 0x530
push edi
xor edi, edi
cmp ecx, edi
je 0x4159fd
push esi
mov esi, dword [ebp + 0x78]
push esi
call fcn.0040121c
test eax, eax
je 0x4159fc
mov ecx, dword [0x50c78c]
push esi
call fcn.00404a15
push str.DDI_1
push 3
call fcn.0044d31e
push str._r_n_________Device_Information__r_n
call fcn.0040f447
lea eax, [esi + 0x1738]
add esp, 0xc
cmp word [eax], di
je 0x414cf5
push eax
push str.Friendly_Name____________:__s_r_n
call fcn.0040f49a
pop ecx
pop ecx
lea eax, [esi + 0x1838]
cmp word [eax], di
je 0x414d0d
push eax
push str.Device_Description_______:__s_r_n
call fcn.0040f49a
pop ecx
pop ecx
push ebx
push esi
call fcn.00414170
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
cmp dword [esi + 0x3a3c], edi
je 0x414dba
mov edi, dword [esi + 0x3a30]
cmp edi, 0xffffffff
jle 0x414dba
xor eax, eax
push 0x7e
push eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push eax
call fcn.004476fd
mov eax, dword [esi + 0x3a34]
add esp, 0xc
cmp eax, 1
jne 0x414d5d
push edi
push str..PhysicalDrive_i
jmp 0x414d75
cmp eax, 2
jne 0x414d6a
push edi
push str..CdRom_i
jmp 0x414d75
cmp eax, 3
jne 0x414d7e
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 0x414dba
lea eax, [ebp - 0x40]
push eax
push str.Win32_Name_______________:__s_r_n
call fcn.0040f49a
lea eax, [ebp - 0x2c8]
push eax
push str.Kernel_Name______________:__s_r_n
call fcn.0040f49a
add esp, 0x10
lea edi, [esi + 0xe38]
push edi
push str.Device_ID________________:__s_r_n
call fcn.0040f49a
pop ecx
pop ecx
push str.PCIVEN_
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x414de3
push edi
call fcn.0041c8f1
lea edi, [esi + 0x32fc]
xor ebx, ebx
cmp dword [edi], ebx
je 0x414e1c
push str.Hardware_IDs_____________:
call fcn.0040f447
jmp 0x414e0a
push eax
push 0x45c950
call fcn.0040f49a
pop ecx
add edi, 4
mov eax, dword [edi]
pop ecx
cmp eax, ebx
jne 0x414dfb
push 0x456550
call fcn.0040f447
pop ecx
push str.DDI_2
push 3
call fcn.0044d31e
lea eax, [esi + 0x1c38]
pop ecx
pop ecx
mov edi, eax
cmp word [eax], bx
jne 0x414e3c
mov edi, 0x452078
push eax
call fcn.00412b84
push eax
push edi
push str.Driver_KeyName___________:__s_s
call fcn.0040f49a
mov edi, 0x456550
push edi
call fcn.0040f447
lea eax, [esi + 0x33f8]
add esp, 0x10
cmp word [eax], bx
je 0x414e8a
lea ecx, [esi + 0x3868]
push ecx
lea ecx, [esi + 0x3848]
push ecx
lea ecx, [esi + 0x3808]
push ecx
push eax
push str.Driver___________________:__s__Version:__s__Date:__s__Company:__s__r_n
call fcn.0040f49a
add esp, 0x14
lea eax, [esi + 0x3600]
cmp word [eax], bx
je 0x414ea2
push eax
push str.Driver_Inf_______________:__s_r_n
call fcn.0040f49a
pop ecx
pop ecx
push str.DDI_3
push 3
call fcn.0044d31e
mov eax, dword [esi + 0x39e4]
pop ecx
pop ecx
cmp eax, 0x14
ja 0x414ec4
mov eax, dword [eax*4 + 0x4a2120]
jmp 0x414ec9
mov eax, str.undefined
push eax
push str.Legacy_BusType___________:__s_r_n
call fcn.0040f447
lea eax, [esi + 0x1e12]
pop ecx
pop ecx
cmp word [eax], bx
je 0x414eee
push eax
push str.Class____________________:__s_r_n
call fcn.0040f49a
pop ecx
pop ecx
lea eax, [esi + 0x1e92]
cmp word [eax], bx
je 0x414f25
push eax
push str.Class_GUID_______________:__s
call fcn.0040f49a
lea eax, [esi + 0x1eec]
pop ecx
pop ecx
cmp word [eax], bx
je 0x414f1e
push eax
push str.___s_
call fcn.0040f49a
pop ecx
pop ecx
push edi
call fcn.0040f447
pop ecx
push str.DDI_4
push 3
call fcn.0044d31e
lea eax, [esi + 0x1f70]
pop ecx
pop ecx
cmp word [eax], bx
je 0x414f4b
push eax
push str.Service__________________:__s_r_n
call fcn.0040f49a
pop ecx
pop ecx
lea eax, [esi + 0x1d92]
cmp word [eax], bx
je 0x414f63
push eax
push str.Enumerator_______________:__s_r_n
call fcn.0040f49a
pop ecx
pop ecx
lea edi, [esi + 0x1c92]
cmp word [edi], bx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
je 0x414f8f
lea eax, [esi + 0x10a8]
push eax
push edi
call ebx
test eax, eax
je 0x414f8f
push edi
push str.PDO______________________:__s_r_n
call fcn.0040f49a
pop ecx
pop ecx
lea eax, [esi + 0x1b38]
cmp word [eax], 0
jne 0x414fa0
mov eax, 0x452078
push eax
push str.Location_Info____________:__s_r_n
call fcn.0040f49a
push dword [esi + 0x39e8]
push str.Address__________________:__u
call fcn.0040f49a
mov eax, dword [esi + 0x39e8]
add esp, 0x10
cmp eax, 0x7f
jb 0x414fd6
push eax
push str.__0x_X_
call fcn.0040f49a
pop ecx
pop ecx
push 0x45bbc8
call fcn.0040f49a
mov dword [esp], str.DDI_5
push 3
call fcn.0044d31e
mov eax, dword [esi + 0xc]
pop ecx
pop ecx
cmp eax, 3
je 0x415002
cmp eax, 6
je 0x415002
cmp eax, 9
jne 0x415069
lea eax, [esi + 0x2afc]
cmp word [eax], 0
je 0x41502a
push eax
call fcn.00427d93
mov edi, eax
push edi
push str.Location_IDs_____________:__s_r_n
call fcn.0040f49a
push edi
call fcn.0044786c
add esp, 0xc
lea edi, [esi + 0x3968]
cmp word [edi], 0
je 0x415069
push edi
push str.Container_ID_____________:__s
call fcn.0040f49a
pop ecx
pop ecx
push str.00000000_0000_0000_ffff_ffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41505e
push str.__GUID_CONTAINERID_INTERNALLY_CONNECTED_DEVICE_
call fcn.0040f447
pop ecx
push 0x456550
call fcn.0040f447
pop ecx
push str.DDI_6
push 3
call fcn.0044d31e
lea eax, [esi + 0x2078]
cmp word [eax], 0
pop ecx
pop ecx
jne 0x415088
mov eax, 0x452078
push eax
push str.Manufacturer_Info________:__s_r_n
call fcn.0040f49a
pop ecx
pop ecx
lea edi, [esi + 0x39e0]
push dword [edi]
call fcn.00448938
push eax
push dword [edi]
push str.Capabilities_____________:_0x_02X___s__r_n
call fcn.0040f447
add esp, 0xc
lea edi, [esi + 0x39f0]
push dword [edi]
call fcn.00448e74
push eax
push dword [edi]
push str.Status___________________:_0x_08X___s__r_n
call fcn.0040f447
push dword [esi + 0x39f4]
push str.Problem_Code_____________:__u
call fcn.0040f447
mov eax, dword [esi + 0x39f4]
add esp, 0x14
test eax, eax
je 0x4150fc
push eax
call fcn.004487b0
push eax
push str.___s_
call fcn.0040f447
pop ecx
pop ecx
push 0x456550
call fcn.0040f447
mov dword [esp], str.DDI_7
push 3
call fcn.0044d31e
lea eax, [esi + 0x333c]
cmp dword [eax], 0
pop ecx
pop ecx
mov edi, 0x200
je 0x415147
push edi
lea ecx, [ebp - 0x4c0]
push ecx
push eax
call fcn.004285e3
lea eax, [ebp - 0x4c0]
push eax
push str.Upper_Filters____________:__s_r_n
call fcn.0040f49a
pop ecx
pop ecx
push str.DDI_8
push 3
call fcn.0044d31e
lea eax, [esi + 0x337c]
cmp dword [eax], 0
pop ecx
pop ecx
je 0x415181
push edi
lea ecx, [ebp - 0x4c0]
push ecx
push eax
call fcn.004285e3
lea eax, [ebp - 0x4c0]
push eax
push str.Lower_Filters____________:__s_r_n
call fcn.0040f49a
pop ecx
pop ecx
mov edi, 0x452e68
push edi
lea eax, [esi + 0x1e12]
push eax
call ebx
test eax, eax
je 0x4151a6
push edi
lea eax, [esi + 0x1f70]
push eax
call ebx
test eax, eax
jne 0x41526f
push str.DDI_9
push 3
call fcn.0044d31e
mov eax, dword [esi + 0x39ec]
pop ecx
pop ecx
test eax, eax
jne 0x415245
push 0x3c
push eax
lea eax, [ebp + 4]
push eax
mov dword [ebp], 0x2d
call fcn.004476fd
mov eax, dword [esi + 0x39e8]
add esp, 0xc
cmp eax, 0xffffffff
je 0x415210
push eax
cmp eax, 0x7f
jb 0x4151fe
push eax
lea eax, [ebp]
push str._u__0x_X_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x415210
lea eax, [ebp]
push 0x454f68
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp]
push eax
push str.Address__________________:__s
call fcn.0040f49a
mov eax, dword [esi + 0xc]
pop ecx
pop ecx
cmp eax, 9
je 0x41522d
cmp eax, 6
jne 0x415264
movzx eax, byte [ebp + 0x7c]
cmp dword [esi + 0x39e8], eax
je 0x415264
push str.____strange__usually_this_is_equal_to_the_USB_port_number_
call fcn.0040f447
jmp 0x415263
cmp eax, 0x1d
jne 0x415251
push str.TIMEOUT
jmp 0x415258
push eax
call fcn.00448e46
push eax
push str.Address__________________:__s
call fcn.0040f447
pop ecx
pop ecx
push 0x456550
call fcn.0040f447
pop ecx
push str.DDI_10
push 3
call fcn.0044d31e
mov eax, dword [esi + 0x39b8]
or edi, 0xffffffff
pop ecx
pop ecx
cmp eax, edi
je 0x415297
push eax
push str.HcDisableSelectiveSuspend:__u_r_n
call fcn.0040f447
pop ecx
pop ecx
mov eax, dword [esi + 0x39d0]
cmp eax, edi
je 0x4152ae
push eax
push str.EnumerationRetryCount____:__u_r_n
call fcn.0040f447
pop ecx
pop ecx
mov eax, dword [esi + 0x39bc]
cmp eax, edi
je 0x4152c5
push eax
push str.EnableSelectiveSuspend___:__u_r_n
call fcn.0040f447
pop ecx
pop ecx
mov eax, dword [esi + 0x39c0]
cmp eax, edi
je 0x4152dc
push eax
push str.SelectiveSuspendEnabled__:__u_r_n
call fcn.0040f447
pop ecx
pop ecx
mov eax, dword [esi + 0x39c4]
cmp eax, edi
je 0x4152f3
push eax
push str.SelectiveSuspendOn_______:__u_r_n
call fcn.0040f447
pop ecx
pop ecx
mov eax, dword [esi + 0x39c8]
cmp eax, edi
je 0x41530a
push eax
push str.DeviceSelectiveSuspended_:__u_r_n
call fcn.0040f447
pop ecx
pop ecx
mov eax, dword [esi + 0x39cc]
cmp eax, edi
je 0x415321
push eax
push str.EnhancedPowerMgmtEnabled_:__u_r_n
call fcn.0040f447
pop ecx
pop ecx
mov eax, dword [esi + 0x39d4]
cmp eax, edi
je 0x415338
push eax
push str.IdleInWorkingState_______:__u_r_n
call fcn.0040f447
pop ecx
pop ecx
mov eax, dword [esi + 0x39d8]
cmp eax, edi
je 0x41534f
push eax
push str.WakeFromSleepState_______:__u_r_n
call fcn.0040f447
pop ecx
pop ecx
mov eax, dword [esi + 0x39fc]
test eax, eax
je 0x41538f
dec eax
push eax
push str.Power_State______________:_D_u
call fcn.0040f447
mov eax, dword [esi + 0x3a00]
pop ecx
pop ecx
test eax, eax
je 0x415384
push eax
call fcn.00412b26
push eax
push str.__supported:__s_
call fcn.0040f447
pop ecx
pop ecx
push 0x456550
call fcn.0040f447
pop ecx
push 0x4525ac
lea edi, [esi + 0xfc8]
push edi
call fcn.00428778
test eax, eax
je 0x4153c4
lea eax, [esi + 0x13b0]
cmp word [eax], 0
jne 0x4153b5
mov eax, str.none_assigned
push eax
push edi
push str.COM_Port_________________:__s___s__r_n
call fcn.0040f49a
add esp, 0xc
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
xor edi, edi
cmp dword [0x4a1b20], edi
jne 0x41548b
push 0x45c3c8
lea eax, [esi + 0x1f70]
push eax
call ebx
test eax, eax
jne 0x41548b
cmp dword [esi + 0x39f4], edi
jne 0x41548b
push str.DDI_11
push 3
call fcn.0044d31e
pop ecx
pop ecx
cmp dword [esi + 0x82c], edi
jne 0x41543d
mov ecx, dword [0x50c78c]
push 0x200
lea eax, [esi + 0x2c]
push eax
push dword [esi + 0x10]
call fcn.00401684
push eax
push str.DDI_12_n_i
push 3
mov dword [esi + 0x82c], eax
call fcn.0044d31e
add esp, 0xc
xor edi, edi
cmp dword [esi + 0x82c], edi
jle 0x415489
lea ebx, [esi + 0x2c]
mov eax, dword [ebx]
mov dword [ebp + 0x7c], eax
test eax, eax
je 0x415477
cmp dword [0x5168ac], 5
jl 0x41546c
push edi
push str.DDI_13_i_i
push 5
call fcn.0044d31e
add esp, 0xc
push 1
push edi
push dword [ebp + 0x7c]
call fcn.004148cf
inc edi
add ebx, 4
cmp edi, dword [esi + 0x82c]
jl 0x41544a
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
xor edi, edi
mov dword [ebp + 0x78], edi
cmp word [esi + 0x1088], di
je 0x4154be
cmp dword [0x4a1b20], edi
jne 0x4154be
push esi
call fcn.00412912
cmp dword [0x4a1b20], edi
jne 0x415992
push 0
push esi
call fcn.004129fd
jmp 0x415992
mov eax, dword [esi + 0x3a3c]
cmp eax, edi
je 0x4154db
cmp dword [esi + 0x3a38], edi
jne 0x4154e7
push esi
call fcn.00412912
jmp 0x415992
cmp dword [esi + 0x3a38], edi
je 0x4156c4
cmp eax, edi
je 0x4154f1
push esi
call fcn.00412912
mov edi, dword [esi + 0x3b04]
test edi, edi
je 0x415992
lea eax, [edi + 0x848]
cmp word [eax], 0
mov dword [ebp + 0x68], eax
jne 0x415513
mov eax, 0x453a2c
push eax
push str.Volume_Name______________:__S_r_n
call fcn.0040f447
cmp dword [esi + 0x3a34], 3
pop ecx
pop ecx
jne 0x41552f
push esi
call fcn.00412816
push 0
lea eax, [edi + 0x930]
push eax
call fcn.004126c7
lea ebx, [edi + 0x32e4]
cmp word [ebx], 0
je 0x41557b
lea eax, [edi + 0x32f8]
push eax
push str.Volume_Label_____________:__S_r_n
call fcn.0040f447
push ebx
push str.Volume_Serial____________:__S_r_n
call fcn.0040f447
lea eax, [edi + 0x34fa]
push eax
push str.File_System______________:__S_r_n
call fcn.0040f447
add esp, 0x18
jmp 0x415598
mov eax, dword [edi + 0x3574]
test eax, eax
je 0x415598
push eax
call fcn.00448a28
push eax
push str.Volume_Info_Error________:__s_r_n
call fcn.0040f447
pop ecx
pop ecx
lea eax, [edi + 0x31e0]
xor ebx, ebx
cmp word [eax], bx
je 0x415631
push eax
push str.Size_____________________:__S
call fcn.0040f447
pop ecx
lea eax, [edi + 0x3200]
pop ecx
movzx ecx, word [eax]
cmp cx, 0x30
jb 0x415625
cmp cx, 0x39
ja 0x415625
lea ecx, [edi + 0x3220]
push ecx
push eax
push str.____S____S_Bytes_r_n
call fcn.0040f447
mov eax, dword [edi + 0x31d8]
and eax, dword [edi + 0x31dc]
add esp, 0xc
cmp eax, 0xffffffff
je 0x4156b2
lea eax, [edi + 0x3260]
cmp word [eax], bx
je 0x4156b2
lea ecx, [edi + 0x32a0]
push ecx
add edi, 0x3280
push edi
push eax
push str.Available________________:__S____S____S_Bytes_r_n
call fcn.0040f447
add esp, 0x10
jmp 0x4156b2
push 0x456550
call fcn.0040f447
jmp 0x415647
lea eax, [edi + 0x353a]
cmp byte [eax], bl
je 0x41564a
push eax
push str.Hint_____________________:__s_r_n
call fcn.0040f447
pop ecx
pop ecx
jmp 0x4156b2
xor eax, eax
push 0x7e
mov word [ebp - 0xc0], ax
lea eax, [ebp - 0xbe]
push ebx
push eax
call fcn.004476fd
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.0044f9ad
movzx eax, ax
cmp ax, bx
je 0x4156b2
movzx eax, ax
push eax
push dword [ebp + 0x7c]
push str.Hint_____________________:__S_Container_for__c:_r_n
call fcn.0040f447
add esp, 0xc
push dword [ebp + 0x68]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x415992
push 0x454af8
lea edi, [esi + 0x1e12]
push edi
call ebx
test eax, eax
je 0x415786
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 0x415992
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 0x415992
push str._r_n______________Mouse_Information__r_n
call fcn.0040f447
push dword [ebp + 0x48]
push str.Input_Data_Queue_Length__:__u_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x40]
push eax
push str.Mouse_Identifier_________:__u_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x42]
push eax
push str.Number_of_Buttons________:__u_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x44]
push eax
push str.Sample_Rate______________:__u_r_n
call fcn.0040f447
add esp, 0x24
jmp 0x415992
push 0x454ae4
push edi
call ebx
test eax, eax
je 0x415934
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 0x415992
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 0x4158d8
push str._r_n______________Keyboad_Information__r_n
call fcn.0040f447
cmp byte [ebp + 0x4c], 0x51
pop ecx
mov eax, str.__HID_
je 0x415810
mov eax, 0x453999
push eax
movzx eax, byte [ebp + 0x4c]
push eax
push str.Keyboard_ID.Type_________:_0x_X_s_r_n
call fcn.0040f447
movzx eax, byte [ebp + 0x4d]
push eax
push str.Keyboard_ID.Subtype______:__u_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x4e]
push eax
push str.Keyboard_Mode____________:__u_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x50]
push eax
push str.Number_of_Function_Keys__:__u_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x52]
push eax
push str.Number_of_Indicators_____:__u_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x54]
push eax
push str.Number_of_Keys_Total_____:__u_r_n
call fcn.0040f447
push dword [ebp + 0x58]
push str.Input_Data_Queue_Length__:__u_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x5c]
push eax
push str.Key_Repeat_Minimum.UnitId:__u_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x5e]
add esp, 0x44
push eax
push str.Key_Repeat_Minimum.Rate__:__u_per_second_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x60]
push eax
push str.Key_Repeat_Minimum.Delay_:__u_ms_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x62]
push eax
push str.Key_Repeat_Maximum.UnitId:__u_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x64]
push eax
push str.Key_Repeat_Maximum.Rate__:__u_per_second_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x66]
push eax
push str.Key_Repeat_Maximum.Delay_:__u_ms_r_n
call fcn.0040f447
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 0x415992
movzx eax, word [ebp + 0x68]
push eax
push str.Key_Repeat_UnitId________:__u_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x6a]
push eax
push str.Key_Repeat_Rate__________:__u_per_second_r_n
call fcn.0040f447
movzx eax, word [ebp + 0x6c]
push eax
push str.Key_Repeat_Delay_________:__u_ms_r_n
call fcn.0040f447
add esp, 0x18
jmp 0x415992
push 0x454a84
push edi
call ebx
test eax, eax
je 0x415992
cmp dword [esi + 8], 0
je 0x415992
lea edi, [esi + 0xc30]
xor ebx, ebx
cmp word [edi], bx
jne 0x415981
cmp dword [esi + 0x10], ebx
je 0x41597c
push ebx
push 0x104
push edi
lea eax, [esi + 0xe38]
push eax
push 0x4517b0
call dword [sym.imp.CFGMGR32.dll_CM_Get_Device_Interface_ListW]
test eax, eax
jne 0x41597c
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp word [edi], bx
je 0x415992
push edi
lea ecx, [ebp + 0x7f]
call fcn.0040e637
lea ecx, [ebp + 0x7f]
call fcn.0040e62f
push str.HIDClass
lea eax, [esi + 0x1e12]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4159cc
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 0x4159cc
push str.HID
push ebx
call edi
test eax, eax
je 0x4159d8
add esi, 0xc30
push esi
call fcn.00422950
push dword [ebp + 0x78]
call fcn.004279ee
pop ebx
test eax, eax
je 0x4159ee
push dword [ebp + 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.DDI_end
push 3
call fcn.0044d31e
pop ecx
pop ecx
pop esi
pop edi
add ebp, 0x70
leave
ret 8