Function at 0x100244d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057f73
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x10072f40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xfc], esi
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x114], eax
call fcn.100063f0
mov ecx, eax
test ecx, ecx
je 0x10024ad7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xf0], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0xf0]
push ebx
push dword [ebp + 0xc]
push str.GetDeviceSerialNoNew_start___PID_0x_.4x__Ins_0x_x
push eax
call fcn.10021040
add esp, 0xc
lea eax, [ebp - 0xf0]
mov ecx, esp
mov dword [ebp - 0x108], esp
push eax
call fcn.10011400
mov byte [ebp - 4], 2
lea edi, [esi + 0x210]
mov eax, dword [edi]
mov dword [ebp - 0x11c], edi
mov byte [ebp - 4], 1
mov ecx, edi
call dword [eax + 8]
mov eax, dword [ebp - 0xf8]
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0xf4], ebx
mov word [eax], cx
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x12c]
push eax
lea ecx, [esi + 0xc8]
call fcn.1000b1c0
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], bl
jne 0x100246a1
mov eax, dword [ebp + 0xc]
cmp eax, dword [ecx + 0x10]
jb 0x100246a1
mov ecx, dword [ebp - 0x114]
mov eax, dword [ecx]
add eax, eax
push eax
push ebx
mov ebx, dword [ebp - 0xf8]
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, esi
push dword [ebp - 0x114]
push ebx
call fcn.10025860
mov ebx, eax
mov eax, dword [ebp - 0x104]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xf0]
push str.GetDeviceSerialNoNew_done____PID_0x_.4x_Ins_0x_x__SN
push eax
call fcn.10021040
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0xfc]
add esp, 0x10
push eax
call fcn.10011580
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf0]
mov eax, dword [ebp - 0xfc]
push dword [eax - 0xc]
push eax
call fcn.10019710
push ecx
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x108], esp
mov ecx, esp
push eax
call fcn.10011400
mov byte [ebp - 4], 4
mov eax, dword [edi]
mov byte [ebp - 4], 3
mov ecx, edi
call dword [eax + 8]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0xfc]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10024a68
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10024a68
add esi, 0x1a4
push esi
mov dword [ebp - 0x130], esi
call sub.MSVCP140.dll__Mtx_lock
add esp, 4
test eax, eax
jne 0x10024ae1
mov byte [ebp - 4], 6
mov edx, dword [ebp + 0xc]
movzx eax, dl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, dh
xor ecx, eax
movzx eax, byte [ebp + 0xe]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebp + 0xf]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0xfc]
add ecx, 0x178
mov dword [ebp - 0x100], ecx
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.1000b050
cmp dword [eax + 4], 0
je 0x1002482b
mov ecx, dword [ebp - 0x100]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.1000bdb0
lea ecx, [ebp - 0xe8]
mov eax, dword [eax]
add eax, 0x10
push eax
call fcn.10012a10
mov byte [ebp - 4], 7
cmp byte [ebp - 0x70], 1
jne 0x100247d2
mov eax, dword [ebp - 0x104]
cmp dword [ebp - 0xd0], eax
jne 0x100247d2
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0xcc], eax
jne 0x100247d2
lea eax, [ebp - 0xf0]
push str.GetDeviceSerialNoNew_store
push eax
call fcn.10021040
add esp, 4
lea eax, [ebp - 0xf0]
mov ecx, esp
mov dword [ebp - 0x108], esp
push eax
call fcn.10011400
mov byte [ebp - 4], 8
mov eax, dword [edi]
mov byte [ebp - 4], 7
mov ecx, edi
call dword [eax + 8]
cmp dword [ebp - 0x58], 8
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0x5c]
cmovae ecx, dword [ebp - 0x6c]
mov dword [ebp - 0xf4], eax
add eax, eax
push eax
push ecx
push dword [ebp - 0xf8]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ebx, 1
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x6c]
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x110], ebx
call fcn.10002cb0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x88]
call fcn.10002cb0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xac]
call fcn.10002c20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc4]
call fcn.10002cb0
mov eax, dword [ebp - 0xf4]
test ebx, ebx
jne 0x100249c4
push dword [ebp - 0x118]
mov ecx, dword [ebp - 0xfc]
push dword [ebp - 0x104]
call fcn.10021be0
mov ebx, eax
test ebx, ebx
je 0x100249b8
mov edi, dword [ebp + 0x20]
push edi
push ebx
call fcn.100304e0
mov eax, dword [ebx]
lea ecx, [ebp - 0xe9]
add esp, 8
mov byte [ebp - 0xe9], 0x40
push ecx
lea ecx, [ebp - 0x50]
push ecx
mov ecx, ebx
cmp edi, 0xff
jne 0x1002487c
call dword [eax + 0x28]
jmp 0x1002487f
call dword [eax + 0x10]
test eax, eax
js 0x10024aaa
movzx eax, byte [ebp - 0xe9]
mov edi, dword [ebp - 0xf8]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 0x114]
push dword [eax]
lea eax, [ebp - 0x108]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
mov eax, dword [ebp - 0x108]
add esp, 0x14
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0xf4], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x110], 1
push eax
call fcn.1000cb30
test eax, eax
je 0x1002497e
mov ecx, dword [ebp - 0x100]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.1000bdb0
lea ecx, [ebp - 0xe8]
mov eax, dword [eax]
add eax, 0x10
push eax
call fcn.10012a10
mov byte [ebp - 4], 0xd
cmp byte [ebp - 0x70], 0
jne 0x1002496f
mov eax, dword [ebp - 0x104]
cmp dword [ebp - 0xd0], eax
jne 0x1002496f
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0xcc], eax
jne 0x1002496f
mov ecx, dword [ebp - 0x100]
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.1000bdb0
mov ecx, dword [ebp - 0x100]
mov eax, dword [eax]
mov byte [eax + 0x88], 1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.1000bdb0
push edi
mov ecx, dword [eax]
add ecx, 0x8c
call fcn.100181d0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe8]
call fcn.100170c0
mov edi, dword [ebp - 0x11c]
push 0
push 0x100730e8
push 0x10073088
push 0
push ebx
call sub.VCRUNTIME140.dll___RTDynamicCast
add esp, 0x14
test eax, eax
je 0x100249a6
mov ecx, eax
call fcn.10041290
mov eax, dword [ebp - 0xfc]
push ebx
mov ecx, dword [eax + 0x250]
mov eax, dword [ecx]
call dword [eax + 0x58]
mov eax, dword [ebp - 0xf4]
mov ebx, dword [ebp - 0x110]
push dword [ebp - 0x104]
mov ecx, dword [ebp - 0x114]
push dword [ebp + 0xc]
push str.GetDeviceSerialNoNew_done____PID_0x_.4x__Ins_0x_x__SN
mov dword [ecx], eax
lea eax, [ebp - 0xf0]
push eax
call fcn.10021040
add esp, 0x10
lea ecx, [ebp - 0x120]
push dword [ebp - 0xf8]
call fcn.10011580
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xf0]
mov eax, dword [ebp - 0x120]
push dword [eax - 0xc]
push eax
call fcn.10019710
push ecx
lea eax, [ebp - 0xf0]
mov dword [ebp - 0x108], esp
mov ecx, esp
push eax
call fcn.10011400
mov byte [ebp - 4], 0x10
mov eax, dword [edi]
mov byte [ebp - 4], 0xf
mov ecx, edi
call dword [eax + 8]
mov byte [ebp - 4], 6
or edi, 0xffffffff
mov edx, dword [ebp - 0x120]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10024a5b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
push esi
call sub.MSVCP140.dll__Mtx_unlock
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xf0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x10024a8a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005078e
mov esp, ebp
pop ebp
ret 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0x108], esp
push str.GetDeviceSerialNoNew_failed
call fcn.100114f0
mov byte [ebp - 4], 0xe
mov edi, dword [ebp - 0x11c]
mov eax, dword [edi]
mov byte [ebp - 4], 6
mov ecx, edi
call dword [eax + 8]
jmp 0x10024984
push 0x80004005
call fcn.10003510
push eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
int3