Function at 0x43c100
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535331
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x57b300]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.SELECT__FROM_Win32_DiskDrive_WHERE__SerialNumber_IS_NOT_NULL__AND__InterfaceType____USB_
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], 0
call fcn.0043cc80
mov esi, eax
push 0x5406cc
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0043cc80
mov ecx, dword [esi]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x43c160
mov esi, dword [ecx]
jmp 0x43c162
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x43c16c
mov edx, dword [eax]
jmp 0x43c16e
xor edx, edx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x10]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, dword [ebp - 0x14]
or edi, 0xffffffff
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp + 8], eax
test esi, esi
je 0x43c1da
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x43c1d3
test esi, esi
je 0x43c1d3
mov eax, dword [esi]
test eax, eax
je 0x43c1b1
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x43c1c8
push eax
call fcn.00461786
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00461701
add esp, 8
mov dword [ebp - 0x14], 0
mov esi, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x43c225
lock xadd dword [esi + 8], edi
dec edi
jne 0x43c225
test esi, esi
je 0x43c225
mov eax, dword [esi]
test eax, eax
je 0x43c203
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x43c21a
push eax
call fcn.00461786
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00461701
add esp, 8
cmp dword [ebp + 8], 0
jl 0x43c852
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x43c84c
mov esi, dword [ebp + 0xc]
nop dword [eax]
lea edx, [ebp - 0x18]
mov dword [ebp + 8], 0
push edx
lea edx, [ebp + 8]
mov dword [ebp - 0x18], 0
mov eax, dword [ecx]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x18], 0
je 0x43c849
cmp dword [esi + 0x10], 0
jne 0x43c849
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x5406d0
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x2c]
call fcn.004ec880
mov ebx, eax
mov dword [ebp - 0x14], eax
lea eax, [ebx + 1]
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x43c2a6
mov edx, dword [esi + 0x14]
sub ebx, eax
mov ecx, dword [esi + 0x10]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
cmp ebx, eax
ja 0x43c2eb
lea eax, [ecx + ebx]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x43c2d2
mov eax, dword [esi]
push ebx
push dword [ebp - 0x14]
lea edi, [eax + ecx]
push edi
call fcn.004ed980
add esp, 0xc
mov byte [edi + ebx], 0
jmp 0x43c409
mov eax, SysReAllocString
sub eax, ecx
cmp eax, ebx
jb 0x43c872
lea edi, [ecx + ebx]
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x43c312
mov edi, SysReAllocString
lea eax, [edi + 0x24]
jmp 0x43c351
mov eax, edx
shr eax, 1
mov dword [ebp + 0xc], eax
mov eax, SysReAllocString
sub eax, dword [ebp + 0xc]
cmp edx, eax
jbe 0x43c32f
mov edi, SysReAllocString
lea eax, [edi + 0x24]
jmp 0x43c351
mov eax, dword [ebp + 0xc]
add eax, edx
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x43c372
add eax, 0x23
lea ecx, [edi + 1]
cmp eax, ecx
jbe 0x43c868
push eax
call fcn.004616d1
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x43c86d
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
mov ecx, dword [ebp - 0x1c]
jmp 0x43c386
test eax, eax
je 0x43c384
push eax
call fcn.004616d1
mov ecx, dword [ebp - 0x1c]
add esp, 4
jmp 0x43c386
xor eax, eax
cmp dword [ebp - 0x20], 0x10
lea edx, [ecx + ebx]
mov dword [esi + 0x14], edi
lea edi, [eax + ecx]
mov dword [ebp + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [ebp - 0x1c], edi
push ecx
jb 0x43c3ec
mov edi, dword [esi]
push edi
push eax
call fcn.004ed400
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.004ed400
mov eax, dword [ebp - 0x1c]
add esp, 0x18
mov ecx, dword [ebp - 0x20]
inc ecx
mov byte [eax + ebx], 0
cmp ecx, 0x1000
jb 0x43c3e0
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x43c86d
mov edi, edx
push ecx
push edi
call fcn.00461701
add esp, 8
jmp 0x43c404
push esi
push eax
call fcn.004ed400
push ebx
push dword [ebp - 0x14]
push edi
call fcn.004ed400
add esp, 0x18
mov byte [edi + ebx], 0
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [esi + 0x10], 0
je 0x43c833
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.PNPDeviceID
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x2c]
call fcn.004ec880
mov ebx, eax
mov dword [ebp + 0xc], eax
lea eax, [ebx + 1]
nop
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x43c450
mov edx, dword [esi + 0x14]
sub ebx, eax
mov ecx, dword [esi + 0x10]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], edx
cmp ebx, eax
ja 0x43c495
lea eax, [ecx + ebx]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x43c47c
mov eax, dword [esi]
push ebx
push dword [ebp + 0xc]
lea edi, [eax + ecx]
push edi
call fcn.004ed980
add esp, 0xc
mov byte [edi + ebx], 0
jmp 0x43c56d
mov eax, SysReAllocString
sub eax, ecx
cmp eax, ebx
jb 0x43c872
lea eax, [ecx + ebx]
mov edi, eax
mov dword [ebp - 0x20], eax
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x43c4be
mov edi, SysReAllocString
jmp 0x43c4dc
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x43c4d4
mov edi, SysReAllocString
jmp 0x43c4dc
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
mov ecx, esi
push eax
call fcn.00405430
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x14], edi
mov dword [ebp - 0x14], eax
push ecx
lea edi, [eax + ecx]
mov dword [ebp - 0x20], edi
jb 0x43c550
mov edi, dword [esi]
push edi
push eax
call fcn.004ed400
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call fcn.004ed400
mov eax, dword [ebp - 0x20]
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
inc ecx
mov byte [eax + ebx], 0
cmp ecx, 0x1000
jb 0x43c544
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x43c86d
mov edi, edx
push ecx
push edi
call fcn.00461701
add esp, 8
jmp 0x43c568
push esi
push eax
call fcn.004ed400
push ebx
push dword [ebp + 0xc]
push edi
call fcn.004ed400
add esp, 0x18
mov byte [edi + ebx], 0
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Model
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x2c]
call fcn.004ec880
mov ebx, eax
mov dword [ebp + 0xc], eax
lea eax, [ebx + 1]
nop dword [eax]
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x43c5b0
mov edx, dword [esi + 0x14]
sub ebx, eax
mov ecx, dword [esi + 0x10]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
cmp ebx, eax
ja 0x43c5f5
lea eax, [ecx + ebx]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x43c5dc
mov eax, dword [esi]
push ebx
push dword [ebp + 0xc]
lea edi, [ecx + eax]
push edi
call fcn.004ed980
add esp, 0xc
mov byte [edi + ebx], 0
jmp 0x43c6cd
mov eax, SysReAllocString
sub eax, ecx
cmp eax, ebx
jb 0x43c872
lea eax, [ecx + ebx]
mov edi, eax
mov dword [ebp - 0x24], eax
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x43c61e
mov edi, SysReAllocString
jmp 0x43c63c
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x43c634
mov edi, SysReAllocString
jmp 0x43c63c
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
mov ecx, esi
push eax
call fcn.00405430
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x14], edi
mov dword [ebp - 0x14], eax
push ecx
lea edi, [eax + ecx]
mov dword [ebp - 0x20], edi
jb 0x43c6b0
mov edi, dword [esi]
push edi
push eax
call fcn.004ed400
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call fcn.004ed400
mov eax, dword [ebp - 0x20]
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
inc ecx
mov byte [eax + ebx], 0
cmp ecx, 0x1000
jb 0x43c6a4
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x43c86d
mov edi, edx
push ecx
push edi
call fcn.00461701
add esp, 8
jmp 0x43c6c8
push esi
push eax
call fcn.004ed400
push ebx
push dword [ebp + 0xc]
push edi
call fcn.004ed400
add esp, 0x18
mov byte [edi + ebx], 0
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x34]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.SystemName
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x2c]
call fcn.004ec880
mov ebx, eax
mov dword [ebp + 0xc], eax
lea eax, [ebx + 1]
nop dword [eax]
mov cl, byte [ebx]
inc ebx
test cl, cl
jne 0x43c710
mov edx, dword [esi + 0x14]
sub ebx, eax
mov ecx, dword [esi + 0x10]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
cmp ebx, eax
ja 0x43c755
lea eax, [ecx + ebx]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 0x10
jb 0x43c73c
mov eax, dword [esi]
push ebx
push dword [ebp + 0xc]
lea edi, [ecx + eax]
push edi
call fcn.004ed980
add esp, 0xc
mov byte [edi + ebx], 0
jmp 0x43c829
mov eax, SysReAllocString
sub eax, ecx
cmp eax, ebx
jb 0x43c872
lea eax, [ecx + ebx]
mov edi, eax
mov dword [ebp - 0x24], eax
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x43c77e
mov edi, SysReAllocString
jmp 0x43c79c
mov ecx, edx
mov eax, SysReAllocString
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x43c794
mov edi, SysReAllocString
jmp 0x43c79c
lea eax, [edx + ecx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
mov ecx, esi
push eax
call fcn.00405430
cmp dword [ebp - 0x1c], 0x10
mov ecx, dword [ebp - 0x24]
mov dword [esi + 0x10], ecx
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x14], edi
mov dword [ebp - 0x14], eax
push ecx
lea edi, [eax + ecx]
mov dword [ebp - 0x20], edi
jb 0x43c80c
mov edi, dword [esi]
push edi
push eax
call fcn.004ed400
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0x20]
call fcn.004ed400
mov eax, dword [ebp - 0x20]
add esp, 0x18
mov ecx, dword [ebp - 0x1c]
inc ecx
mov byte [eax + ebx], 0
cmp ecx, 0x1000
jb 0x43c800
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x43c86d
mov edi, edx
push ecx
push edi
call fcn.00461701
add esp, 8
jmp 0x43c824
push esi
push eax
call fcn.004ed400
push ebx
push dword [ebp + 0xc]
push edi
call fcn.004ed400
add esp, 0x18
mov byte [edi + ebx], 0
mov eax, dword [ebp - 0x14]
mov dword [esi], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x43c240
jmp 0x43c84c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.004053c0
call fcn.004f6f4a
call fcn.00404fd0
int3