Function at 0x426b00
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495837
mov eax, dword fs:[0]
push eax
sub esp, 0xac4
mov eax, dword [0x4af480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test edx, edx
jne 0x426e4f
mov edi, dword [ebp + 8]
lea eax, [edi - 0x3eb]
cmp eax, 0x36
ja case.0x426b51.1006
movzx eax, byte [eax + 0x426e9c]
jmp dword [eax*4 + 0x426e84]
lea eax, [ebp - 0xa78]
push eax
call fcn.0047bc40
and dword [ebp - 0xa44], 0xfffffffd
lea eax, [ebp - 0xa78]
push eax
push esi
mov dword [ebp - 0xa5c], 0x3ea
mov dword [ebp - 0xa6c], 0x87
mov dword [ebp - 0xa48], 0x86
call fcn.0047bc20
test eax, eax
je 0x426e48
mov edi, dword [ebp - 0xa60]
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x426e48
test edi, edi
jle 0x426e48
push 0x104
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x218]
dec edi
call fcn.00419300
test eax, eax
jne 0x426e48
push 0x400
lea eax, [ebp - 0xa18]
push eax
push 0x87
push dword [0x4b3a24]
call dword [sym.imp.USER32.dll_LoadStringW]
xor esi, esi
test eax, eax
jle 0x426c3b
nop dword [eax]
movzx ecx, word [ebp + esi*2 - 0xa18]
cmp ecx, 0x7c
mov dword [ebp - 0xa1c], 0
mov edx, ecx
cmove edx, dword [ebp - 0xa1c]
mov word [ebp + esi*2 - 0xa18], dx
inc esi
cmp esi, eax
jl 0x426c10
test edi, edi
jg 0x426e48
cmp word [ebp - 0xa18], 0
je 0x426e48
lea ecx, [ebp - 0xa18]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426c60
sub ecx, edx
lea edx, [ebp - 0xa16]
sar ecx, 1
lea ecx, [edx + ecx*2]
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x426c81
sub edx, esi
sar edx, 1
lea edx, [ebp + edx*2 - 0x218]
movzx eax, word [ecx]
mov esi, eax
cmp eax, 0x2a
je 0x426ca6
cmp esi, 0x3f
jne 0x426cab
add ecx, 2
jmp 0x426c97
test si, si
je 0x426cc9
sub ecx, edx
cmp si, 0x3b
je 0x426cc9
mov word [edx], si
add edx, 2
movzx eax, word [ecx + edx]
mov esi, eax
test ax, ax
jne 0x426cb2
xor eax, eax
mov word [edx], ax
lea eax, [ebp - 0x218]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, 1
jmp 0x426e67
lea eax, [ebp - 0xad0]
push eax
call fcn.0047bc40
lea eax, [ebp - 0xad0]
mov dword [ebp - 0xab4], 0x3f2
push eax
push esi
mov dword [ebp - 0xac4], 0x87
mov dword [ebp - 0xaa0], 0x109
call fcn.0047bc00
mov eax, 1
jmp 0x426e67
push 0x8a
push 0x104
push 0x3f0
push esi
call fcn.004799b0
mov eax, 1
jmp 0x426e67
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x477
push esi
mov ebx, eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x426e48
push 0
push 0x403a20
push esi
push 0xff
push dword [0x4b3a24]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x426e48
mov eax, dword [0x4b4e44]
cmp eax, 0xe
jbe 0x426d97
xor eax, eax
jmp 0x426d9e
mov eax, dword [eax*8 + 0x4b0d34]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebx]
test edi, edi
je 0x426ddf
mov edx, dword [edi + 0x30]
lea esi, [edi + 0x30]
cmp edx, esi
je 0x426dcf
mov eax, dword [edx + 4]
mov ecx, dword [edx]
push edx
mov dword [eax], ecx
mov dword [ecx + 4], eax
call fcn.00457d30
mov edx, dword [esi]
add esp, 4
cmp edx, esi
jne 0x426db6
push 0x3c
push edi
mov dword [esi + 4], esi
mov dword [esi], esi
call fcn.0047d539
add esp, 8
push 0x3c
call fcn.0047d509
add esp, 4
mov dword [ebp - 0xa1c], eax
mov dword [ebp - 4], 0
mov ecx, eax
push dword [0x4b4e44]
call fcn.0041fd40
mov dword [ebx], eax
mov eax, 1
jmp 0x426e67
push 0
xor eax, eax
cmp edi, 0x3ed
push 0x3f1
push 0x3f0
sete al
push eax
push esi
call fcn.00478af0
add esp, 0x14
cmp edi, 0x3ed
jne 0x426e48
push 0x3f0
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, 1
jmp 0x426e67
cmp edx, 0x300
jne case.0x426b51.1006
cmp dword [ebp + 8], 0x3f6
jne case.0x426b51.1006
call fcn.00425e60
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d2db
mov esp, ebp
pop ebp
ret