Function at 0x100301e0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082ec6
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x100a7070]
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 eax, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1005d9b0
add esp, 0xc
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
call fcn.10031b90
mov ecx, eax
call fcn.10031c50
push ecx
push dword [eax]
push ecx
lea ecx, [ebp - 0x230]
call fcn.1001a500
mov edx, dword [ebp - 0x21c]
or esi, 0xffffffff
mov edi, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
test ecx, ecx
jg 0x100302b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x100302af
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x100302b1
call esi
or esi, 0xffffffff
test edi, edi
je 0x1003033f
lea eax, [ebp - 0x21c]
push eax
call fcn.10031b90
mov ecx, eax
call fcn.10031c50
sub esp, 8
push 0x20019
sub esp, 8
push dword [eax]
push ecx
lea ecx, [ebp - 0x230]
call fcn.1002fea0
mov edx, dword [ebp - 0x21c]
mov edi, eax
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003031c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
mov esi, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003031a
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call ebx
jmp 0x1003031c
call esi
test edi, edi
je 0x1003033f
mov esi, dword [ebp - 0x230]
call fcn.100138c0
mov ecx, eax
test ecx, ecx
jne 0x100303f5
push 0x80004005
call fcn.100142e0
mov esi, dword [ebp - 0x230]
lea eax, [ebp - 0x21c]
push eax
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x21c], 0x40
push eax
push 0
push 0x1009d0b8
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10030326
mov eax, dword [ebp - 0x220]
cmp eax, 1
je 0x10030381
cmp eax, 2
jne 0x10030326
mov eax, dword [ebp - 0x21c]
lea ecx, [ebp - 0x230]
shr eax, 1
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x1009d0b8
call fcn.10031520
test eax, eax
jne 0x10030326
mov edi, dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.100189b0
push edi
lea ecx, [ebp - 0x224]
call fcn.10031410
add esp, 4
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x224]
call fcn.10018360
mov edi, 1
jmp 0x1003047e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
cmp eax, 0x10097a44
jne 0x1003040a
lock inc dword [ecx + 0x14]
lea eax, [ecx + 8]
jmp 0x1003040c
call edx
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0x21c]
push str.101browser_GetTID_Faild_ret:_d_LastError:_u
push eax
call fcn.10019da0
add esp, 0x10
push str.101browser_GetTID_Faild
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
xor edi, edi
mov ecx, dword [ebp - 0x21c]
or eax, 0xffffffff
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x1003047e
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov ebx, dword [eax + 4]
cmp eax, 0x10097a44
jne 0x1003047a
mov eax, dword [edx + 4]
push edi
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1003047e
mov ecx, edx
call ebx
test esi, esi
je 0x10030489
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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.1004450b
mov esp, ebp
pop ebp
ret 4