Function at 0x402c10
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4beb28
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4f7458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
sub ecx, 0x10
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
push edx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov ecx, str.FileLock.dll
test ecx, ecx
jne 0x402c7d
mov dword [ebp - 0x58], 0
jmp 0x402c8d
push str.FileLock.dll
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
push edx
push str.FileLock.dll
lea ecx, [ebp - 0x20]
call fcn.00410800
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x68]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x68]
cmp dword [eax + 8], 0
jne 0x402ce6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7e
je 0x402ce6
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402470
mov eax, dword [ebp - 0x38]
jmp 0x402e13
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00402e30
add esp, 4
mov dword [ebp - 0x18], eax
push str.StartRelate
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x402d27
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [ebp - 0x28]
add esp, 8
mov dword [ebp - 0x10], 0
push str.EnterPassFilterEx
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x402d51
push 0
call dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x24], 0
push str.EnterOldFilter
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x402d7b
push 0
call dword [ebp - 0x24]
add esp, 4
mov ecx, 1
test ecx, ecx
je 0x402dce
mov dword [ebp - 0x34], 0
push str.StopFilter
mov edx, dword [ebp - 0x68]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x402da9
call dword [ebp - 0x34]
mov dword [ebp - 0x30], 0
push str.StopLog
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x402dce
call dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
push str.AddPassProc
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x402dfa
mov edx, dword [ebp - 0x14]
push edx
call dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 0x3c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402470
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret