Function at 0x474d70
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4ed310]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov esi, ecx
cmp dword [esi + 0x2c], 0
push edi
jne 0x474da9
mov eax, dword [esi + 4]
push 0x3f2
push eax
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 4]
push 0x3f2
push ecx
call ebx
mov edx, dword [esi + 0x2c]
inc edx
push edx
lea ecx, [ebp - 0x204]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esi + 0x34]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push edx
call edi
mov eax, dword [esi + 0x30]
push 0
push 0
push 0x147
push eax
call edi
mov ecx, dword [esi + 0x30]
push 0
push eax
push 0x150
push ecx
call edi
mov ecx, eax
mov dword [ebp - 0x228], eax
call fcn.0041f550
mov ecx, dword [ebp - 0x228]
mov byte [ebp - 0x221], 0
call fcn.004203f0
mov dword [ebp - 0x234], eax
cmp eax, 0x2a
ja case.0x474e2e.1
movzx edx, byte [eax + 0x475420]
jmp dword [edx*4 + 0x475408]
push 0x67
call fcn.004966e0
add esp, 4
push eax
mov eax, dword [esi + 0x34]
push 0
push 0x143
push eax
call edi
push 0x68
call fcn.004966e0
mov ecx, dword [esi + 0x34]
add esp, 4
push eax
push 0
push 0x143
push ecx
call edi
push 0x69
call fcn.004966e0
mov edx, dword [esi + 0x34]
add esp, 4
push eax
push 0
push 0x143
push edx
call edi
push 0x6a
call fcn.004966e0
add esp, 4
push eax
mov eax, dword [esi + 0x34]
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x34]
push 2
push 0
push 0x151
push ecx
call edi
mov edx, dword [esi + 0x34]
push 3
push 1
push 0x151
push edx
call edi
mov eax, dword [esi + 0x34]
push 4
push 2
push 0x151
push eax
call edi
mov ecx, dword [esi + 0x34]
push 5
push 3
push 0x151
push ecx
call edi
mov edx, dword [esi + 0x34]
push 0
push 0
push 0x14e
push edx
call edi
mov eax, dword [esi + 4]
push 0x3f8
push eax
mov byte [ebp - 0x221], 1
call ebx
mov ecx, dword [ebp - 0x228]
push 0x16
mov dword [ebp - 0x22c], eax
call fcn.0041f500
mov edx, dword [ebp - 0x22c]
movzx ecx, al
push ecx
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3f6
mov eax, dword [esi + 4]
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x47520a
push 0x104
call fcn.004966e0
mov ecx, dword [esi + 0x34]
add esp, 4
push eax
push 0
push 0x143
push ecx
call edi
push 0x105
call fcn.004966e0
mov edx, dword [esi + 0x34]
add esp, 4
push eax
push 0
push 0x143
push edx
call edi
mov eax, dword [esi + 0x34]
push 0
push 0
push 0x151
push eax
call edi
mov ecx, dword [esi + 0x34]
push 1
push 1
push 0x151
push ecx
call edi
mov edx, dword [esi + 0x34]
push 0
push 1
push 0x14e
push edx
call edi
mov eax, dword [esi + 4]
push 0x3f8
push eax
mov byte [ebp - 0x221], 1
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 4]
push 0x3f6
push ecx
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x47520a
push 0x105
call fcn.004966e0
mov edx, dword [esi + 0x34]
add esp, 4
push eax
push 0
push 0x143
push edx
call edi
mov eax, dword [esi + 0x34]
push 1
push 0
push 0x151
push eax
call edi
mov ecx, dword [esi + 0x34]
push 0
push 0
push 0x14e
push ecx
call edi
mov edx, dword [esi + 4]
push 0x3f8
push edx
mov byte [ebp - 0x221], 1
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 4]
push 0x3f6
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x47520a
push 0x104
call fcn.004966e0
mov ecx, dword [esi + 0x34]
add esp, 4
push eax
push 0
push 0x143
push ecx
call edi
push 0x105
call fcn.004966e0
mov edx, dword [esi + 0x34]
add esp, 4
push eax
push 0
push 0x143
push edx
call edi
push 0x67
call fcn.004966e0
add esp, 4
push eax
mov eax, dword [esi + 0x34]
push 0
push 0x143
push eax
call edi
push 0x68
call fcn.004966e0
mov ecx, dword [esi + 0x34]
add esp, 4
push eax
push 0
push 0x143
push ecx
call edi
push 0x69
call fcn.004966e0
mov edx, dword [esi + 0x34]
add esp, 4
push eax
push 0
push 0x143
push edx
call edi
push 0x6a
call fcn.004966e0
add esp, 4
push eax
mov eax, dword [esi + 0x34]
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x34]
push 0
push 0
push 0x151
push ecx
call edi
mov edx, dword [esi + 0x34]
push 1
push 1
push 0x151
push edx
call edi
mov eax, dword [esi + 0x34]
push 2
push 2
push 0x151
push eax
call edi
mov ecx, dword [esi + 0x34]
push 3
push 3
push 0x151
push ecx
call edi
push 4
push 4
push 0x151
mov edx, dword [esi + 0x34]
push edx
call edi
mov eax, dword [esi + 0x34]
push 5
push 5
push 0x151
push eax
call edi
mov ecx, dword [esi + 0x34]
push 0
push 2
push 0x14e
push ecx
call edi
mov edx, dword [esi + 4]
push 0x3f8
push edx
mov byte [ebp - 0x221], 1
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 4]
push 0x3f6
push eax
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x47520a
push 0x37
call fcn.004966e0
mov ecx, dword [esi + 0x34]
add esp, 4
push eax
push 0
push 0x143
push ecx
call edi
mov edx, dword [esi + 0x34]
push 0
push 0
push 0x14e
push edx
call edi
push 0x4d302c
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x106
call fcn.004966e0
add esp, 4
push eax
lea ecx, [ebp - 0x204]
push ecx
jmp 0x475204
push 0x37
call fcn.004966e0
mov edx, dword [esi + 0x34]
add esp, 4
push eax
push 0
push 0x143
push edx
call edi
mov eax, dword [esi + 0x34]
push 0
push 0
push 0x14e
push eax
call edi
push 0x4d302c
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x107
call fcn.004966e0
add esp, 4
push eax
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [esi + 4]
push 0x3f2
push eax
call ebx
lea ecx, [ebp - 0x204]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [esi + 0x38]
push 0
push 0
push 0x14b
push edx
call edi
push 0x36
call fcn.004966e0
add esp, 4
push eax
mov eax, dword [esi + 0x38]
push 0
push 0x143
push eax
call edi
mov ecx, dword [esi + 0x38]
push 0xffffffffffffffff
push 0
push 0x151
push ecx
call edi
mov edx, dword [esi + 0x38]
push 0
push 0
push 0x14e
push edx
call edi
cmp byte [ebp - 0x221], 0
mov eax, dword [esi + 0x34]
je 0x4753b4
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 0x38]
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [esi + 4]
push 1
push edx
call ebx
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esi + 4]
push 0x3f4
push eax
call ebx
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [esi + 4]
push 0x4b0
push ecx
call ebx
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 0x228]
call fcn.0041f480
mov ebx, dword [eax]
mov dword [ebp - 0x238], eax
cmp ebx, dword [eax + 4]
je 0x4753f4
mov edx, dword [ebp - 0x234]
mov eax, dword [ebx]
push edx
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.00420ef0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x475303
mov eax, dword [eax]
mov edx, dword [esi + 0x38]
push eax
push 0
push 0x143
push edx
call edi
cmp dword [ebp - 0x20c], 8
jb 0x475329
mov eax, dword [ebp - 0x220]
push eax
call fcn.0049855c
add esp, 4
mov ecx, dword [esi + 0x38]
push 0
push 0
push 0x146
push ecx
call edi
mov edx, dword [ebx]
push 9
push edx
mov dword [ebp - 0x228], eax
call fcn.00420de0
fnstcw word [ebp - 0x222]
movzx eax, word [ebp - 0x222]
mov ecx, dword [esi + 0x38]
or eax, 0xc00
mov dword [ebp - 0x22c], eax
add esp, 8
fldcw word [ebp - 0x22c]
fistp qword [ebp - 0x230]
mov eax, dword [ebp - 0x230]
push eax
mov eax, dword [ebp - 0x228]
fldcw word [ebp - 0x222]
dec eax
push eax
push 0x151
push ecx
call edi
mov edx, dword [ebp - 0x238]
add ebx, 4
ret
add al, 0x3b
pop edx
add al, 0xf
test dword [ecx - 1], eax
invalid
invalid
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00499155
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call edi
mov ecx, dword [esi + 0x38]
push 0
push ecx
call edi
mov edx, dword [esi + 4]
push 1
push edx
call ebx
push 0
push eax
call edi
mov eax, dword [esi + 4]
push 0x3f4
push eax
call ebx
push 0
push eax
call edi
mov ecx, dword [esi + 4]
push 0x4b0
push ecx
call ebx
push 0
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00499155
mov esp, ebp
pop ebp
ret