Function at 0x416690
Capabilities:
Get thread local storage value
Set thread local storage value
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x440793
push eax
mov eax, 0x8034
mov dword fs:[0], esp
call fcn.00423b10
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x10], ebx
test eax, eax
mov dword [ebp - 0x1c], 0
jle 0x4169a1
cmp dword [0x484964], 0xffffffff
jne 0x4166e8
push 0
push 0
push 0x4e
push str.C:p_roboform_6_9_9_roboformStringsRfTls.h
call fcn.0040e7e0
add esp, 0x10
mov eax, dword [0x484964]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41671b
push 0x50
push str.C:p_roboform_6_9_9_roboformStringsRfTls.h
push 0x4534a4
push 0x453494
call fcn.0040b8a0
add esp, 0x10
test esi, esi
jne 0x416799
mov ecx, dword [0x484964]
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x416799
push 0x2c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x41674f
push eax
push eax
push 0x3c
push str.C:p_roboform_6_9_9_roboformStringsRfTls.h
call fcn.0040e7e0
add esp, 0x10
mov edx, dword [0x484964]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x41677a
push 0x3e
push str.C:p_roboform_6_9_9_roboformStringsRfTls.h
push 0x4534a4
push 0x453494
call fcn.0040b8a0
add esp, 0x10
test esi, esi
jne 0x416799
push 0x55
push str.C:p_roboform_6_9_9_roboformStringsRfTls.h
push 0x4534a4
push 0x453494
call fcn.0040b8a0
add esp, 0x10
jmp 0x4167a3
mov edi, dword [esi]
test edi, edi
jne 0x4168c8
push 0x34
call fcn.004370e0
add esp, 4
mov dword [ebp - 0x24], eax
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x4167d8
push 0x416dd0
push fcn.0041a0a0
lea esi, [eax + 4]
push 4
push 0xc
push esi
mov dword [eax], 4
call fcn.004245d7
mov edi, esi
mov ecx, dword [0x484964]
or eax, 0xffffffff
cmp ecx, eax
mov dword [ebp - 4], eax
jne 0x4167fb
push 0
push 0
push 0x65
push str.C:p_roboform_6_9_9_roboformStringsRfTls.h
call fcn.0040e7e0
add esp, 0x10
mov eax, dword [0x484964]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x41682c
push 0x67
push str.C:p_roboform_6_9_9_roboformStringsRfTls.h
push 0x4534a4
push 0x453494
call fcn.0040b8a0
add esp, 0x10
test esi, esi
jne 0x4168ae
mov ecx, dword [0x484964]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4168ae
push 0x2c
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x416864
push eax
push eax
push 0x3c
push str.C:p_roboform_6_9_9_roboformStringsRfTls.h
call fcn.0040e7e0
add esp, 0x10
mov edx, dword [0x484964]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x41688f
push 0x3e
push str.C:p_roboform_6_9_9_roboformStringsRfTls.h
push 0x4534a4
push 0x453494
call fcn.0040b8a0
add esp, 0x10
test esi, esi
jne 0x4168ae
push 0x6c
push str.C:p_roboform_6_9_9_roboformStringsRfTls.h
push 0x4534a4
push 0x453494
call fcn.0040b8a0
add esp, 0x10
jmp 0x4168b0
mov dword [esi], edi
test edi, edi
jne 0x4168c5
push edi
push edi
push 0x6c
push 0x47c028
call fcn.0040e7e0
add esp, 0x10
mov ebx, dword [ebp - 0x10]
call fcn.00416590
mov esi, eax
mov eax, dword [ebx + 0x14]
cmp eax, esi
jge 0x416918
lea ecx, [eax + eax*2]
mov ecx, dword [edi + ecx*4 - 0xc]
test ecx, ecx
je 0x4168e6
cmp ecx, dword [ebx + 4]
je 0x416918
lea edx, [esi + esi*2]
push eax
mov eax, dword [edi + edx*4 - 0xc]
lea ecx, [edi + edx*4]
push eax
mov ecx, dword [ecx - 8]
push ecx
push str.RfLock:_to_set_lower_level__was__s__x:_level_d_n
push str.LLL___s__x:_level_d_n
call fcn.0040b8a0
push 0
push 0
push 0x7c
push 0x47c0a4
call fcn.0040e7e0
add esp, 0x24
mov edx, dword [ebx + 0x14]
cmp edx, esi
jne 0x41695b
lea eax, [esi + esi*2]
mov esi, dword [ebx + 4]
mov ecx, dword [edi + eax*4 - 0xc]
lea eax, [edi + eax*4]
cmp esi, ecx
je 0x41695b
push edx
push ecx
mov ecx, dword [eax - 8]
push ecx
push str.RfLock:_set_same_level_different_lock__was__s__x:_level_d_n
push str.LLS___s__x:_level_d_n
call fcn.0040b8a0
push 0
push 0
push 0x86
push 0x47c128
call fcn.0040e7e0
add esp, 0x24
mov eax, dword [ebx + 0x14]
push ebx
lea edx, [eax + eax*2]
lea ecx, [edi + edx*4 - 8]
call fcn.00436a80
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*2]
mov edx, dword [edi + eax*4 - 0xc]
lea eax, [edi + eax*4]
cmp edx, ecx
je 0x41699e
mov dword [eax - 0xc], ecx
mov eax, dword [ebx + 0x14]
lea edx, [ebx + 8]
lea ecx, [eax + eax*2]
mov eax, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [edi + ecx*4 - 4], eax
xor edi, edi
jmp 0x4169ae
inc dword [eax - 4]
lea edx, [ebx + 8]
xor edi, edi
mov dword [ebp - 0x18], edx
jmp 0x4169ae
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
call fcn.00422190
test eax, eax
mov dword [ebp - 0x24], eax
jne 0x416a6b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [0x4804ec]
mov dword [ebp - 0x14], eax
mov ecx, dword [0x4879bc]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x416a20
mov esi, dword [ecx + 0xd94]
lea edx, [ebp - 0x20]
push edx
call fcn.00416da0
mov ecx, dword [ebp - 0x10]
mov eax, dword [eax]
mov byte [ebp - 4], 2
mov edx, dword [ecx]
lea ecx, [ebp - 0x14]
push edx
push esi
push eax
push str._s__x____s
push ecx
call fcn.004305b0
add esp, 0x14
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004368f0
jmp 0x416a2c
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
push edx
call fcn.00436a80
mov eax, dword [ebp - 0x14]
push ebx
push eax
push edi
push str.___CRfSingleLock::Lock___try_d__lock_s__LastErr_x_n
push str._LCK_d:__s_e_x_n
call fcn.0040b8a0
add esp, 0x14
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
inc edi
cmp edi, 1
jl 0x4169ab
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x416af1
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416d7f
cmp dword [ebx + 0x14], 2
jl 0x416d7f
mov eax, dword [0x4879bc]
test eax, eax
je 0x416ac8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, dword [0x4879bc]
mov ecx, dword [ebx]
push 0x27b
push ecx
lea edx, [esi + 0xb18]
mov edi, eax
push edx
call fcn.004248a0
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov dword [esi + 0xd94], edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
push eax
push str.CRfSingleLock::Lock___no_shared_data:__s_n
push str.LNSD:__s_n
call fcn.0040b8a0
mov eax, dword [ebp - 0x24]
add esp, 0xc
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 4]
test eax, eax
je 0x416b15
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x416b15
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4879bc]
test ecx, ecx
je 0x416ce2
mov esi, dword [ecx + 0xd94]
test esi, esi
je 0x416ce2
lea edx, [ebp - 0x1c]
push edx
call fcn.00416da0
push str._unknown_
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 3
call fcn.00436970
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00419580
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.004195c0
test eax, eax
je 0x416b77
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x40]
push eax
push esi
call fcn.004197e0
mov ecx, dword [0x4804ec]
mov dword [ebp - 0x10], ecx
mov edx, dword [edi]
mov ebx, 6
push 0x1179e
push edx
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [0x484978]
push eax
push ecx
push esi
push edx
lea eax, [ebp - 0x10]
push str.Process__s__pid__lu__lock__s__is_locking_process__s__pid__lu__lock__s__for__d_minutes
push eax
call fcn.004305b0
add esp, 0x24
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x28]
push str._nClick_Yes_to_kill_the_process_that_is_holding_the_lock_and_to_report_this_abnormal_situation_to_RoboForm.
push ecx
push edx
call fcn.00436c50
mov eax, dword [ebp - 0x28]
push 0x1034
push 0x47c2b8
push eax
push 0
mov byte [ebp - 4], 7
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, ebx
jne 0x416ca4
mov ecx, dword [ebp - 0x10]
push 1
push ecx
lea edx, [ebp - 0x4040]
push 0
push edx
mov byte [ebp - 0x4040], 0
call fcn.00408ac0
add esp, 0x10
push esi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x416c91
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push eax
push str.RfLock:_terminate_process_rc_d_n
push str.LTPR:__d_n
call fcn.0040b8a0
mov ecx, dword [ebp - 0x18]
add esp, 0xc
push 0xffffffffffffffff
call fcn.00422190
lea ecx, [ebp - 0x28]
mov esi, eax
mov byte [ebp - 4], bl
call fcn.004368f0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004368f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.004195a0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004368f0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.004368f0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push esi
push str.RfLock:_cannot_open_process__x_n
push str.LOPB:__x_n
call fcn.0040b8a0
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.004368f0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004368f0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.004195a0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004368f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
jmp 0x416d7a
mov eax, dword [0x4804ec]
mov dword [ebp - 0x18], eax
mov ecx, dword [edi]
mov ebx, 8
push 0x1179e
push ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [0x484978]
push eax
push edx
lea eax, [ebp - 0x18]
push str.Process__s__pid__lu__cannot_get_lock__s_for__d_minutes
push eax
call fcn.004305b0
add esp, 0x18
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x20]
push str._nClick_Yes_to_report_this_abnormal_situation_to_RoboForm.
push ecx
push edx
call fcn.00436c50
mov eax, dword [ebp - 0x20]
push 0x34
push 0x47c394
push eax
push 0
mov byte [ebp - 4], 9
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x416d65
mov ecx, dword [ebp - 0x18]
push 1
push ecx
lea edx, [ebp - 0x8040]
push 0
push edx
mov byte [ebp - 0x8040], 0
call fcn.00408ac0
add esp, 0x10
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.004368f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004368f0
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret