Function at 0x1001d930
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006cfec
mov eax, dword fs:[0]
push eax
mov eax, 0x1aa0
call fcn.1005e830
mov eax, dword [0x10080060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edx, edx
lea edi, [ebp - 0x64]
call fcn.10045f01
mov dword [ebp - 4], 0
mov byte [ebp - 0x1064], 0
push 0xfff
push 0
lea eax, [ebp - 0x1063]
push eax
call fcn.100552a0
add esp, 0xc
push 0x1000
lea ecx, [ebp - 0x1064]
push ecx
mov edx, dword [0x100833d4]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x1064]
push eax
lea ecx, [ebp - 0x1a38]
call fcn.10002590
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a1c]
push ecx
call fcn.10042a56
mov dword [ebp - 0x1a90], eax
mov edx, dword [ebp - 0x1a90]
mov dword [ebp - 0x1a94], edx
mov byte [ebp - 4], 2
push 1
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x1a94]
push ecx
lea eax, [ebp - 0x1a38]
call fcn.10042aba
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1a1c]
call fcn.1000a8e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a38]
call fcn.10002610
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1068], 0
lea ecx, [ebp - 0x48]
call fcn.10001d40
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0
jmp 0x1001da46
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
lea eax, [ebp - 0x64]
call fcn.10046d16
cmp dword [ebp - 0x10], eax
jae 0x1001e01e
mov eax, dword [ebp - 0x10]
push eax
lea ebx, [ebp - 0x64]
call fcn.10046e25
mov dword [ebp - 0x18b0], eax
mov ecx, dword [ebp - 0x18b0]
push ecx
mov edx, str.blackRule
call fcn.10047492
push eax
lea ebx, [ebp - 0x18e4]
call fcn.100460e6
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x18b0]
push edx
mov edx, str.passRule
call fcn.10047492
push eax
lea ebx, [ebp - 0x18cc]
call fcn.100460e6
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18ac]
call fcn.10001c80
mov byte [ebp - 4], 6
mov dword [ebp - 0x1068], 0
jmp 0x1001dad5
mov eax, dword [ebp - 0x1068]
add eax, 1
mov dword [ebp - 0x1068], eax
lea eax, [ebp - 0x18e4]
call fcn.10046d16
cmp dword [ebp - 0x1068], eax
jae 0x1001dd4b
mov ecx, dword [ebp - 0x1068]
push ecx
lea ebx, [ebp - 0x18e4]
call fcn.10046e25
push eax
lea ebx, [ebp - 0x1934]
call fcn.100460e6
mov byte [ebp - 4], 7
lea edx, [ebp - 0x1934]
push edx
mov edx, 0x10073050
call fcn.100474eb
push eax
lea ecx, [ebp - 0x1918]
call fcn.10046482
mov byte [ebp - 4], 8
mov dword [ebp - 0x18f0], 0
push 0
push 0x1007305c
lea ecx, [ebp - 0x1918]
call fcn.10002690
cmp eax, 0xffffffff
je 0x1001db5f
mov eax, dword [ebp - 0x18f0]
or eax, 1
mov dword [ebp - 0x18f0], eax
push 0
push 0x10073060
lea ecx, [ebp - 0x1918]
call fcn.10002690
cmp eax, 0xffffffff
je 0x1001db85
mov ecx, dword [ebp - 0x18f0]
or ecx, 2
mov dword [ebp - 0x18f0], ecx
mov byte [ebp - 0x18e9], 0
mov byte [ebp - 0x18f5], 0
mov dword [ebp - 0x191c], 0
mov dword [ebp - 0x18fc], 0
xor edx, edx
mov word [ebp - 0x18e8], dx
xor eax, eax
mov word [ebp - 0x18f4], ax
lea ecx, [ebp - 0x1934]
push ecx
mov edx, 0x10073064
call fcn.100474eb
call fcn.10046387
cmp eax, 4
jne 0x1001dc2d
mov byte [ebp - 0x18e9], 1
lea edx, [ebp - 0x1934]
push edx
mov edx, 0x1007306c
call fcn.100474eb
push eax
call fcn.1004638c
push eax
call sub.WS2_32.dll_inet_addr
push eax
call sub.WS2_32.dll_ntohl
mov dword [ebp - 0x191c], eax
lea eax, [ebp - 0x1934]
push eax
mov edx, 0x10073074
call fcn.100474eb
push eax
call fcn.1004638c
push eax
call sub.WS2_32.dll_inet_addr
push eax
call sub.WS2_32.dll_ntohl
mov dword [ebp - 0x18fc], eax
lea ecx, [ebp - 0x1934]
push ecx
mov edx, 0x1007307c
call fcn.100474eb
call fcn.10046387
cmp eax, 1
jne 0x1001dc8d
mov byte [ebp - 0x18f5], 1
lea edx, [ebp - 0x1934]
push edx
mov edx, 0x10073088
call fcn.100474eb
mov esi, eax
call fcn.100465b8
mov word [ebp - 0x18e8], ax
lea eax, [ebp - 0x1934]
push eax
mov edx, 0x10073094
call fcn.100474eb
mov esi, eax
call fcn.100465b8
mov word [ebp - 0x18f4], ax
movzx ecx, byte [ebp - 0x18e9]
test ecx, ecx
je 0x1001dcce
movzx edx, byte [ebp - 0x18f5]
test edx, edx
je 0x1001dcce
movzx eax, word [ebp - 0x18f4]
push eax
movzx ecx, word [ebp - 0x18e8]
push ecx
mov edx, dword [ebp - 0x18fc]
push edx
mov eax, dword [ebp - 0x191c]
push eax
lea ecx, [ebp - 0x18ac]
call fcn.10021380
jmp 0x1001dd28
movzx ecx, byte [ebp - 0x18e9]
test ecx, ecx
je 0x1001dcfb
mov edx, dword [ebp - 0x18fc]
push edx
mov eax, dword [ebp - 0x191c]
push eax
mov ecx, dword [ebp - 0x18f0]
push ecx
lea ecx, [ebp - 0x18ac]
call fcn.10021260
jmp 0x1001dd28
movzx edx, byte [ebp - 0x18f5]
test edx, edx
je 0x1001dd28
movzx eax, word [ebp - 0x18f4]
push eax
movzx ecx, word [ebp - 0x18e8]
push ecx
mov edx, dword [ebp - 0x18f0]
push edx
lea ecx, [ebp - 0x18ac]
call fcn.10021330
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1918]
call fcn.10002610
mov byte [ebp - 4], 6
lea esi, [ebp - 0x1934]
call fcn.1004627a
jmp 0x1001dac6
mov dword [ebp - 0x1068], 0
jmp 0x1001dd66
mov eax, dword [ebp - 0x1068]
add eax, 1
mov dword [ebp - 0x1068], eax
lea eax, [ebp - 0x18cc]
call fcn.10046d16
cmp dword [ebp - 0x1068], eax
jae 0x1001dfdc
mov ecx, dword [ebp - 0x1068]
push ecx
lea ebx, [ebp - 0x18cc]
call fcn.10046e25
push eax
lea ebx, [ebp - 0x196c]
call fcn.100460e6
mov byte [ebp - 4], 9
lea edx, [ebp - 0x196c]
push edx
mov edx, str.direction
call fcn.100474eb
push eax
lea ecx, [ebp - 0x1988]
call fcn.10046482
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x1940], 0
push 0
push 0x100730a8
lea ecx, [ebp - 0x1988]
call fcn.10002690
cmp eax, 0xffffffff
je 0x1001ddf0
mov eax, dword [ebp - 0x1940]
or eax, 1
mov dword [ebp - 0x1940], eax
push 0
push 0x100730ac
lea ecx, [ebp - 0x1988]
call fcn.10002690
cmp eax, 0xffffffff
je 0x1001de16
mov ecx, dword [ebp - 0x1940]
or ecx, 2
mov dword [ebp - 0x1940], ecx
mov byte [ebp - 0x1939], 0
mov byte [ebp - 0x1945], 0
mov dword [ebp - 0x1950], 0
mov dword [ebp - 0x194c], 0
xor edx, edx
mov word [ebp - 0x1938], dx
xor eax, eax
mov word [ebp - 0x1944], ax
lea ecx, [ebp - 0x196c]
push ecx
mov edx, 0x100730b0
call fcn.100474eb
call fcn.10046387
cmp eax, 4
jne 0x1001debe
mov byte [ebp - 0x1939], 1
lea edx, [ebp - 0x196c]
push edx
mov edx, str.ipStart
call fcn.100474eb
push eax
call fcn.1004638c
push eax
call sub.WS2_32.dll_inet_addr
push eax
call sub.WS2_32.dll_ntohl
mov dword [ebp - 0x1950], eax
lea eax, [ebp - 0x196c]
push eax
mov edx, str.ipEnd
call fcn.100474eb
push eax
call fcn.1004638c
push eax
call sub.WS2_32.dll_inet_addr
push eax
call sub.WS2_32.dll_ntohl
mov dword [ebp - 0x194c], eax
lea ecx, [ebp - 0x196c]
push ecx
mov edx, 0x100730c8
call fcn.100474eb
call fcn.10046387
cmp eax, 1
jne 0x1001df1e
mov byte [ebp - 0x1945], 1
lea edx, [ebp - 0x196c]
push edx
mov edx, str.portStart
call fcn.100474eb
mov esi, eax
call fcn.100465b8
mov word [ebp - 0x1938], ax
lea eax, [ebp - 0x196c]
push eax
mov edx, str.portEnd
call fcn.100474eb
mov esi, eax
call fcn.100465b8
mov word [ebp - 0x1944], ax
movzx ecx, byte [ebp - 0x1939]
test ecx, ecx
je 0x1001df5f
movzx edx, byte [ebp - 0x1945]
test edx, edx
je 0x1001df5f
movzx eax, word [ebp - 0x1944]
push eax
movzx ecx, word [ebp - 0x1938]
push ecx
mov edx, dword [ebp - 0x194c]
push edx
mov eax, dword [ebp - 0x1950]
push eax
lea ecx, [ebp - 0x18ac]
call fcn.10021470
jmp 0x1001dfb9
movzx ecx, byte [ebp - 0x1939]
test ecx, ecx
je 0x1001df8c
mov edx, dword [ebp - 0x194c]
push edx
mov eax, dword [ebp - 0x1950]
push eax
mov ecx, dword [ebp - 0x1940]
push ecx
lea ecx, [ebp - 0x18ac]
call fcn.100212b0
jmp 0x1001dfb9
movzx edx, byte [ebp - 0x1945]
test edx, edx
je 0x1001dfb9
movzx eax, word [ebp - 0x1944]
push eax
movzx ecx, word [ebp - 0x1938]
push ecx
mov edx, dword [ebp - 0x1940]
push edx
lea ecx, [ebp - 0x18ac]
call fcn.100213f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x1988]
call fcn.10002610
mov byte [ebp - 4], 6
lea esi, [ebp - 0x196c]
call fcn.1004627a
jmp 0x1001dd57
lea eax, [ebp - 0x18ac]
push eax
lea ecx, [ebp - 0x48]
push ecx
call fcn.10021da0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18ac]
call fcn.100020e0
mov byte [ebp - 4], 4
lea esi, [ebp - 0x18cc]
call fcn.1004627a
mov byte [ebp - 4], 3
lea esi, [ebp - 0x18e4]
call fcn.1004627a
jmp 0x1001da3d
lea edx, [ebp - 0x48]
push edx
call fcn.10022460
push eax
lea ecx, [ebp - 0x30]
call fcn.10002590
mov byte [ebp - 4], 0xb
push 0x100730e8
lea ecx, [ebp - 0x1a54]
call fcn.10002590
mov dword [ebp - 0x1a98], eax
mov eax, dword [ebp - 0x1a98]
mov dword [ebp - 0x1a9c], eax
mov byte [ebp - 4], 0xc
push 0x100730ec
lea ecx, [ebp - 0x1a70]
call fcn.10002590
mov dword [ebp - 0x1aa0], eax
mov ecx, dword [ebp - 0x1aa0]
mov dword [ebp - 0x1aa4], ecx
mov byte [ebp - 4], 0xd
push 0
mov edx, dword [ebp - 0x1a9c]
push edx
mov eax, dword [ebp - 0x1aa4]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.100043d0
add esp, 0x10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1a70]
call fcn.10002610
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1a54]
call fcn.10002610
lea ecx, [ebp - 0x30]
call fcn.10002650
push eax
push 0xf
push 0x100730f0
lea esi, [ebp - 0x1a8c]
call fcn.100407be
add esp, 0xc
mov dword [ebp - 0x1aa8], eax
mov edx, dword [ebp - 0x1aa8]
mov dword [ebp - 0x1aac], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x1aac]
push eax
call fcn.1001d750
add esp, 4
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x1a8c]
call fcn.10002610
lea ecx, [ebp - 0x48]
push ecx
push 0xf
call fcn.10022120
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.10002610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.10001d60
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x64]
call fcn.1004627a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10052989
mov esp, ebp
pop ebp
ret