Function at 0x402900
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a647
mov eax, dword fs:[0]
push eax
sub esp, 0x5dc
mov eax, dword [0x435e48]
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
call fcn.00407ddd
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402948
push 0x80004005
call fcn.00404af0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x5d8], eax
mov dword [ebp - 4], 0
call fcn.00407ddd
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40297b
push 0x80004005
call fcn.00404af0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x5e0], esi
lea ebx, [ebp - 0x5d8]
mov edx, str.ALUClientCheck
mov ecx, str.SOFTWAREAcerLive_Updater
mov byte [ebp - 4], 1
call fcn.00404f90
test eax, eax
je 0x4029ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x108]
push str.Query_ALU_Client_Hash_Code_failed__error_code___d
push ecx
call fcn.00412760
add esp, 8
lea edx, [ebp - 0x108]
mov ecx, esp
mov dword [ebp - 0x5d4], esp
push edx
call fcn.00404c20
call fcn.00402dc0
add esp, 4
mov byte [ebp - 4], 0
jmp 0x402d4f
push str.Hash_Code_from_Registry_:
lea ecx, [ebp - 0x5d4]
call fcn.00404c20
push ecx
mov ecx, esp
mov dword [ebp - 0x5e4], esp
lea edx, [ebp - 0x5d8]
push edx
push eax
push ecx
mov byte [ebp - 4], 2
call fcn.00403e80
add esp, 0xc
call fcn.00402dc0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5d4]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x43a188
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402a50
sub eax, edx
sar eax, 1
push eax
push 0x43a188
lea ecx, [ebp - 0x5e0]
call fcn.00404b10
push str.Now_Checking_:
lea ecx, [ebp - 0x5d4]
call fcn.00404c20
push ecx
mov ecx, esp
mov dword [ebp - 0x5e4], esp
lea edx, [ebp - 0x5e0]
push edx
push eax
push ecx
mov byte [ebp - 4], 3
call fcn.00403e80
add esp, 0xc
call fcn.00402dc0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5d4]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402acc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
lea ecx, [ebp - 0x550]
mov edi, 0xefcdab89
mov dword [ebp - 0x510], ecx
mov dword [ebp - 0x5d0], 0x67452301
mov dword [ebp - 0x5cc], edi
mov dword [ebp - 0x5c8], 0x98badcfe
mov dword [ebp - 0x5c4], 0x10325476
mov dword [ebp - 0x5c0], 0xc3d2e1f0
mov dword [ebp - 0x5bc], ebx
mov dword [ebp - 0x5b8], ebx
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x5e0]
cmp dword [esi - 4], 1
jle 0x402b3e
mov edx, dword [esi - 0xc]
push edx
lea ecx, [ebp - 0x5e0]
call fcn.004049a0
mov esi, dword [ebp - 0x5e0]
cmp esi, ebx
jne 0x402b46
xor eax, eax
jmp 0x402b74
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x402b59
xor eax, eax
jmp 0x402b74
lea edi, [eax + eax]
mov eax, edi
call fcn.0041b800
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00404400
mov edi, 0xefcdab89
push eax
lea ecx, [ebp - 0x5d0]
mov dword [ebp - 0x5d0], 0x67452301
mov dword [ebp - 0x5cc], edi
mov dword [ebp - 0x5c8], 0x98badcfe
mov dword [ebp - 0x5c4], 0x10325476
mov dword [ebp - 0x5c0], 0xc3d2e1f0
mov dword [ebp - 0x5bc], ebx
mov dword [ebp - 0x5b8], ebx
call fcn.00406930
lea ecx, [ebp - 0x5d0]
mov byte [ebp - 0x5d9], al
call fcn.00406a50
lea eax, [ebp - 0x508]
push eax
lea ecx, [ebp - 0x5d0]
call fcn.00406b70
cmp byte [ebp - 0x5d9], bl
jne 0x402c1b
push esi
lea ecx, [ebp - 0x108]
push str.Error_calculating_Hash_code_for__s
push ecx
call fcn.00412760
add esp, 8
lea edx, [ebp - 0x108]
mov ecx, esp
mov dword [ebp - 0x5e4], esp
push edx
call fcn.00404c20
call fcn.00402dc0
add esp, 4
jmp 0x402d12
lea ecx, [ebp - 0x508]
push ecx
lea ecx, [ebp - 0x5d4]
call fcn.00404360
lea edx, [ebp - 0x5d8]
push edx
lea eax, [ebp - 0x5d4]
push eax
call fcn.00404020
add esp, 8
or edx, 0xffffffff
test al, al
mov eax, dword [ebp - 0x5d4]
je 0x402cf9
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [ebp - 0x5d0], 0x67452301
mov dword [ebp - 0x5cc], edi
mov dword [ebp - 0x5c8], 0x98badcfe
mov dword [ebp - 0x5c4], 0x10325476
mov dword [ebp - 0x5c0], 0xc3d2e1f0
mov dword [ebp - 0x5bc], ebx
mov dword [ebp - 0x5b8], ebx
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402cc6
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 - 0x5d8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402cef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x402d96
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d12
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov dword [ebp - 0x5b8], ebx
mov dword [ebp - 0x5bc], ebx
mov dword [ebp - 0x5c0], 0xc3d2e1f0
mov dword [ebp - 0x5c4], 0x10325476
mov dword [ebp - 0x5c8], 0x98badcfe
mov dword [ebp - 0x5cc], edi
mov dword [ebp - 0x5d0], 0x67452301
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d6b
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 - 0x5d8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
lea esp, [ebp - 0x5f8]
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.00412539
mov esp, ebp
pop ebp
ret