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

Disassembly:
push 0xffffffffffffffff
push 0x5431a6
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.005189e3
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.00518a43
lea ecx, [esp + 0x84]
call fcn.00473110
mov ebp, 0x54d910
mov dword [esp + 0x84], ebp
lea ecx, [esp + 0xb8]
mov byte [esp + 0xf4], 1
call fcn.00473110
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 0x4709f1
xor ecx, ecx
jmp 0x4709f4
mov ecx, dword [ebp + 8]
push eax
push ecx
lea ecx, [esp + 0x8c]
call fcn.004739d0
mov eax, dword [edi + 0x171c]
mov dword [esp + 0xc8], ebx
cmp eax, ebx
jne 0x470a17
xor ecx, ecx
jmp 0x470a1d
mov ecx, dword [edi + 0x1714]
push eax
push ecx
lea ecx, [esp + 0xc0]
call fcn.004739d0
mov ecx, ebp
call fcn.00473310
lea ecx, [edi + 0x170c]
call fcn.00473310
mov edx, dword [0x599dcc]
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 0x470b6a
mov eax, dword [esi + 0x1c]
push ebx
push ebx
push 0x1105
push eax
call ebp
cmp eax, 1
jbe 0x470b6a
mov ecx, dword [esi + 0x1c]
push ebx
push 5
push 0x110a
push ecx
call ebp
mov edi, eax
cmp edi, ebx
je 0x470aaf
push edi
mov ecx, esi
call fcn.0051732f
push edi
push esi
mov dword [esp + 0x88], eax
call fcn.004708d0
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 0x470ae1
push edi
mov ecx, esi
call fcn.0051732f
push edi
push esi
mov dword [esp + 0x80], eax
call fcn.004708d0
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 0x470b66
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jge 0x470b66
push edi
mov ecx, esi
call fcn.0051735d
cmp eax, 1
jne 0x470b49
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.005172f7
test al, 0x20
je 0x470b49
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 0x470b11
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 0x470b9b
push 0xff00ff
push ebx
push 0x10
push 0xe7
lea ecx, [edi + 0x16f0]
call fcn.00517729
lea eax, [edi + 0x16f0]
cmp eax, ebx
jne 0x470ba9
xor eax, eax
jmp 0x470bac
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x1c]
push eax
push ebx
push 0x1109
push edx
call ebp
push eax
call fcn.005176ce
mov eax, dword [0x59697c]
mov dword [esp + 0x34], 0x2f
mov dword [esp + 0x30], 0xffff0002
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x28], eax
mov ecx, dword [0x599dcc]
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 0x470c4c
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0x2c]
push edx
push ebx
push 0x1100
push eax
mov dword [esp + 0x54], 0x58eec0
call ebp
push ebx
call dword [sym.imp.USER32.dll_LockWindowUpdate]
lea ecx, [esp + 0x28]
mov byte [esp + 0xf4], 2
call fcn.00519616
mov byte [esp + 0xf4], 1
mov esi, 0x54d7d0
jmp 0x47155d
lea ecx, [esp + 0xa0]
call fcn.00473110
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], 0x58eeb4
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 0x470e7c
cmp edi, 1
mov dword [esp + 0x2c], eax
jne 0x470cb3
mov eax, edi
jmp 0x470cef
cmp edi, 2
jne 0x470cbc
xor eax, eax
jmp 0x470cef
cmp edi, 3
jne 0x470cc8
mov eax, 4
jmp 0x470cef
cmp edi, 4
jne 0x470cd4
mov eax, 6
jmp 0x470cef
cmp edi, 5
jne 0x470ce0
mov eax, 9
jmp 0x470cef
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 0x470d0a
mov dword [esp + 0x44], 0x588e28
jmp 0x470d5b
cmp edi, 2
jne 0x470d19
mov dword [esp + 0x44], 0x588e18
jmp 0x470d5b
cmp edi, 3
jne 0x470d28
mov dword [esp + 0x44], 0x588e0c
jmp 0x470d5b
cmp edi, 4
jne 0x470d37
mov dword [esp + 0x44], 0x58eeac
jmp 0x470d5b
cmp edi, 5
jne 0x470d46
mov dword [esp + 0x44], 0x58eea0
jmp 0x470d5b
cmp edi, 6
mov dword [esp + 0x44], 0x58ee98
je 0x470d5b
mov dword [esp + 0x44], 0x58ee8c
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.004733d0
cmp edi, 7
ja 0x47127b
jmp dword [edi*4 + 0x4715bc]
mov dword [esp + 0x20], eax
jmp 0x470d8b
mov edi, dword [esp + 0x6c]
cmp edi, 7
jle 0x470c8a
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 0x471312
mov ecx, dword [esp + 0x1c]
xor eax, eax
test edi, edi
mov edx, dword [ecx + 0x1700]
mov edx, dword [edx + ebx*4]
jle 0x471309
mov ecx, dword [esp + 0x8c]
cmp dword [ecx], edx
je 0x4712e3
inc eax
add ecx, 4
cmp eax, edi
jl 0x4712d5
jmp 0x471309
mov ecx, dword [esp + 0xdc]
cmp word [ecx + eax*2], 0
je 0x471309
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 0x4712bb
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 0x47134d
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 0x471327
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x47137f
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x10], edx
jmp 0x47138b
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 0x47150d
test eax, eax
jne 0x4714a1
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc8]
shr eax, 0x10
and eax, 0xfff
dec eax
test ecx, ecx
je 0x4714a1
mov edx, dword [esp + 0xc0]
test edx, edx
je 0x4714a1
shr ecx, 2
push eax
push ecx
push edx
call fcn.00474120
add esp, 0xc
cmp eax, 0xffffffff
mov dword [esp + 0x64], eax
je 0x4714a1
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 0x471471
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x1700]
cmp dword [edx], edi
je 0x471430
inc eax
add edx, 4
cmp eax, ecx
jle 0x471422
jmp 0x471471
mov ecx, dword [esp + 0xa8]
cmp word [esp + 0x10], 0
mov edi, dword [ecx + eax*4]
je 0x47146d
mov edx, dword [esi + 0x1c]
push edi
push 4
push 0x110a
push edx
call ebp
test ebx, ebx
jle 0x47146d
test eax, eax
je 0x47146d
mov edi, eax
push eax
mov eax, dword [esi + 0x1c]
push 1
push 0x110a
push eax
call ebp
dec ebx
test ebx, ebx
jg 0x471454
test edi, edi
jne 0x4714ea
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x6c]
inc eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jge 0x471497
mov ecx, dword [esp + 0x8c]
xor ebx, ebx
mov edi, dword [ecx + eax*4]
mov ecx, dword [esp + 0x60]
jmp 0x471412
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 0x4714e6
test eax, eax
je 0x4714e6
mov edx, dword [esi + 0x1c]
push eax
push 1
push 0x110a
push edx
mov edi, eax
call ebp
dec ebx
test ebx, ebx
jg 0x4714cd
test edi, edi
je 0x47150d
mov eax, dword [esp + 0x18]
push edi
test eax, eax
jne 0x471500
mov eax, dword [esi + 0x1c]
push 5
push 0x110b
push eax
jmp 0x47150b
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 0x471366
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.00473310
lea ecx, [esp + 0x28]
mov byte [esp + 0xf4], 2
call fcn.00519616
mov byte [esp + 0xf4], 1
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb8], esi
call fcn.00473310
lea ecx, [esp + 0x84]
mov byte [esp + 0xf4], 0
mov dword [esp + 0x84], esi
call fcn.00473310
lea ecx, [esp + 0xd8]
mov dword [esp + 0xf4], 0xffffffff
call fcn.00518a16
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xe8
ret