Function at 0x41d8c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f1c0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5d1614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x5a3ca4
push 0x5d9f60
mov dword [ebp - 4], 1
call fcn.00403a60
mov edi, dword [esi]
add esp, 8
test edi, edi
je 0x41d964
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d929
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d94f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x88], eax
test eax, eax
je 0x41da4e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InitOsasoiDLL2
push eax
call edi
mov edx, dword [esi + 0x88]
push str.GetRegistrationURL2
push edx
mov dword [esi + 0x8c], eax
call edi
mov dword [esi + 0x90], eax
mov eax, dword [esi + 0x88]
push str.GetRegistrationURL
push eax
call edi
mov ecx, dword [esi + 0x88]
push str.GetWarrantyURL
push ecx
mov dword [esi + 0x7c], eax
call edi
mov edx, dword [esi + 0x88]
push str.ReleaseOsasoiDLL
push edx
mov dword [esi + 0x94], eax
call edi
mov dword [esi + 0x84], eax
mov dword [ebp - 0x10], 0
test eax, eax
je 0x41da3c
cmp dword [esi + 0x8c], 0
je 0x41da3c
cmp dword [esi + 0x90], 0
je 0x41da3c
cmp dword [esi + 0x94], 0
je 0x41da3c
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 0x24]
push ecx
push 0
lea ecx, [ebp + 0xc]
call fcn.00401e00
mov edx, dword [esi + 0x8c]
push eax
call edx
mov dword [esi], eax
test eax, eax
je 0x41da41
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x28]
call fcn.00401f80
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [esi + 0x2c]
call fcn.004019e0
cmp dword [esi], 0
jne 0x41da4e
mov edx, dword [esi + 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esi]
push eax
push str.m_bInit___d_r_n
push 0x5d9f60
call fcn.00403a60
mov ecx, dword [esi + 0x28]
push ecx
push str.m_csDeviceID___s_r_n
push 0x5d9f60
call fcn.00403a60
mov edx, dword [esi + 0x2c]
push edx
push str.m_csSerialID___s_r_n
push 0x5d9f60
call fcn.00403a60
push 0x5a3da0
push 0x5d9f60
call fcn.00403a60
mov esi, dword [esi]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
add esp, 0x2c
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dabd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dae3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8