Function at 0x417820
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431190
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x190
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x194], esi
push 0
push 0
push 0x147
mov eax, dword [esi + 0x3c]
push eax
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
call ebx
mov dword [ebp - 0x14], eax
push 0
push eax
push 0x150
mov ecx, dword [esi + 0x3c]
push ecx
call ebx
mov dword [ebp - 0x158], eax
mov byte [ebp - 0x4c], 0
mov ecx, 0xd
xor eax, eax
lea edi, [ebp - 0x4b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0x148
mov ecx, dword [esi + 0x3c]
push ecx
call ebx
push 0x3f5
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ebx, dword [0x439a08]
mov byte [ebp - 0x154], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x153]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [0x4350b8]
mov dword [ebp - 0x164], edx
mov eax, dword [ebp - 0x158]
dec eax
je 0x417a49
dec eax
je 0x4179a2
dec eax
jne 0x417aec
mov ebx, dword [0x439a14]
push 0xffffffffffffffff
push 0x422
lea eax, [ebp - 0x170]
push eax
call fcn.00422b30
add esp, 0xc
mov edi, eax
mov eax, dword [edi]
mov ecx, dword [ebp - 0x164]
cmp ecx, eax
je 0x417970
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41793a
add ecx, 0xfffffff4
cmp ecx, dword [0x4350bc]
jne 0x417941
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x417953
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [ebp - 0x164]
call fcn.00401f40
jmp 0x417970
lea ecx, [ebp - 0x164]
call fcn.00401e30
mov edi, dword [edi]
mov dword [ebp - 0x164], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x170]
lea edx, [eax - 0xc]
cmp edx, dword [0x4350bc]
je 0x417aec
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x417aec
mov eax, dword [ebp - 0x170]
jmp 0x417ae0
mov ebx, dword [0x439a10]
push 0xffffffffffffffff
push 0x420
lea ecx, [ebp - 0x16c]
push ecx
call fcn.00422b30
add esp, 0xc
mov edi, eax
mov eax, dword [edi]
mov ecx, dword [ebp - 0x164]
cmp ecx, eax
je 0x417a14
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4179de
add ecx, 0xfffffff4
cmp ecx, dword [0x4350bc]
jne 0x4179e5
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4179f7
push eax
mov edx, dword [eax - 8]
push edx
lea ecx, [ebp - 0x164]
call fcn.00401f40
jmp 0x417a14
lea ecx, [ebp - 0x164]
call fcn.00401e30
mov edi, dword [edi]
mov dword [ebp - 0x164], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x16c]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4350bc]
je 0x417aec
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x417aec
mov edx, dword [ebp - 0x16c]
lea eax, [edx - 0xc]
jmp 0x417ae3
mov ebx, dword [0x439a0c]
push 0xffffffffffffffff
push 0x421
lea eax, [ebp - 0x168]
push eax
call fcn.00422b30
add esp, 0xc
mov edi, eax
mov eax, dword [edi]
mov ecx, dword [ebp - 0x164]
cmp ecx, eax
je 0x417abb
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x417a85
add ecx, 0xfffffff4
cmp ecx, dword [0x4350bc]
jne 0x417a8c
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x417a9e
push eax
mov ecx, dword [eax - 8]
push ecx
lea ecx, [ebp - 0x164]
call fcn.00401f40
jmp 0x417abb
lea ecx, [ebp - 0x164]
call fcn.00401e30
mov edi, dword [edi]
mov dword [ebp - 0x164], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [ebp - 0x168]
lea edx, [eax - 0xc]
cmp edx, dword [0x4350bc]
je 0x417aec
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x417aec
mov eax, dword [ebp - 0x168]
add eax, 0xfffffff4
push eax
call fcn.00426ac0
add esp, 4
mov dword [ebp - 0x19c], ebx
xor edi, edi
mov dword [ebp - 0x198], edi
fild qword [ebp - 0x19c]
fmul qword [0x432678]
call fcn.0042859c
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], edi
wait
push eax
mov ecx, dword [ebp - 0x164]
push ecx
lea edx, [ebp - 0x154]
push edx
call fcn.00426b7c
add esp, 0xc
jmp 0x417b4f
mov dword [ebp - 4], 0xffffffff
push 0x429
mov edx, dword [esi + 4]
push edx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
call ebx
lea ecx, [ebp - 0x154]
push ecx
push eax
mov edi, dword [sym.imp.USER32.dll_SetWindowTextA]
call edi
push 0x3ff
mov edx, dword [esi + 4]
push edx
call ebx
push 0x43965c
push eax
call edi
mov eax, dword [ebp - 0x158]
push eax
push 1
push 0xffff0000
mov ecx, esi
call fcn.00417610
mov eax, dword [ebp - 0x164]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4350bc]
je 0x417bd0
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x417bd0
mov edx, dword [ebp - 0x164]
add edx, 0xfffffff4
push edx
call fcn.00426ac0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10