Function at 0x4172b3
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0xdc
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
xor eax, eax
mov byte [esp + 0x17], dl
push 0x7e
push eax
mov word [esp + 0x68], ax
mov ebx, ecx
lea eax, [esp + 0x6a]
mov dword [esp + 0x20], ebx
push eax
call fcn.004bf040
add esp, 0xc
push 0x33
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov edx, 0x9188cf13
push 0x805a2f65
mov ecx, 0x1719230e
mov dword [0x52abb4], ebx
call fcn.0040198e
pop ecx
mov edx, eax
mov ecx, ebx
call fcn.00414c22
call fcn.0040abfb
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 1
push 0x1003
push ebx
call ebp
push 0x10030
xor ecx, ecx
push ecx
push 0x1036
push ebx
call ebp
mov ecx, dword [0x52aa50]
lea eax, [esp + 0x60]
push 0x40
push eax
push 0x4a
call fcn.0042126e
test eax, eax
jne 0x417379
movzx edx, word [0x51ffae]
lea eax, [esp + 0x60]
push 0x40
push eax
xor edx, 0x9191
mov ecx, 0x51ffb0
call fcn.00412903
pop ecx
pop ecx
push 0x7ebfa02f
mov edx, 0x6f6d4052
mov ecx, 0xe9fcac5b
call fcn.0040198e
pop ecx
mov edx, eax
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x417394
lea edi, [esp + 0x60]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x4173a8
mov ecx, edx
lea eax, [esp + 0x60]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
push 0xa
push dword [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [0x52aa50]
lea eax, [esp + 0x60]
push 0x40
push eax
push 0x50
call fcn.0042126e
test eax, eax
jne 0x41740b
movzx edx, word [0x520000]
lea eax, [esp + 0x60]
push 0x40
push eax
xor edx, 0x9191
mov ecx, 0x520002
call fcn.00412903
pop ecx
pop ecx
push 0xd74bb479
mov edx, 0xc6995404
mov ecx, 0x4008b803
call fcn.0040198e
pop ecx
mov edx, eax
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x417426
lea edi, [esp + 0x60]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x41743a
mov ecx, edx
lea eax, [esp + 0x60]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
push 0x11
push dword [esp + 0x20]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [0x52aa50]
lea eax, [esp + 0x60]
push 0x40
push eax
push 0x4c
call fcn.0042126e
test eax, eax
jne 0x41749d
movzx edx, word [0x51ffc6]
lea eax, [esp + 0x60]
push 0x40
push eax
xor edx, 0x9191
mov ecx, 0x51ffc8
call fcn.00412903
pop ecx
pop ecx
push 0x4c2f21ba
mov edx, 0x5dfdc1c7
mov ecx, 0xdb6c2d3a
call fcn.0040198e
pop ecx
mov edx, eax
xor ecx, ecx
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x4174b8
lea edi, [esp + 0x60]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x4174cc
mov ecx, edx
lea eax, [esp + 0x60]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
push 0xc
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp byte [esp + 0x17], 0
je 0x417613
xor eax, eax
lea edi, [esp + 0x49]
xor ecx, ecx
mov byte [esp + 0x48], cl
stosd dword es:[edi], eax
push ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x4c]
push eax
call fcn.0040e9ed
mov edi, eax
test edi, edi
jle 0x417585
xor eax, eax
mov ecx, eax
and dword [ecx + 0x523d70], 0xffffefff
add ecx, 4
cmp ecx, 0x54
jb 0x417529
or dword [0x523d70], 0x1000
mov esi, eax
or dword [0x523d78], 0x1000
test edi, edi
jle 0x417585
mov al, byte [esp + esi + 0x48]
cmp al, 0x15
jae 0x417580
movzx edx, al
mov ecx, esi
and ecx, 0x3f
or ecx, 0x40
shl ecx, 6
mov eax, dword [edx*4 + 0x523d70]
and eax, 0xfffff03f
or ecx, eax
mov dword [edx*4 + 0x523d70], ecx
inc esi
cmp esi, edi
jl 0x417555
push 0xa
xor eax, eax
lea edi, [esp + 0x24]
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x1c], 0x26
mov dword [esp + 0x28], eax
xor eax, eax
mov esi, eax
test dword [esi*4 + 0x523d70], 0x1000
je 0x417609
push 0x40
lea edx, [esp + 0x64]
mov ecx, esi
call fcn.00416782
pop ecx
lea eax, [esp + 0x60]
push eax
xor eax, eax
push eax
push 0x1057
push ebx
call ebp
mov edx, dword [esi*4 + 0x523d70]
mov ecx, edx
shr ecx, 0xd
and ecx, 0x1ffff
cmp eax, ecx
cmovg ecx, eax
lea eax, [esp + 0x1c]
push eax
push esi
shr edx, 6
push 0x1061
and edx, 0x3f
mov dword [esi*4 + 0x52aa80], ecx
push ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x48], edx
call ebp
inc esi
cmp esi, 0x15
jb 0x4175a4
mov esi, dword [esp + 0x18]
mov eax, dword [0x52aa58]
xor ecx, ecx
cmp dword [eax + 0x28], ecx
jne 0x417667
mov ecx, dword [0x52aa50]
lea eax, [esp + 0x60]
push 0x40
push eax
push 0x5f
call fcn.0042126e
test eax, eax
jne 0x417657
movzx edx, word [0x520178]
lea eax, [esp + 0x60]
push 0x40
push eax
xor edx, 0x9191
mov ecx, 0x52017a
call fcn.00412903
pop ecx
pop ecx
lea eax, [esp + 0x60]
push eax
push 0x32
push esi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
jmp 0x4176be
mov edx, ebx
mov ecx, esi
call fcn.0041711a
xor eax, eax
mov edi, eax
mov esi, eax
test dword [esi + 0x523d70], 0x1000
je 0x4176b6
push 0xffff
push edi
push 0x101e
push ebx
call ebp
xor eax, eax
push eax
push edi
push 0x101d
push ebx
call ebp
cmp eax, dword [esi + 0x52aa80]
jge 0x4176b5
movzx eax, word [esi + 0x52aa80]
push eax
push edi
push 0x101e
push ebx
call ebp
inc edi
add esi, 4
cmp esi, 0x54
jb 0x417676
mov ecx, dword [esp + 0xe4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b9a6c
add esp, 0xdc
ret