Function at 0x4257fe
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e1e7d
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x5181f4]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea esi, [ebx + 0x244]
mov ecx, esi
call fcn.004b78b0
push eax
mov ecx, ebx
call fcn.00424b11
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call fcn.004b78c0
push dword [esp + 0x40]
lea ecx, [ebx + 0x298]
push eax
call fcn.004b7100
test eax, eax
jne 0x42588b
push 0x54f
lea ecx, [esp + 0x8c]
call fcn.0048a7e0
push 0x50e7a0
lea eax, [esp + 0x8c]
push eax
call fcn.0044661f
push ecx
mov edi, esp
mov dword [esp + 0x24], esp
push str.Returns_USB_device_name
call fcn.00423533
and dword [esp + 0xec], 0
push ecx
mov edi, esp
mov dword [esp + 0x3c], esp
push str.User_Functions
call fcn.00423533
push ecx
mov byte [esp + 0xf4], 1
mov edi, esp
mov dword [esp + 0x24], esp
push str.function_UsrGetUsbDeviceName_Val:_String_:_String_
call fcn.00423533
xor edi, edi
mov byte [esp + 0xf4], 2
cmp dword [ebx + 4], edi
jne 0x4258e7
push 0x80004003
call fcn.004401d0
mov ecx, dword [ebx + 4]
or dword [esp + 0xf4], 0xffffffff
call fcn.00423bd7
cmp eax, edi
jge 0x425901
push eax
call fcn.004401d0
mov ecx, esi
call fcn.004cb490
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x10], edi
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0xec], 3
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0xe8], 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], edi
call fcn.004b74b0
test eax, eax
jle 0x425c8c
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x1c]
call fcn.004b75b0
test al, al
je 0x425c73
mov esi, dword [esp + 0x38]
lea edi, [esp + 0x10]
call fcn.00423583
push 0xc
call fcn.00441e44
pop ecx
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xe8], 5
je 0x42599b
push esi
mov esi, eax
call fcn.004235c3
mov esi, eax
jmp 0x42599d
xor esi, esi
mov byte [esp + 0xe8], 4
mov eax, dword [esp + 0x34]
sub eax, 0
mov dword [esp + 0x10], esi
je 0x425ba2
dec eax
jne 0x425c73
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x18]
call fcn.004b7770
test al, al
je 0x425c73
cmp word [esp + 0x24], 7
jne 0x425c73
fld qword [esp + 0x2c]
lea eax, [esp + 0x78]
push eax
push ecx
push ecx
fstp qword [esp]
call dword [sym.imp.OLEAUT32.dll_UnRegisterTypeLib]
xor eax, eax
mov word [esp + 0x26], ax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x26], al
mov byte [esp + 0x27], al
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x7c]
push eax
mov word [esp + 0x2c], 0xe
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004236ea
test esi, esi
push ecx
mov eax, esp
lea edi, [esp + 0x68]
mov dword [esp + 0x20], esp
mov dword [eax], esi
je 0x425a53
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [esp + 0xec], 0xa
cmp dword [ebx + 4], 0
jne 0x425a6b
push 0x80004003
call fcn.004401d0
mov ebx, dword [ebx + 4]
mov edx, edi
mov byte [esp + 0xec], 9
call fcn.00423b84
lea eax, [esp + 0x64]
mov byte [esp + 0xe8], 4
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
push eax
call esi
xor ebx, ebx
cmp eax, ebx
jge 0x425a9e
push eax
call fcn.004401d0
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x7c]
push eax
push ebx
mov word [esp + 0x30], 7
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToSystemTime]
push str._Local
lea edi, [esp + 0x24]
call fcn.00423533
push 0xc
mov byte [esp + 0xec], 0xb
call fcn.00441e44
pop ecx
mov dword [esp + 0x1c], eax
cmp eax, ebx
mov byte [esp + 0xe8], 0xc
je 0x425b0b
mov ecx, edi
push ecx
lea ecx, [esp + 0x14]
push ecx
mov edi, eax
call fcn.004235f3
mov ebx, eax
lea edi, [esp + 0x10]
call fcn.00423583
lea edi, [esp + 0x20]
mov dword [esp + 0x10], ebx
mov byte [esp + 0xe8], 4
call fcn.00423583
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004236ea
test ebx, ebx
push ecx
mov eax, esp
lea edi, [esp + 0x58]
mov dword [esp + 0x20], esp
mov dword [eax], ebx
je 0x425b53
add ebx, 8
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebx, dword [ebp + 8]
mov byte [esp + 0xec], 0xe
cmp dword [ebx + 4], 0
jne 0x425b6e
push 0x80004003
call fcn.004401d0
mov ebx, dword [ebx + 4]
mov edx, edi
mov byte [esp + 0xec], 0xd
call fcn.00423b84
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0xec], 4
call esi
test eax, eax
jge 0x425c70
push eax
call fcn.004401d0
jmp 0x425c70
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
call fcn.004b7690
test al, al
je 0x425c73
push dword [esp + 0x3c]
lea ecx, [esp + 0xa8]
call fcn.0040431c
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xc4]
push eax
mov byte [esp + 0xf0], 6
call fcn.00426cc5
pop ecx
pop ecx
mov byte [esp + 0xe8], 7
cmp dword [eax + 0x18], 8
jb 0x425bfe
mov eax, dword [eax + 4]
jmp 0x425c01
add eax, 4
push eax
lea ecx, [esp + 0x48]
call fcn.00423713
push 0
push 1
lea ecx, [esp + 0xc8]
call fcn.00404df2
push 0
push 1
lea ecx, [esp + 0xac]
call fcn.00404df2
test esi, esi
push ecx
mov eax, esp
lea edi, [esp + 0x48]
mov dword [esp + 0x20], esp
mov dword [eax], esi
je 0x425c46
add esi, 8
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov byte [esp + 0xec], 8
cmp dword [ebx + 4], 0
jne 0x425c5e
push 0x80004003
call fcn.004401d0
mov ebx, dword [ebx + 4]
mov edx, edi
mov byte [esp + 0xec], 4
call fcn.00423b84
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
inc dword [esp + 0x14]
call fcn.004b74b0
cmp dword [esp + 0x14], eax
jl 0x42594b
xor edi, edi
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0xec], 3
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp eax, edi
jge 0x425ca9
push eax
call fcn.004401d0
lea edi, [esp + 0x10]
call fcn.00423583
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4