Function at 0x410650
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5357ae
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push ebx
push esi
push edi
mov eax, dword [0x587c1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x15], 1
mov dword [ebp - 0x78], vtable.CArray_struct__BRINFO_REGISTRY__struct__BRINFO_REGISTRY_.0
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x64], vtable.CArray_struct__BRHELP_MODEL_REGISTRY__struct__BRHELP_MODEL_REGISTRY_.0
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 4
cmp dword [esi + 4], ebx
je 0x4106f3
xor edi, edi
cmp edi, dword [esi + 8]
jge 0x4106e4
mov eax, dword [ebp + 8]
mov esi, edi
shl esi, 4
add esi, dword [eax + 4]
call fcn.00401b10
mov esi, dword [ebp + 8]
inc edi
xor ebx, ebx
jmp 0x4106c7
mov eax, dword [esi + 4]
push eax
call fcn.00411d47
add esp, 4
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x566574
call ebx
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00406250
test al, al
jne 0x410730
push 0x566578
call ebx
push 0x57e050
lea eax, [ebp - 0x17]
push eax
mov byte [ebp - 0x17], 0
call fcn.00511cb4
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.0040c760
test al, al
jne 0x41075a
push 0x56657c
call ebx
push 0x57e050
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 0x18], 0
call fcn.00511cb4
xor edi, edi
mov dword [ebp - 0x30], edi
cmp edi, dword [ebp - 0x5c]
jge 0x410a1f
test edi, edi
js 0x4109b0
mov edx, dword [ebp - 0x60]
lea ecx, [edi + edi*2]
lea esi, [edx + ecx*4]
push esi
lea ecx, [ebp - 0x3c]
call fcn.004020e0
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.004020e0
add esi, 8
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.004020e0
xor eax, eax
mov byte [ebp - 4], 7
mov dword [ebp - 0x1c], eax
jmp 0x4107b0
cmp eax, dword [ebp - 0x70]
jge 0x4109b5
test eax, eax
js 0x4109b0
mov edi, eax
imul edi, edi, 0x2c
add edi, dword [ebp - 0x74]
lea ecx, [ebp - 0xa4]
push ecx
call fcn.0040cc00
push 0x566580
mov byte [ebp - 4], 8
call ebx
mov esi, dword [ebp - 0x3c]
push esi
call ebx
mov edx, dword [ebp - 0xa4]
push edx
call ebx
push 0x566580
call ebx
mov ecx, dword [ebp - 0xa4]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
jne 0x410811
push 0x80004005
call fcn.004029a0
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x410839
test dx, dx
je 0x410835
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x410839
add eax, 4
add ecx, 4
test dx, dx
jne 0x410813
xor eax, eax
jmp 0x41083e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x410993
call fcn.004129bd
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x410865
push 0x80004005
call fcn.004029a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
call fcn.004129bd
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41088e
push 0x80004005
call fcn.004029a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
call fcn.004129bd
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4108b7
push 0x80004005
call fcn.004029a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 0xffffffff
lea ebx, [ebp - 0xa4]
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00410440
cmp al, 1
jne 0x41092c
sub esp, 0x10
mov esi, esp
mov dword [ebp - 0x40], esp
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov dword [ebp - 0x40], esi
call fcn.004020e0
lea edx, [ebp - 0x28]
lea ecx, [esi + 4]
push edx
mov byte [ebp - 4], 0xa
call fcn.004020e0
lea eax, [ebp - 0x24]
lea ecx, [esi + 8]
push eax
mov byte [ebp - 4], 0xb
call fcn.004020e0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
push edx
mov dword [esi + 0xc], ecx
mov byte [ebp - 4], 9
call fcn.00410aa0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41094f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41096e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41098d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 7
call fcn.0040cac0
inc dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
jmp 0x4107b0
call fcn.00412766
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4109d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4109f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410a16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp + 8]
inc edi
jmp 0x41075c
cmp dword [esi + 8], 0
jne 0x410a3e
push 0x566588
call ebx
push 0x57e050
lea ecx, [ebp - 0x16]
push ecx
mov byte [ebp - 0x16], 0
call fcn.00511cb4
lea edi, [ebp - 0x64]
call fcn.00411a00
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x410a54
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x410a62
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x78]
call fcn.00411960
mov al, byte [ebp - 0x15]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4