Function at 0x40b460
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49ca16
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x4be0a0]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x4be0a0]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [esi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
lea edx, [esp + 0x4c]
push edx
call eax
mov dword [esp + 0xe8], 0
mov edi, dword [esi]
mov ecx, str.click
mov eax, edi
jmp 0x40b4d0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b4f6
test dx, dx
je 0x40b4f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b4f6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b4d0
xor eax, eax
jmp 0x40b4fb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b99b
mov esi, dword [esp + 0x4c]
mov ecx, str.btnClose
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b536
test dx, dx
je 0x40b532
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b536
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b510
xor eax, eax
jmp 0x40b53b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b54f
mov ecx, dword [ebx - 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x40bbb9
mov ecx, 0x4a2074
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b57c
test dx, dx
je 0x40b578
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b57c
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b556
xor eax, eax
jmp 0x40b581
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b593
push eax
lea ecx, [ebx - 0x10]
call fcn.0040bd60
jmp 0x40bbb9
mov ecx, str.btnRuleTools
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b5c6
test dx, dx
je 0x40b5c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b5c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b5a0
xor eax, eax
jmp 0x40b5cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b5de
push 1
lea ecx, [ebx - 0x10]
call fcn.0040bd60
jmp 0x40bbb9
mov ecx, str.btnCustomTools
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b60b
test dx, dx
je 0x40b607
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b60b
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b5e5
xor eax, eax
jmp 0x40b610
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b623
push 2
lea ecx, [ebx - 0x10]
call fcn.0040bd60
jmp 0x40bbb9
mov ecx, str.btnAddTools
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b656
test dx, dx
je 0x40b652
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b656
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b630
xor eax, eax
jmp 0x40b65b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b66d
add ebx, 0xfffffff0
push ebx
call fcn.0040ceb0
jmp 0x40bbb9
mov ecx, str.btnClientInfo
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b69a
test dx, dx
je 0x40b696
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b69a
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b674
xor eax, eax
jmp 0x40b69f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b6dd
mov ecx, dword [ebx + 0x494]
mov edx, dword [ecx]
mov eax, dword [edx + 0xdc]
lea esi, [ebx - 0x10]
call eax
test al, al
sete cl
movzx edx, cl
push edx
mov eax, esi
call fcn.0040bc00
mov ecx, dword [esi + 0x4a8]
mov eax, dword [ecx]
mov edx, dword [eax + 0xe0]
push 0
call edx
jmp 0x40bbb9
mov ecx, str.btnUserInfo
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b70a
test dx, dx
je 0x40b706
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b70a
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b6e4
xor eax, eax
jmp 0x40b70f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b741
mov ecx, dword [ebx + 0x498]
mov eax, dword [ecx]
mov edx, dword [eax + 0xdc]
lea esi, [ebx - 0x10]
call edx
test al, al
sete al
movzx ecx, al
push ecx
mov eax, esi
call fcn.0040bcb0
mov ecx, dword [esi + 0x4a4]
jmp 0x40bbad
mov ecx, str.btnCopyCid
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b76e
test dx, dx
je 0x40b76a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b76e
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b748
xor eax, eax
jmp 0x40b773
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b810
lea ecx, [esp + 0x14]
push ecx
call fcn.0046186c
add esp, 4
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0xec], 1
call fcn.00403040
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x40b7a8
mov edi, dword [eax + 4]
jmp 0x40b7ab
lea edi, [eax + 4]
mov eax, dword [ebx - 0xc]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x40b7bd
xor edi, edi
jmp 0x40b7c4
call fcn.0045d91a
mov edi, eax
lea esi, [esp + 0x30]
call fcn.00405980
lea ecx, [esp + 0x14]
call fcn.00403df0
test edi, edi
je 0x40b7f5
mov edx, dword [ebx - 0xc]
push 0x40
push 0x4a2104
push 0x4a210c
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40bbb9
mov eax, dword [ebx - 0xc]
push 0x10
push 0x4a1488
push str._rY6R
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x40bbb9
mov ecx, str.btnHardwareCustomWnd
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b83d
test dx, dx
je 0x40b839
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b83d
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b817
xor eax, eax
jmp 0x40b842
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b862
push 0x4a2154
mov edx, str._hardwareCustom
mov ecx, str.clientstat.exe
call fcn.004149e0
add esp, 4
jmp 0x40bbb9
mov ecx, str.btnModifyDepAndName
mov eax, esi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b896
test dx, dx
je 0x40b892
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b896
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b870
xor eax, eax
jmp 0x40b89b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b8bb
push 0x4a2198
mov edx, str._fci
mov ecx, str.clientstat.exe
call fcn.004149e0
add esp, 4
jmp 0x40bbb9
mov ecx, str.btnViewRule
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b8e8
test dx, dx
je 0x40b8e4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b8e8
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b8c2
xor eax, eax
jmp 0x40b8ed
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b8ff
add ebx, 0xfffffff0
push ebx
call fcn.0040cff0
jmp 0x40bbb9
mov ecx, str.btnClearRules
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b92c
test dx, dx
je 0x40b928
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b92c
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b906
xor eax, eax
jmp 0x40b931
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b943
add ebx, 0xfffffff0
push ebx
call fcn.0040d070
jmp 0x40bbb9
mov ecx, str.btnLoginLogoff
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b976
test dx, dx
je 0x40b972
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b976
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b950
xor eax, eax
jmp 0x40b97b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b98c
lea ecx, [ebx - 0x10]
call fcn.00410bb0
jmp 0x40bbb9
push esi
add ebx, 0xfffffff0
push ebx
call fcn.0040c040
jmp 0x40bbb9
mov ecx, str.menu
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b9c8
test dx, dx
je 0x40b9c4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b9c8
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b9a2
xor eax, eax
jmp 0x40b9cd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40b9e5
mov ecx, dword [esi + 0x108]
add ebx, 0xfffffff0
push ebx
call fcn.0040c190
jmp 0x40bbb9
mov ecx, str.setfocus
mov eax, edi
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ba16
test dx, dx
je 0x40ba12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ba16
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b9f0
xor eax, eax
jmp 0x40ba1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40bbb9
mov esi, dword [esp + 0x4c]
mov ecx, str.btnCopyCid
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ba56
test dx, dx
je 0x40ba52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ba56
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ba30
xor eax, eax
jmp 0x40ba5b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40bbb9
mov ecx, str.btnHardwareCustomWnd
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40ba96
test dx, dx
je 0x40ba92
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40ba96
add eax, 4
add ecx, 4
test dx, dx
jne 0x40ba70
xor eax, eax
jmp 0x40ba9b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40bbb9
mov ecx, str.btnModifyDepAndName
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40bad6
test dx, dx
je 0x40bad2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40bad6
add eax, 4
add ecx, 4
test dx, dx
jne 0x40bab0
xor eax, eax
jmp 0x40badb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40bbb9
mov ecx, str.btnViewRule
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40bb16
test dx, dx
je 0x40bb12
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40bb16
add eax, 4
add ecx, 4
test dx, dx
jne 0x40baf0
xor eax, eax
jmp 0x40bb1b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40bbb9
mov ecx, str.btnClearRules
mov eax, esi
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40bb56
test dx, dx
je 0x40bb52
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40bb56
add eax, 4
add ecx, 4
test dx, dx
jne 0x40bb30
xor eax, eax
jmp 0x40bb5b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40bbb9
mov ecx, str.btnLoginLogoff
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40bb8c
test dx, dx
je 0x40bb88
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40bb8c
add eax, 4
add ecx, 4
test dx, dx
jne 0x40bb66
xor eax, eax
jmp 0x40bb91
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40bbb9
mov ecx, dword [ebx + 0x494]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
push 0
call eax
mov ecx, dword [ebx + 0x498]
mov edx, dword [ecx]
mov eax, dword [edx + 0xe0]
push 0
call eax
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x50]
cmp eax, ecx
je 0x40bbce
push eax
call fcn.0047db14
add esp, 4
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.0047d444
mov esp, ebp
pop ebp
ret 4