Function at 0x40c0f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0x1315
ja 0x40c1a8
cmp dword [ebp - 0x50], 0x1315
je 0x40c714
cmp dword [ebp - 0x50], 0x130e
ja 0x40c188
cmp dword [ebp - 0x50], 0x130e
je 0x40c819
cmp dword [ebp - 0x50], 0x12d8
ja 0x40c169
cmp dword [ebp - 0x50], 0x12d8
je 0x40c69e
cmp dword [ebp - 0x50], 0x4e
je 0x40c1c8
cmp dword [ebp - 0x50], 0x301
je 0x40c9d9
jmp case.0x40c1c1.2
cmp dword [ebp - 0x50], 0x130b
je 0x40c736
cmp dword [ebp - 0x50], 0x130c
je 0x40c7af
jmp case.0x40c1c1.2
mov edx, dword [ebp - 0x50]
sub edx, 0x130f
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 3
ja case.0x40c1c1.2
mov eax, dword [ebp - 0x50]
jmp dword [eax*4 + 0x40cae0]
mov ecx, dword [ebp - 0x50]
sub ecx, 0x1316
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0xa
ja case.0x40c1c1.2
mov edx, dword [ebp - 0x50]
jmp dword [edx*4 + 0x40caf0]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 1
je 0x40c1e7
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 2
jne 0x40c466
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 0x17
jne 0x40c293
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x240]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 2
jne 0x40c221
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x248]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], 0xffffffff
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0xc]
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 8
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 8]
call dword [edx + 0x14]
test eax, eax
jl 0x40c27d
cmp dword [ebp - 0x14], 0xffffffff
je 0x40c27d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x1c], 1
jmp 0x40c287
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0
mov dword [ebp - 4], 1
jmp 0x40c466
mov ecx, dword [ebp - 8]
cmp dword [ecx + 8], 2
jne 0x40c466
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x240]
mov edx, dword [ecx + 0x28]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 2
jne 0x40c2cd
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x248]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x40c2f2
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x40c2f9
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x28c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [edx + 0x28c], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x28c]
mov dword [edx + 0x298], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
mov dword [edx + 0x2b0], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xc]
add eax, 1
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x2b4], eax
mov edx, dword [ebp - 0x1c]
cmp dword [edx + 0x10], 0
jne 0x40c359
mov dword [ebp - 0x54], 1
jmp 0x40c362
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x54]
mov dword [edx + 0x2b8], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x2c0], edx
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x2c4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x40c3c6
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x20]
call dword [sym.imp.SQLGUI.dll_public:_int___thiscall_CDataCtl::IsRowSelected_int_]
test eax, eax
je 0x40c3c6
mov ecx, dword [ebp - 0x20]
call fcn.0040fd70
cmp eax, 1
jle 0x40c3c6
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x2bc], 1
jmp 0x40c3d3
mov edx, dword [ebp - 0x4c]
mov dword [edx + 0x2bc], 0
mov eax, dword [ebp - 0x4c]
add eax, 0x2b0
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x130b
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.SQLUNIRL.dll__PostMessage_16]
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x280], 0
je 0x40c466
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x28c]
cmp eax, dword [ebp - 0x28]
je 0x40c466
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x28c], 1
jne 0x40c440
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x248]
mov ecx, dword [eax + 0x28]
call dword [sym.imp.SQLGUI.dll_public:_void___thiscall_CDataCtl::DeSelectAll_void_]
push 1
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x248]
mov ecx, dword [edx + 0x28]
call dword [sym.imp.SQLGUI.dll_public:_void___thiscall_CDataCtl::Update_int_]
jmp 0x40c466
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x240]
mov ecx, dword [ecx + 0x28]
call dword [sym.imp.SQLGUI.dll_public:_void___thiscall_CDataCtl::DeSelectAll_void_]
push 1
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x240]
mov ecx, dword [eax + 0x28]
call dword [sym.imp.SQLGUI.dll_public:_void___thiscall_CDataCtl::Update_int_]
jmp case.0x40c1c1.2
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x23c]
xor edx, 1
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x23c], edx
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x23c], 0
je 0x40c498
push 0
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.0040cfd0
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x298], 1
jne 0x40c53a
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x28c], 1
je 0x40c505
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x298]
mov dword [ecx + 0x28c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x29c]
mov dword [ecx + 0x290], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2a0]
mov dword [ecx + 0x294], eax
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x240]
call dword [sym.imp.SEMSFC.dll_public:_void___thiscall_SFCWin::SetFocus_void_]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x240]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
je 0x40c53a
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x29c]
sub ecx, 1
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 8
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
call dword [eax + 0x38]
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0x28c]
cmp eax, dword [edx + 0x298]
je 0x40c5bc
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x298]
mov dword [ecx + 0x28c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x29c]
mov dword [ecx + 0x290], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2a0]
mov dword [ecx + 0x294], eax
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x298], 1
jne 0x40c5ad
mov edx, dword [ebp - 0x4c]
mov ecx, dword [edx + 0x240]
call dword [sym.imp.SEMSFC.dll_public:_void___thiscall_SFCWin::SetFocus_void_]
jmp 0x40c5bc
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x248]
call dword [sym.imp.SEMSFC.dll_public:_void___thiscall_SFCWin::SetFocus_void_]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x240]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x298], 2
jne 0x40c5e6
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x248]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x34], ecx
cmp dword [ebp - 0x34], 0
je 0x40c608
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x29c]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 8
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 8]
call dword [eax + 0x40]
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ecx + 0x28c]
cmp eax, dword [edx + 0x298]
je 0x40c68a
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x298]
mov dword [ecx + 0x28c], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x29c]
mov dword [ecx + 0x290], eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x2a0]
mov dword [ecx + 0x294], eax
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x298], 1
jne 0x40c67b
mov edx, dword [ebp - 0x4c]
mov ecx, dword [edx + 0x240]
call dword [sym.imp.SEMSFC.dll_public:_void___thiscall_SFCWin::SetFocus_void_]
jmp 0x40c68a
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x248]
call dword [sym.imp.SEMSFC.dll_public:_void___thiscall_SFCWin::SetFocus_void_]
mov ecx, dword [ebp - 0x4c]
call fcn.0040cd00
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x254], 0
je 0x40c6c8
push 0
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x254]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.SQLUNIRL.dll__PostMessage_16]
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x23c], 0
je 0x40c708
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x38]
sub eax, dword [edx + 0x2a4]
cmp eax, 0x3e8
jb 0x40c708
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x38]
mov dword [ecx + 0x2a4], edx
push 0
push 0
mov ecx, dword [ebp - 0x4c]
call fcn.0040cfd0
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.0040cfd0
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.0040ce80
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x40c776
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x240]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x40c7a3
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0xc], 0
jle 0x40c798
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.0040cfd0
push 1
mov ecx, dword [ebp - 0x3c]
call dword [sym.imp.SQLGUI.dll_public:_void___thiscall_CDataCtl::Update_int_]
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
push 0
push 0
push 0x130c
mov edx, dword [ebp - 0x4c]
mov ecx, dword [edx + 0x240]
call dword [sym.imp.SEMSFC.dll_public:_struct_HWND______thiscall_SFCWin::GetHWND_void_]
push eax
call dword [sym.imp.SQLUNIRL.dll__PostMessage_16]
push 0
push 0
push 0x130c
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x248]
call dword [sym.imp.SEMSFC.dll_public:_struct_HWND______thiscall_SFCWin::GetHWND_void_]
push eax
call dword [sym.imp.SQLUNIRL.dll__PostMessage_16]
push 0
call fcn.00409ac0
mov ecx, eax
call fcn.00409aa0
push eax
push 0x30
mov ecx, dword [ebp - 0x4c]
mov ecx, dword [ecx + 0x250]
call dword [sym.imp.SEMSFC.dll_public:_unsigned_long_int___thiscall_SFCWin::SendMsg_unsigned_int__unsigned_int__long_int_]
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x4c]
call dword [edx + 0xac]
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4c]
call dword [edx + 0xb0]
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4c]
call dword [edx + 0xb4]
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0xbc]
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x4c]
call dword [edx + 0xc0]
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x4c]
call dword [edx + 0xc4]
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0xc8]
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x2cc], 1
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x4c]
call dword [eax + 0x14]
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x28c], 1
jne 0x40c959
cmp dword [ebp - 0x40], 0
je 0x40c94b
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x280], 0
je 0x40c93d
push 2
push 1
mov ecx, dword [ebp - 0x4c]
call fcn.0040d140
jmp 0x40c949
push 3
push 1
mov ecx, dword [ebp - 0x4c]
call fcn.0040d140
jmp 0x40c957
push 3
push 1
mov ecx, dword [ebp - 0x4c]
call fcn.0040d140
jmp 0x40c9cd
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x28c], 2
jne 0x40c987
cmp dword [ebp - 0x40], 0
je 0x40c979
push 3
push 2
mov ecx, dword [ebp - 0x4c]
call fcn.0040d140
jmp 0x40c985
push 1
push 2
mov ecx, dword [ebp - 0x4c]
call fcn.0040d140
jmp 0x40c9cd
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x28c], 3
jne 0x40c9cd
cmp dword [ebp - 0x40], 0
je 0x40c9a7
push 1
push 3
mov ecx, dword [ebp - 0x4c]
call fcn.0040d140
jmp 0x40c9cd
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x280], 0
je 0x40c9c1
push 2
push 3
mov ecx, dword [ebp - 0x4c]
call fcn.0040d140
jmp 0x40c9cd
push 1
push 3
mov ecx, dword [ebp - 0x4c]
call fcn.0040d140
mov dword [ebp - 4], 1
jmp case.0x40c1c1.2
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x28c], 1
je 0x40c9f5
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x28c], 2
jne 0x40ca96
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 0x240]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx + 0x28c], 2
jne 0x40ca1f
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 0x248]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x44], ecx
cmp dword [ebp - 0x44], 0
je 0x40ca94
mov ecx, dword [ebp - 0x44]
add ecx, 8
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 8]
call dword [eax + 0x34]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jge 0x40ca94
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x58], ecx
cmp dword [ebp - 0x58], 0xe0000001
je 0x40ca4e
jmp 0x40ca72
push 1
push 0xf228
push 0x145
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [0x45dba4]
push ecx
call sub.PFUTIL80.dll_int___cdecl_DisplayMessageFromResource_struct_HINSTANCE_____struct_HWND_____int__int__int_
add esp, 0x14
jmp 0x40ca94
push 1
push 0xf228
push 0x112
mov edx, dword [ebp - 0x4c]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [0x45dba4]
push ecx
call sub.PFUTIL80.dll_int___cdecl_DisplayMessageFromResource_struct_HINSTANCE_____struct_HWND_____int__int__int_
add esp, 0x14
jmp 0x40caba
mov edx, dword [ebp - 0x4c]
cmp dword [edx + 0x28c], 3
jne 0x40caba
push 0
push 0
push 0x301
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 0x250]
call dword [sym.imp.SEMSFC.dll_public:_unsigned_long_int___thiscall_SFCWin::SendMsg_unsigned_int__unsigned_int__long_int_]
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
jne 0x40cad7
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x4c]
call dword [sym.imp.SEMSFC.dll_public_virtual:_int___thiscall_SFCMainWin::Other_class_SFCEvent__]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4