Function at 0x428000
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
sub edx, 0x7d1
je 0x428176
sub edx, 1
je 0x428037
sub edx, 1
jne 0x4282a9
cmp dword [ebp + 0xc], edx
jne 0x4282a9
call fcn.00426800
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
cmp dword [ebp + 0xc], 4
jne 0x4282a9
mov edx, dword [0x4e6994]
mov ecx, dword [edx + 0x44]
mov esi, dword [edx + 0x40]
cmp ecx, 0xffffffff
jle 0x42813c
cmp esi, 0xffffffff
jle 0x42813c
mov eax, dword [edx + 0x10]
test eax, eax
jne 0x42806a
xor ebx, ebx
jmp 0x42806d
mov ebx, dword [eax + 8]
cmp ecx, ebx
jge 0x42813c
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x42813c
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x42808e
xor ecx, ecx
jmp 0x428091
mov ecx, dword [eax + 8]
cmp esi, ecx
jge 0x42809d
mov eax, dword [eax + 4]
mov esi, dword [eax + esi*4]
jmp 0x42809f
xor esi, esi
mov ebx, dword [ebp + 8]
test esi, esi
je 0x428141
push 0x400
push 0x537e68
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi]
call fcn.004995bf
xor ecx, ecx
add esp, 4
cmp byte [0x537e68], cl
je 0x4280da
nop
inc ecx
cmp byte [ecx + 0x537e68], 0
jne 0x4280d0
xor eax, eax
add ecx, 1
push 1
setb al
neg eax
or eax, ecx
push eax
call fcn.0049af7e
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x428105
push 1
push 1
call fcn.0049af7e
add esp, 8
jmp 0x428129
xor eax, eax
cmp byte [0x537e68], al
je 0x42811a
nop
inc eax
cmp byte [eax + 0x537e68], 0
jne 0x428110
push eax
push 0x537e68
push ecx
call fcn.0048f2d0
add esp, 0xc
mov dword [esi], eax
mov edx, dword [0x4e6994]
cmp dword [edx + 0xb0], 0
jne 0x428147
jmp 0x428141
mov ebx, dword [ebp + 8]
xor esi, esi
cmp dword [edx + 0x40], 0
jne 0x428159
push dword [esi]
mov ecx, edi
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
call fcn.004264d0
add esp, 8
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, edi
call fcn.00426760
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
cmp dword [ebp + 0xc], 0x309
jne 0x4282a9
mov eax, dword [0x4e6994]
mov ecx, dword [eax + 0x44]
mov esi, dword [eax + 0x40]
cmp ecx, 0xffffffff
jle 0x42829b
cmp esi, 0xffffffff
jle 0x42829b
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x4281ab
xor edx, edx
jmp 0x4281ae
mov edx, dword [eax + 8]
cmp ecx, edx
jge 0x42829b
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x42829b
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4281cf
xor ecx, ecx
jmp 0x4281d2
mov ecx, dword [eax + 8]
cmp esi, ecx
jge 0x4281de
mov eax, dword [eax + 4]
mov esi, dword [eax + esi*4]
jmp 0x4281e0
xor esi, esi
test esi, esi
je 0x42829b
mov ebx, dword [ebp + 8]
push 0x400
push 0x538288
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push dword [esi]
call fcn.004995bf
xor ecx, ecx
add esp, 4
cmp byte [0x538288], cl
je 0x42821a
inc ecx
cmp byte [ecx + 0x538288], 0
jne 0x428210
xor eax, eax
add ecx, 1
push 1
setb al
neg eax
or eax, ecx
push eax
call fcn.0049af7e
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x428245
push 1
push 1
call fcn.0049af7e
add esp, 8
jmp 0x428269
xor eax, eax
cmp byte [0x538288], al
je 0x42825a
nop
inc eax
cmp byte [eax + 0x538288], 0
jne 0x428250
push eax
push 0x538288
push ecx
call fcn.0048f2d0
add esp, 0xc
push 0
push ebx
mov dword [esi], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [0x4e6994]
cmp dword [edx + 0xb0], 0
jne 0x428289
cmp dword [edx + 0x40], 0
jne 0x42829b
push dword [esi]
mov ecx, edi
push dword [edx + 0x40]
mov edx, dword [edx + 0x44]
call fcn.004264d0
add esp, 8
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, edi
call fcn.00426760
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret