Function at 0x49ccd0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f1b7c
mov eax, dword fs:[0]
push eax
mov eax, 0x1a94
call fcn.004e03c0
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x1a90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x1aa8]
mov dword fs:[0], eax
cmp dword [0x103a97c], 0x94
mov bl, byte [esp + 0x1ab8]
jne 0x49cd35
movzx eax, bl
push eax
push str.EnableDevices__d_
push 8
call fcn.0043d500
add esp, 0xc
push 6
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov dword [0x10da4e4], eax
cmp eax, 0xffffffff
jne 0x49cd53
xor eax, eax
jmp 0x49d987
xor eax, eax
push 0x7ff
lea ecx, [esp + 0x10a9]
push esi
mov edi, 0x1c
push ecx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov byte [esp + 0x10b0], al
call sub.MSVCR90.dll_memset
push 0x7ff
lea edx, [esp + 0xb5]
push esi
push edx
mov byte [esp + 0xbc], 0
call sub.MSVCR90.dll_memset
push 0x7ff
lea eax, [esp + 0x8c1]
push esi
push eax
mov byte [esp + 0x8c8], 0
call sub.MSVCR90.dll_memset
add esp, 0x24
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esp + 0x1ab0], esi
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1ab0], 1
mov eax, dword [0x103a97c]
cmp eax, 0x94
jne 0x49cf23
push str.testDeviceName
push 8
call fcn.0043d500
mov edx, dword [0x10da4e4]
mov ebp, dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
add esp, 8
lea ecx, [esp + 0x88]
push ecx
push esi
push edx
call ebp
test eax, eax
je 0x49cf1c
jmp 0x49ce50
cmp esi, 0x200
jae 0x49cf1c
mov eax, dword [esp + 0x9c]
push 0
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
test eax, eax
je 0x49ce8a
push esi
push str.NOT_CR_SUCCESS_i_
push 8
call fcn.0043d500
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x8a8]
push ecx
lea edx, [esp + 0xac]
push edx
mov edx, dword [0x10da4e4]
lea eax, [esp + 0x10b0]
push eax
lea ecx, [esp + 0x98]
push ecx
push edx
push esi
mov dword [esp + 0x34], 0x800
call fcn.0048fbe0
mov ecx, dword [0x10da4e4]
xor eax, eax
add esp, 0x1c
mov dword [esp + 0x88], eax
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 + 0x88]
push eax
inc esi
push esi
push ecx
mov dword [esp + 0x94], edi
call ebp
test eax, eax
jne 0x49ce50
mov eax, dword [0x103a97c]
jmp 0x49cf29
mov ebp, dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test bl, bl
je 0x49d245
cmp eax, 0x94
jne 0x49cf47
push str.EnableDevices_Enable
push 8
call fcn.0043d500
add esp, 8
mov eax, dword [0x10da4e4]
lea edx, [esp + 0x88]
push edx
xor ebx, ebx
push ebx
push eax
call ebp
test eax, eax
je 0x49d95b
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 0x200
jae 0x49d95b
push 0x800
lea ecx, [esp + 0x10a8]
push 0
push ecx
call sub.MSVCR90.dll_memset
push 0x800
lea edx, [esp + 0xb4]
push 0
push edx
call sub.MSVCR90.dll_memset
push 0x800
lea eax, [esp + 0x8c0]
push 0
push eax
call sub.MSVCR90.dll_memset
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x8cc]
push edx
lea eax, [esp + 0xd0]
push eax
mov eax, dword [0x10da4e4]
lea ecx, [esp + 0x10d4]
push ecx
lea edx, [esp + 0xbc]
push edx
push eax
push ebx
mov dword [esp + 0x58], 0x800
call fcn.0048fa10
add esp, 0x40
cmp dword [0x103a97c], 0x94
jne 0x49d020
lea ecx, [esp + 0x8a4]
push ecx
lea edx, [esp + 0xa8]
push edx
lea eax, [esp + 0x10ac]
push eax
push ebx
push str.EnumDevices_for_EnableDevices__d__s__s__s
push 8
call fcn.0043d500
add esp, 0x18
lea ecx, [esp + 0x8a4]
push ecx
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov esi, eax
mov byte [esp + 0x1ab0], 2
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov edi, eax
mov byte [esp + 0x1ab0], 3
lea eax, [esp + 0x10a4]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1ab0], 4
push 0x502ba4
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00402a60
mov byte [esp + 0x1abc], 5
push edi
push eax
lea edx, [esp + 0x44]
push edx
call fcn.004029d0
mov byte [esp + 0x1ac8], 6
push 0x502ba4
push eax
lea eax, [esp + 0x40]
push eax
call fcn.00402a60
mov byte [esp + 0x1ad4], 7
push esi
push eax
lea ecx, [esp + 0x48]
push ecx
call fcn.004029d0
add esp, 0x30
mov byte [esp + 0x1ab0], 9
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0xa
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0xb
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0xc
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0xd
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0xe
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x1ab0], 0xf
mov esi, dword [0x10dd2bc]
test esi, esi
je 0x49d1bb
lea ecx, [ecx]
mov eax, esi
test esi, esi
je 0x49d240
mov esi, dword [esi + 4]
add eax, 8
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_1603]
test eax, eax
jne 0x49d1b7
cmp dword [0x103a97c], 0x94
jne 0x49d1a1
lea eax, [esp + 0xa4]
push eax
push str.EnableDevices_ENABLE__s_
push 8
call fcn.0043d500
add esp, 0xc
mov ecx, dword [0x10da4e4]
push ecx
push ebx
push 1
call fcn.004900c0
add esp, 0xc
push 0xa
call ebp
test esi, esi
jne 0x49d150
xor eax, eax
mov dword [esp + 0x88], eax
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
mov dword [esp + 0x88], 0x1c
mov byte [esp + 0x1ab0], 0xe
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [0x10da4e4]
lea edx, [esp + 0x88]
push edx
inc ebx
push ebx
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x49cf68
jmp 0x49d95b
call sub.mfc90.dll_Ordinal_1252
cmp eax, 0x94
jne 0x49d25b
push str.EnableDevices_Disable
push 8
call fcn.0043d500
add esp, 8
mov edx, dword [0x10da4e4]
lea ecx, [esp + 0x88]
push ecx
xor esi, esi
push esi
push edx
mov dword [esp + 0x20], esi
call ebp
test eax, eax
je 0x49d94f
mov ebp, dword [sym.imp.MSVCR90.dll_strchr]
cmp esi, 0x200
jae 0x49d94f
mov eax, dword [esp + 0x9c]
push 0
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Status]
test eax, eax
jne 0x49d928
push 0x800
push eax
lea eax, [esp + 0x10ac]
push eax
call sub.MSVCR90.dll_memset
push 0x800
lea ecx, [esp + 0xb4]
push 0
push ecx
call sub.MSVCR90.dll_memset
push 0x800
lea edx, [esp + 0x8c0]
push 0
push edx
call sub.MSVCR90.dll_memset
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x8cc]
push ecx
lea edx, [esp + 0xd0]
push edx
mov edx, dword [0x10da4e4]
lea eax, [esp + 0x10d4]
push eax
lea ecx, [esp + 0xbc]
push ecx
push edx
push esi
mov dword [esp + 0x58], 0x800
call fcn.0048fa10
add esp, 0x40
lea eax, [esp + 0x8a4]
push eax
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x10ac]
push edx
call fcn.004901a0
add esp, 0xc
mov dword [esp + 0x18], eax
test dword [0x10430f4], eax
je 0x49d928
cmp byte [0x10500fe], 0
je 0x49d468
test al, 0x10
je 0x49d468
xor eax, eax
mov edi, edi
mov cl, byte [esp + eax + 0x8a4]
mov byte [esp + eax + 0x18a4], cl
inc eax
test cl, cl
jne 0x49d370
lea eax, [esp + 0x18a4]
push 0x5c
push eax
call ebp
add esp, 8
test eax, eax
je 0x49d468
lea ebx, [eax + 1]
push 0x26
push ebx
call ebp
add esp, 8
test eax, eax
je 0x49d468
lea edi, [eax + 1]
push 0x5c
push edi
call ebp
mov esi, eax
inc esi
add esp, 8
cmp esi, 1
jne 0x49d3ca
push 0x26
push edi
call ebp
add esp, 8
mov esi, eax
test esi, esi
je 0x49d468
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49d3d7
sub eax, edx
cmp eax, 0xa
jbe 0x49d3fd
lea eax, [esi + 1]
lea edx, [eax + 1]
jmp 0x49d3f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49d3f0
sub eax, edx
lea esi, [esi + eax - 9]
mov edi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
push ebx
push 0x10500fe
call edi
test eax, eax
jne 0x49d41b
push esi
push 0x10500fe
call edi
test eax, eax
je 0x49d468
mov eax, dword [0x103a97c]
cmp eax, 0x94
je 0x49d430
cmp eax, 0x78
jne 0x49d928
push esi
push ebx
push 0x10500fe
lea ecx, [esp + 0x8b0]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xb4]
push edx
lea eax, [esp + 0x10b8]
push eax
push ecx
push str.StateChange_Exp__d_DISABLE__s___s___s_tc_USBExpList__s_pVIDnPID__s_pSerial__s_
push 8
call fcn.0043d500
add esp, 0x24
jmp 0x49d928
lea edx, [esp + 0x8a4]
push edx
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov esi, eax
mov byte [esp + 0x1ab0], 0x10
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov edi, eax
mov byte [esp + 0x1ab0], 0x11
lea ecx, [esp + 0x10a4]
push ecx
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1ab0], 0x12
push 0x502ba4
push eax
lea edx, [esp + 0x2c]
push edx
call fcn.00402a60
mov byte [esp + 0x1abc], 0x13
push edi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004029d0
mov byte [esp + 0x1ac8], 0x14
push 0x502ba4
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00402a60
mov byte [esp + 0x1ad4], 0x15
push esi
push eax
lea edx, [esp + 0x54]
push edx
call fcn.004029d0
add esp, 0x30
mov byte [esp + 0x1ab0], 0x16
mov eax, dword [eax]
push 0
push eax
mov ecx, 0x10dd2b4
call sub.mfc90.dll_Ordinal_2485
test eax, eax
sete bl
mov byte [esp + 0x1ab0], 0x15
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x14
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x13
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x12
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x11
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x10
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 1
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
test bl, bl
je 0x49d83e
lea eax, [esp + 0x8a4]
push eax
lea ecx, [esp + 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov esi, eax
mov byte [esp + 0x1ab0], 0x17
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x78]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov edi, eax
mov byte [esp + 0x1ab0], 0x18
lea edx, [esp + 0x10a4]
push edx
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1ab0], 0x19
push 0x502ba4
push eax
lea eax, [esp + 0x50]
push eax
call fcn.00402a60
mov byte [esp + 0x1abc], 0x1a
push edi
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.004029d0
mov byte [esp + 0x1ac8], 0x1b
push 0x502ba4
push eax
lea edx, [esp + 0x88]
push edx
call fcn.00402a60
mov byte [esp + 0x1ad4], 0x1c
push esi
push eax
lea eax, [esp + 0x98]
push eax
call fcn.004029d0
add esp, 0x30
mov byte [esp + 0x1ab0], 0x1d
push eax
mov ecx, 0x10dd2b4
call sub.mfc90.dll_Ordinal_1041
mov byte [esp + 0x1ab0], 0x1c
lea ecx, [esp + 0x6c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x1b
lea ecx, [esp + 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x1a
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x19
lea ecx, [esp + 0x48]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x18
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x17
lea ecx, [esp + 0x74]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 1
lea ecx, [esp + 0x64]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [0x103a97c]
cmp eax, 0x94
jne 0x49d84a
lea ecx, [esp + 0x8a4]
push ecx
lea ecx, [esp + 0x64]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov esi, eax
mov byte [esp + 0x1ab0], 0x1e
lea edx, [esp + 0xa4]
push edx
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov edi, eax
mov byte [esp + 0x1ab0], 0x1f
lea eax, [esp + 0x10a4]
push eax
lea ecx, [esp + 0x54]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1ab0], 0x20
push 0x502ba4
push eax
lea ecx, [esp + 0x54]
push ecx
call fcn.00402a60
mov byte [esp + 0x1abc], 0x21
push edi
push eax
lea edx, [esp + 0x84]
push edx
call fcn.004029d0
mov byte [esp + 0x1ac8], 0x22
push 0x502ba4
push eax
lea eax, [esp + 0x98]
push eax
call fcn.00402a60
mov byte [esp + 0x1ad4], 0x23
push esi
push eax
lea ecx, [esp + 0xa8]
push ecx
call fcn.004029d0
mov byte [esp + 0x1ae0], 0x24
mov edx, dword [eax]
push edx
push str.EnableDevices_AddTail_DISABLE__s_
push 8
call fcn.0043d500
add esp, 0x3c
mov byte [esp + 0x1ab0], 0x23
lea ecx, [esp + 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x22
lea ecx, [esp + 0x78]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x21
lea ecx, [esp + 0x70]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x20
lea ecx, [esp + 0x4c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x1f
lea ecx, [esp + 0x50]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 0x1e
lea ecx, [esp + 0x58]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x1ab0], 1
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [0x103a97c]
cmp eax, 0x94
je 0x49d84f
cmp eax, 0x78
jne 0x49d87b
lea eax, [esp + 0x8a4]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x10ac]
push edx
push eax
push str.StateChange___d_DISABLE__s___s___s_
push 8
call fcn.0043d500
add esp, 0x18
push ecx
lea edx, [esp + 0x8a8]
mov ecx, esp
mov dword [esp + 0x84], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1ab4], 0x25
push ecx
lea eax, [esp + 0xac]
mov ecx, esp
mov dword [esp + 0x8c], esp
push eax
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x1ab8], 0x26
mov ecx, dword [esp + 0x20]
push ecx
mov byte [esp + 0x1abc], 1
call fcn.0044f150
add esp, 0xc
test eax, eax
je 0x49d8ea
mov edx, dword [0x10da4e4]
mov eax, dword [esp + 0x14]
push edx
push eax
push 2
call fcn.004900c0
add esp, 0xc
xor eax, eax
mov dword [esp + 0x88], eax
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
mov dword [esp + 0x88], 0x1c
mov esi, dword [esp + 0x14]
mov edx, dword [0x10da4e4]
lea ecx, [esp + 0x88]
push ecx
inc esi
push esi
push edx
mov dword [esp + 0x20], esi
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
jne 0x49d281
mov eax, dword [0x10da4e4]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov byte [esp + 0x1ab0], 0
lea ecx, [esp + 0x3c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x1ab0], 0xffffffff
lea ecx, [esp + 0x38]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, 1
mov ecx, dword [esp + 0x1aa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1a90]
xor ecx, esp
call fcn.004e0148
add esp, 0x1aa0
ret