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

Disassembly:
push 0xffffffffffffffff
push 0x543566
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.00518d43
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.00518da3
lea ecx, [esp + 0x84]
call fcn.00473490
mov ebp, 0x54d910
mov dword [esp + 0x84], ebp
lea ecx, [esp + 0xb8]
mov byte [esp + 0xf4], 1
call fcn.00473490
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 0x470d81
xor ecx, ecx
jmp 0x470d84
mov ecx, dword [ebp + 8]
push eax
push ecx
lea ecx, [esp + 0x8c]
call fcn.00473d50
mov eax, dword [edi + 0x171c]
mov dword [esp + 0xc8], ebx
cmp eax, ebx
jne 0x470da7
xor ecx, ecx
jmp 0x470dad
mov ecx, dword [edi + 0x1714]
push eax
push ecx
lea ecx, [esp + 0xc0]
call fcn.00473d50
mov ecx, ebp
call fcn.00473690
lea ecx, [edi + 0x170c]
call fcn.00473690
mov edx, dword [0x599e64]
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 0x470efa
mov eax, dword [esi + 0x1c]
push ebx
push ebx
push 0x1105
push eax
call ebp
cmp eax, 1
jbe 0x470efa
mov ecx, dword [esi + 0x1c]
push ebx
push 5
push 0x110a
push ecx
call ebp
mov edi, eax
cmp edi, ebx
je 0x470e3f
push edi
mov ecx, esi
call fcn.005176bd
push edi
push esi
mov dword [esp + 0x88], eax
call fcn.00470c60
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 0x470e71
push edi
mov ecx, esi
call fcn.005176bd
push edi
push esi
mov dword [esp + 0x80], eax
call fcn.00470c60
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 0x470ef6
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jge 0x470ef6
push edi
mov ecx, esi
call fcn.005176eb
cmp eax, 1
jne 0x470ed9
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.00517685
test al, 0x20
je 0x470ed9
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 0x470ea1
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 0x470f2b
push 0xff00ff
push ebx
push 0x10
push 0xe7
lea ecx, [edi + 0x16f0]
call fcn.00517a89
lea eax, [edi + 0x16f0]
cmp eax, ebx
jne 0x470f39
xor eax, eax
jmp 0x470f3c
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x1c]
push eax
push ebx
push 0x1109
push edx
call ebp
push eax
call fcn.00517a2e
mov eax, dword [0x596a0c]
mov dword [esp + 0x34], 0x2f
mov dword [esp + 0x30], 0xffff0002
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], eax
mov ecx, dword [0x599e64]
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 0x470fdc
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x2c]
push edx
push ebx
push 0x1100
push eax
mov dword [esp + 0x54], 0x58ef18
call ebp
push ebx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
lea ecx, [esp + 0x28]
mov byte [esp + 0xf4], 2
call fcn.00519976
mov byte [esp + 0xf4], 1
mov esi, 0x54d7d0
jmp 0x4718ed
lea ecx, [esp + 0xa0]
call fcn.00473490
mov dword [esp + 0xa0], 0x54d910
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], 0x58ef0c
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 0x47120c
cmp edi, 1
mov dword [esp + 0x2c], eax
jne 0x471043
mov eax, edi
jmp 0x47107f
cmp edi, 2
jne 0x47104c
xor eax, eax
jmp 0x47107f
cmp edi, 3
jne 0x471058
mov eax, 4
jmp 0x47107f
cmp edi, 4
jne 0x471064
mov eax, 6
jmp 0x47107f
cmp edi, 5
jne 0x471070
mov eax, 9
jmp 0x47107f
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 0x47109a
mov dword [esp + 0x44], 0x588e38
jmp 0x4710eb
cmp edi, 2
jne 0x4710a9
mov dword [esp + 0x44], 0x588e28
jmp 0x4710eb
cmp edi, 3
jne 0x4710b8
mov dword [esp + 0x44], 0x588e1c
jmp 0x4710eb
cmp edi, 4
jne 0x4710c7
mov dword [esp + 0x44], 0x58ef04
jmp 0x4710eb
cmp edi, 5
jne 0x4710d6
mov dword [esp + 0x44], 0x58eef8
jmp 0x4710eb
cmp edi, 6
mov dword [esp + 0x44], 0x58eef0
je 0x4710eb
mov dword [esp + 0x44], 0x58eee4
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.00473750
cmp edi, 7
ja 0x47160b
jmp dword [edi*4 + 0x47194c]
mov dword [esp + 0x20], eax
jmp 0x47111b
mov edi, dword [esp + 0x6c]
cmp edi, 7
jle 0x47101a
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 0x4716a2
mov ecx, dword [esp + 0x1c]
xor eax, eax
test edi, edi
mov edx, dword [ecx + 0x1700]
mov edx, dword [edx + ebx*4]
jle 0x471699
mov ecx, dword [esp + 0x8c]
cmp dword [ecx], edx
je 0x471673
inc eax
add ecx, 4
cmp eax, edi
jl 0x471665
jmp 0x471699
mov ecx, dword [esp + 0xdc]
cmp word [ecx + eax*2], 0
je 0x471699
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 0x47164b
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 0x4716dd
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 0x4716b7
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x47170f
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x10], edx
jmp 0x47171b
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 0x47189d
test eax, eax
jne 0x471831
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc8]
shr eax, 0x10
and eax, 0xfff
dec eax
test ecx, ecx
je 0x471831
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x471831
shr ecx, 2
push eax
push ecx
push edx
call fcn.004744a0
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x64], eax
je 0x471831
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 0x471801
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x1700]
cmp dword [edx], edi
je 0x4717c0
inc eax
add edx, 4
cmp eax, ecx
jle 0x4717b2
jmp 0x471801
mov ecx, dword [esp + 0xa8]
cmp word [esp + 0x10], 0
mov edi, dword [ecx + eax*4]
je 0x4717fd
mov edx, dword [esi + 0x1c]
push edi
push 4
push 0x110a
push edx
call ebp
test ebx, ebx
jle 0x4717fd
test eax, eax
je 0x4717fd
mov edi, eax
push eax
mov eax, dword [esi + 0x1c]
push 1
push 0x110a
push eax
call ebp
dec ebx
test ebx, ebx
jg 0x4717e4
test edi, edi
jne 0x47187a
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jge 0x471827
mov ecx, dword [esp + 0x8c]
xor ebx, ebx
mov edi, dword [ecx + eax*4]
mov ecx, dword [esp + 0x60]
jmp 0x4717a2
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 0x471876
test eax, eax
je 0x471876
mov edx, dword [esi + 0x1c]
push eax
push 1
push 0x110a
push edx
mov edi, eax
call ebp
dec ebx
test ebx, ebx
jg 0x47185d
test edi, edi
je 0x47189d
mov eax, dword [esp + 0x18]
push edi
test eax, eax
jne 0x471890
mov eax, dword [esi + 0x1c]
push 5
push 0x110b
push eax
jmp 0x47189b
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 0x4716f6
push 0
call dword [sym.imp.USER32.dll_LockWindowUpdate]
mov esi, 0x54d7d0
lea ecx, [esp + 0xa0]
mov byte [esp + 0xf4], 3
mov dword [esp + 0xa0], esi
call fcn.00473690
lea ecx, [esp + 0x28]
mov byte [esp + 0xf4], 2
call fcn.00519976
mov byte [esp + 0xf4], 1
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb8], esi
call fcn.00473690
lea ecx, [esp + 0x84]
mov byte [esp + 0xf4], 0
mov dword [esp + 0x84], esi
call fcn.00473690
lea ecx, [esp + 0xd8]
mov dword [esp + 0xf4], 0xffffffff
call fcn.00518d76
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe8
ret