Function at 0x46e370
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x53dd86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], edi
lea esi, [edi + 0x558]
mov dword [edi + 0x1720], ebx
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_LockWindowUpdate]
lea ecx, [esp + 0xd8]
call fcn.00513703
mov ecx, dword [edi + 0x1708]
push 5
shr ecx, 2
add ecx, 8
mov dword [esp + 0xf8], ebx
push ecx
lea ecx, [esp + 0xe0]
call fcn.00513763
lea ecx, [esp + 0x84]
call fcn.00470b30
mov ebp, 0x5478f0
mov dword [esp + 0x84], ebp
lea ecx, [esp + 0xb8]
mov byte [esp + 0xf4], 1
call fcn.00470b30
mov dword [esp + 0xb8], ebp
mov eax, dword [edi + 0x1708]
lea ebp, [edi + 0x16f8]
cmp eax, ebx
mov byte [esp + 0xf4], 2
mov dword [esp + 0x94], ebx
jne 0x46e431
xor ecx, ecx
jmp 0x46e434
mov ecx, dword [ebp + 8]
push eax
push ecx
lea ecx, [esp + 0x8c]
call fcn.004713f0
mov eax, dword [edi + 0x171c]
mov dword [esp + 0xc8], ebx
cmp eax, ebx
jne 0x46e457
xor ecx, ecx
jmp 0x46e45d
mov ecx, dword [edi + 0x1714]
push eax
push ecx
lea ecx, [esp + 0xc0]
call fcn.004713f0
mov ecx, ebp
call fcn.00470d30
lea ecx, [edi + 0x170c]
call fcn.00470d30
mov edx, dword [0x592294]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
not edx
test dl, 1
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x70], ebx
jne 0x46e5aa
mov eax, dword [esi + 0x1c]
push ebx
push ebx
push 0x1105
push eax
call ebp
cmp eax, 1
jbe 0x46e5aa
mov ecx, dword [esi + 0x1c]
push ebx
push 5
push 0x110a
push ecx
call ebp
mov edi, eax
cmp edi, ebx
je 0x46e4ef
push edi
mov ecx, esi
call fcn.00512080
push edi
push esi
mov dword [esp + 0x88], eax
call fcn.0046e310
add esp, 8
inc eax
mov dword [esp + 0x7c], eax
mov edx, dword [esi + 0x1c]
push ebx
push 9
push 0x110a
push edx
call ebp
mov edi, eax
cmp edi, ebx
je 0x46e521
push edi
mov ecx, esi
call fcn.00512080
push edi
push esi
mov dword [esp + 0x80], eax
call fcn.0046e310
add esp, 8
inc eax
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x1c]
push ebx
push ebx
push 0x110a
push eax
call ebp
mov ecx, dword [esi + 0x1c]
push eax
push 4
push 0x110a
push ecx
call ebp
mov edx, dword [esp + 0xe0]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], edx
je 0x46e5a6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jge 0x46e5a6
push edi
mov ecx, esi
call fcn.005120ae
cmp eax, 1
jne 0x46e589
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00512048
test al, 0x20
je 0x46e589
mov ecx, dword [esp + 0xdc]
mov edx, dword [esp + 0x14]
mov word [ecx + edx*2], 1
mov eax, dword [esi + 0x1c]
push edi
push 1
push 0x110a
push eax
call ebp
mov ecx, dword [esp + 0x14]
mov edi, eax
inc ecx
cmp edi, ebx
mov dword [esp + 0x14], ecx
jne 0x46e551
mov edi, dword [esp + 0x1c]
mov ecx, dword [esi + 0x1c]
push 0xffff0000
push ebx
push 0x1101
push ecx
call ebp
cmp dword [edi + 0x16f4], ebx
jne 0x46e5db
push 0xff00ff
push ebx
push 0x10
push 0xe7
lea ecx, [edi + 0x16f0]
call fcn.00512449
lea eax, [edi + 0x16f0]
cmp eax, ebx
jne 0x46e5e9
xor eax, eax
jmp 0x46e5ec
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x1c]
push eax
push ebx
push 0x1109
push edx
call ebp
push eax
call fcn.005123ee
mov eax, dword [0x58f614]
mov dword [esp + 0x34], 0x2f
mov dword [esp + 0x30], 0xffff0002
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], eax
mov ecx, dword [0x592294]
mov eax, 8
not ecx
and ecx, 1
mov byte [esp + 0xf4], 3
cmp cl, 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], ebx
jne 0x46e68c
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x2c]
push edx
push ebx
push 0x1100
push eax
mov dword [esp + 0x54], 0x587ba8
call ebp
push ebx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
lea ecx, [esp + 0x28]
mov byte [esp + 0xf4], 2
call fcn.00514336
mov byte [esp + 0xf4], 1
mov esi, 0x5477b0
jmp 0x46ef9d
lea ecx, [esp + 0xa0]
call fcn.00470b30
mov dword [esp + 0xa0], 0x5478f0
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push ebx
push 0x1100
push edx
mov byte [esp + 0x104], 4
mov dword [esp + 0x54], 0x587b9c
call ebp
mov dword [esp + 0x24], eax
xor edi, edi
lea eax, [edi + 1]
mov ecx, eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x24]
shl ecx, 0x1c
test edi, edi
mov dword [esp + 0x10], ecx
je 0x46e8bc
cmp edi, 1
mov dword [esp + 0x2c], eax
jne 0x46e6f3
mov eax, edi
jmp 0x46e72f
cmp edi, 2
jne 0x46e6fc
xor eax, eax
jmp 0x46e72f
cmp edi, 3
jne 0x46e708
mov eax, 4
jmp 0x46e72f
cmp edi, 4
jne 0x46e714
mov eax, 6
jmp 0x46e72f
cmp edi, 5
jne 0x46e720
mov eax, 9
jmp 0x46e72f
mov eax, edi
sub eax, 6
neg eax
sbb eax, eax
and eax, 2
add eax, 0xc
cmp edi, 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x58], ecx
jne 0x46e74a
mov dword [esp + 0x44], 0x581aac
jmp 0x46e79b
cmp edi, 2
jne 0x46e759
mov dword [esp + 0x44], 0x581a9c
jmp 0x46e79b
cmp edi, 3
jne 0x46e768
mov dword [esp + 0x44], 0x581a90
jmp 0x46e79b
cmp edi, 4
jne 0x46e777
mov dword [esp + 0x44], 0x587b94
jmp 0x46e79b
cmp edi, 5
jne 0x46e786
mov dword [esp + 0x44], 0x587b88
jmp 0x46e79b
cmp edi, 6
mov dword [esp + 0x44], 0x587b80
je 0x46e79b
mov dword [esp + 0x44], 0x587b74
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0x1100
push edx
call ebp
push eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], eax
call fcn.00470df0
cmp edi, 7
ja 0x46ecbb
jmp dword [edi*4 + 0x46effc]
mov dword [esp + 0x20], eax
jmp 0x46e7cb
mov edi, dword [esp + 0x6c]
cmp edi, 7
jle 0x46e6ca
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x1c]
push ecx
push 2
push 0x1102
push edx
call ebp
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x94]
shr edi, 2
mov eax, dword [eax + 0x1708]
xor ebx, ebx
shr eax, 2
test eax, eax
mov dword [esp + 0x24], eax
jle 0x46ed52
mov ecx, dword [esp + 0x1c]
xor eax, eax
test edi, edi
mov edx, dword [ecx + 0x1700]
mov edx, dword [edx + ebx*4]
jle 0x46ed49
mov ecx, dword [esp + 0x8c]
cmp dword [ecx], edx
je 0x46ed23
inc eax
add ecx, 4
cmp eax, edi
jl 0x46ed15
jmp 0x46ed49
mov ecx, dword [esp + 0xdc]
cmp word [ecx + eax*2], 0
je 0x46ed49
mov edx, dword [esp + 0xa8]
mov eax, dword [edx + ebx*4]
push eax
mov eax, dword [esi + 0x1c]
push 2
push 0x1102
push eax
call ebp
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x46ecfb
mov ecx, dword [esp + 0x24]
add edi, edi
mov dword [esp + 0x20], 8
lea ebx, [ecx*4]
mov edx, dword [esp + 0xdc]
cmp word [edi + edx], 0
je 0x46ed8d
mov eax, dword [esp + 0xa8]
mov ecx, dword [esi + 0x1c]
mov eax, dword [ebx + eax]
push eax
push 2
push 0x1102
push ecx
call ebp
mov eax, dword [esp + 0x20]
add edi, 2
add ebx, 4
dec eax
mov dword [esp + 0x20], eax
jne 0x46ed67
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x46edbf
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x10], edx
jmp 0x46edcb
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
shr eax, 0x1c
dec eax
js 0x46ef4d
test eax, eax
jne 0x46eee1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc8]
shr eax, 0x10
and eax, 0xfff
dec eax
test ecx, ecx
je 0x46eee1
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x46eee1
shr ecx, 2
push eax
push ecx
push edx
call fcn.00471b40
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x64], eax
je 0x46eee1
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x1c]
mov edi, dword [ecx + eax*4]
mov eax, dword [esp + 0x94]
mov ecx, dword [edx + 0x1708]
shr eax, 2
shr ecx, 2
dec eax
dec ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], ecx
xor eax, eax
test ecx, ecx
jl 0x46eeb1
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x1700]
cmp dword [edx], edi
je 0x46ee70
inc eax
add edx, 4
cmp eax, ecx
jle 0x46ee62
jmp 0x46eeb1
mov ecx, dword [esp + 0xa8]
cmp word [esp + 0x10], 0
mov edi, dword [ecx + eax*4]
je 0x46eead
mov edx, dword [esi + 0x1c]
push edi
push 4
push 0x110a
push edx
call ebp
test ebx, ebx
jle 0x46eead
test eax, eax
je 0x46eead
mov edi, eax
push eax
mov eax, dword [esi + 0x1c]
push 1
push 0x110a
push eax
call ebp
dec ebx
test ebx, ebx
jg 0x46ee94
test edi, edi
jne 0x46ef2a
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jge 0x46eed7
mov ecx, dword [esp + 0x8c]
xor ebx, ebx
mov edi, dword [ecx + eax*4]
mov ecx, dword [esp + 0x60]
jmp 0x46ee52
mov dword [esp + 0x10], 0x20000000
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
shr eax, 0x1c
sub eax, 2
mov ecx, dword [esi + 0x1c]
add edx, eax
mov eax, dword [esp + 0xa8]
mov edi, dword [eax + edx*4]
push edi
push 4
push 0x110a
push ecx
call ebp
test ebx, ebx
jle 0x46ef26
test eax, eax
je 0x46ef26
mov edx, dword [esi + 0x1c]
push eax
push 1
push 0x110a
push edx
mov edi, eax
call ebp
dec ebx
test ebx, ebx
jg 0x46ef0d
test edi, edi
je 0x46ef4d
mov eax, dword [esp + 0x18]
push edi
test eax, eax
jne 0x46ef40
mov eax, dword [esi + 0x1c]
push 5
push 0x110b
push eax
jmp 0x46ef4b
mov ecx, dword [esi + 0x1c]
push 9
push 0x110b
push ecx
call ebp
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jns 0x46eda6
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov esi, 0x5477b0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xf4], 3
mov dword [esp + 0xa0], esi
call fcn.00470d30
lea ecx, [esp + 0x28]
mov byte [esp + 0xf4], 2
call fcn.00514336
mov byte [esp + 0xf4], 1
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb8], esi
call fcn.00470d30
lea ecx, [esp + 0x84]
mov byte [esp + 0xf4], 0
mov dword [esp + 0x84], esi
call fcn.00470d30
lea ecx, [esp + 0xd8]
mov dword [esp + 0xf4], 0xffffffff
call fcn.00513736
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe8
ret