Function at 0x42fa00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47a558
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x4a5eb0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a643c
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a643c
mov dword [esp + 0x28], 0
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
mov eax, dword [0x4a643c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a643c
mov byte [esp + 0x28], 1
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push str.TYPE
push esi
mov byte [esp + 0x34], 2
call fcn.0040ee00
lea ecx, [esp + 0x1c]
push 0x48142c
push ecx
call fcn.00404100
add esp, 0x14
test al, al
je 0x42fb55
lea edx, [esp + 0x10]
push edx
push str.USBHARDWAREID
push esi
call fcn.0040ee00
mov eax, dword [esp + 0x1c]
add esp, 0xc
cmp dword [eax - 0xc], 0
jle 0x42fb55
push 0x5c
push eax
call dword [sym.imp.MSVCR90.dll_wcsrchr]
add esp, 8
test eax, eax
jne 0x42fade
or eax, 0xffffffff
jmp 0x42fae4
sub eax, dword [esp + 0x10]
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call fcn.004083a0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call fcn.00404450
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x28], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fb28
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
push ecx
push str.DEVICE_UID
push esi
call fcn.0040ea30
lea eax, [edi - 0x10]
add esp, 0xc
mov byte [esp + 0x28], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42fc0e
lea ecx, [esp + 0x10]
push ecx
push 0x481694
push esi
call fcn.0040ee00
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
call fcn.00404450
lea eax, [esp + 0x10]
push eax
push str.Model_Name
push esi
call fcn.0040ee00
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push 0x4873b4
push edx
call fcn.00402e80
mov edi, dword [esp + 0x30]
mov eax, dword [edi - 0xc]
add esp, 0x18
push eax
push edi
lea ecx, [esp + 0x1c]
call fcn.004044d0
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push ebp
push eax
call fcn.0042c4e0
mov eax, dword [eax]
push eax
push str.DEVICE_UID
push esi
mov byte [esp + 0x3c], 4
call fcn.0040ea30
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x28], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fbf9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fc1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x28], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fc3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x28], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fc5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret