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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4edc7b
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov ecx, esi
call fcn.004073d0
mov edi, dword [esi + 0x34]
mov eax, dword [esi + 0xc]
xor edx, edx
test edi, edi
sete dl
test eax, eax
mov ebp, edx
jne 0x407acc
mov eax, dword [esi + 0x68]
test eax, eax
je 0x407acc
mov eax, dword [eax + 4]
lea ecx, [esp + 0x130]
push 0xff
push ecx
push eax
call dword [sym.imp.user32.dll_GetWindowTextA]
mov eax, dword [esi + 4]
lea edx, [esp + 0x130]
push edx
push eax
call dword [sym.imp.user32.dll_SetWindowTextA]
mov eax, dword [esi + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.user32.dll_GetWindowLongA]
mov ecx, dword [esi + 4]
or al, 1
push eax
push 0xffffffffffffffec
push ecx
call dword [sym.imp.user32.dll_SetWindowLongA]
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
push eax
push 0
push 0x80
push edx
call ebx
mov eax, dword [esi + 0x68]
push 5
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.user32.dll_GetWindow]
mov ebp, eax
test ebp, ebp
je 0x407a36
lea ecx, [esp + 0x30]
push 0xff
push ecx
push ebp
call dword [sym.imp.user32.dll_GetClassNameA]
push 0xfffffffffffffff4
push ebp
call dword [sym.imp.user32.dll_GetWindowLongA]
mov dword [esp + 0x10], eax
mov edi, 0x524e64
lea eax, [esp + 0x30]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4078fc
test cl, cl
je 0x4078f8
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4078fc
add eax, 2
add edi, 2
test cl, cl
jne 0x4078d8
xor eax, eax
jmp 0x407901
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40798d
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 0x68]
lea eax, [esp + 0x20]
push edi
push eax
call fcn.00416060
mov eax, dword [eax + 4]
mov dword [esp + 0x238], 0
test eax, eax
jne 0x407932
mov eax, 0x4fdc00
push eax
push edi
mov ecx, esi
call fcn.00416040
mov eax, dword [esp + 0x24]
xor edi, edi
cmp eax, edi
mov dword [esp + 0x238], 0xffffffff
je 0x40797c
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x407973
cmp al, 0xff
je 0x407973
dec al
mov byte [ecx], al
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
jmp 0x407a23
push ecx
call fcn.004dae3e
add esp, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
jmp 0x407a23
mov eax, 0x524e50
lea edi, [esp + 0x30]
mov dl, byte [edi]
mov cl, dl
cmp dl, byte [eax]
jne 0x4079ba
test cl, cl
je 0x4079b6
mov dl, byte [edi + 1]
mov cl, dl
cmp dl, byte [eax + 1]
jne 0x4079ba
add edi, 2
add eax, 2
test cl, cl
jne 0x407996
xor eax, eax
jmp 0x4079bf
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x407a23
lea eax, [esp + 0x14]
push eax
push 0
push 0x407
push ebp
call ebx
lea ecx, [esp + 0x14]
push ecx
push 1
push 0x407
push ebp
call ebx
push 0
push 0
push 0x408
push ebp
call ebx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
mov edi, eax
push edx
push 0x406
push edi
call ebx
mov eax, dword [esp + 0x1c]
push 0
push eax
push 0x402
push edi
call ebx
push 2
push ebp
call dword [sym.imp.user32.dll_GetWindow]
mov ebp, eax
test ebp, ebp
jne 0x4078b1
mov ecx, dword [esi + 0x68]
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
push 0x802
mov ebp, 1
mov edx, dword [ecx + 4]
push edx
call edi
test eax, eax
je 0x407a79
push 0
push 0
push 0xf0
push eax
call ebx
cmp eax, ebp
jne 0x407a79
mov eax, dword [esi + 4]
push 0
push ebp
push 0xf1
push 0x802
push eax
call edi
push eax
call ebx
mov ecx, dword [esi + 0x68]
push 0
push 2
push 0x111
mov edx, dword [ecx + 4]
push edx
call ebx
push 0x256
push 0
mov dword [esi + 0x68], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.user32.dll_LoadIconA]
push eax
mov eax, dword [esi + 4]
push 0
push 0x80
push eax
call ebx
mov ecx, dword [esi + 4]
push 0
push 0xf020
push 0x112
push ecx
call dword [sym.imp.user32.dll_PostMessageA]
jmp 0x407b2b
mov edx, dword [esi + 4]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.user32.dll_GetWindowLongA]
and eax, 0xfffdffff
push eax
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.user32.dll_SetWindowLongA]
mov ecx, dword [esi + 4]
push 0
push 0
push 0x806f
push ecx
call dword [sym.imp.user32.dll_PostMessageA]
test esi, esi
je 0x407b06
lea eax, [esi + 0x10]
jmp 0x407b08
xor eax, eax
mov edx, dword [esi + 0x2c]
mov dword [edx + 8], eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x407b1a
mov eax, 0x4fdc00
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.user32.dll_SetWindowTextA]
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.user32.dll_ShowWindow]
push 5
push ecx
call ebx
test ebp, ebp
je 0x407b4d
mov edx, dword [esi + 4]
push 0x83fe
push edx
call edi
push 0
push eax
call ebx
mov eax, dword [esp + 0x244]
mov ecx, dword [esp + 0x240]
push eax
push ecx
mov ecx, esi
call fcn.00416230
mov ecx, dword [esp + 0x230]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x22c
ret 8