Function at 0x484b48
Capabilities:
Get graphical window text
Hide graphical window
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x41
push 0
push 0
dec ecx
jne 0x484b50
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
call fcn.004051a4
mov eax, dword [ebp + 0xc]
call fcn.004051a4
xor eax, eax
push ebp
push 0x4855d7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x4855f4
call fcn.00404dbc
lea eax, [ebp - 8]
mov edx, 0x48560c
call fcn.00404dbc
lea eax, [ebp - 0xc]
mov edx, 0x485624
call fcn.00404dbc
lea eax, [ebp - 0x10]
mov edx, 0x485634
call fcn.00404dbc
lea eax, [ebp - 0x14]
mov edx, 0x48564c
call fcn.00404dbc
lea eax, [ebp - 0x18]
mov edx, 0x485664
call fcn.00404dbc
lea eax, [ebp - 0x1c]
mov edx, 0x48567c
call fcn.00404dbc
lea eax, [ebp - 0x20]
mov edx, 0x4856a0
call fcn.00404dbc
lea eax, [ebp - 0x24]
mov edx, 0x4856b8
call fcn.00404dbc
lea eax, [ebp - 0x28]
mov edx, 0x4856f8
call fcn.00404dbc
lea eax, [ebp - 0x2c]
mov edx, 0x485730
call fcn.00404dbc
lea eax, [ebp - 0x30]
mov edx, 0x485744
call fcn.00404dbc
lea eax, [ebp - 0x34]
mov edx, 0x485760
call fcn.00404dbc
lea eax, [ebp - 0x38]
mov edx, 0x485774
call fcn.00404dbc
lea eax, [ebp - 0x3c]
mov edx, 0x485788
call fcn.00404dbc
call fcn.00484914
mov ebx, eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x160]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x160]
lea eax, [ebp - 0x15c]
mov edx, 0x4857a8
call fcn.0040503c
mov eax, dword [ebp - 0x15c]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
push 0
push 0x4857b8
call sub.user32.dll_FindWindowA
mov ebx, eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x168]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x168]
lea eax, [ebp - 0x164]
mov edx, 0x4857d4
call fcn.0040503c
mov eax, dword [ebp - 0x164]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
push 0
push 0x4857e8
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov esi, eax
mov eax, esi
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x170]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x170]
lea eax, [ebp - 0x16c]
mov edx, 0x485804
call fcn.0040503c
mov eax, dword [ebp - 0x16c]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
push 0
push 0x485818
push 0
push esi
call sub.user32.dll_FindWindowExA
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x178]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x178]
lea eax, [ebp - 0x174]
mov edx, 0x485834
call fcn.0040503c
mov eax, dword [ebp - 0x174]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
push 4
push esi
call sub.user32.dll_GetDlgItem
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x180]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x180]
lea eax, [ebp - 0x17c]
mov edx, 0x485850
call fcn.0040503c
mov eax, dword [ebp - 0x17c]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
push 1
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_BringWindowToTop
push ebx
call sub.user32.dll_SetForegroundWindow
push 0
push 1
push 0
push 0x11
call sub.user32.dll_keybd_event
push 0
push 1
push 0
push 0x55
call sub.user32.dll_keybd_event
push 0
push 3
push 0
push 0x55
call sub.user32.dll_keybd_event
push 0
push 3
push 0
push 0x11
call sub.user32.dll_keybd_event
call fcn.0040d060
fstp st(0)
lea eax, [ebp - 4]
call fcn.00405214
push eax
push 0x485864
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
jne 0x484e2e
lea eax, [ebp - 0x18]
call fcn.00405214
push eax
push 0x485864
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
jne 0x484e47
lea eax, [ebp - 0x2c]
call fcn.00405214
push eax
push 0x485864
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
jne 0x484e52
push 0x32
call sub.kernel32.dll_Sleep_2
test ebx, ebx
je 0x484e00
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x188]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x188]
lea eax, [ebp - 0x184]
mov edx, 0x485874
call fcn.0040503c
mov eax, dword [ebp - 0x184]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
push 0
push ebx
call sub.user32.dll_GetDlgItem
mov ebx, eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x190]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x190]
lea eax, [ebp - 0x18c]
mov edx, 0x48588c
call fcn.0040503c
mov eax, dword [ebp - 0x18c]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
push 0x7e9
push ebx
call sub.user32.dll_GetDlgItem
mov dword [ebp - 0x4c], eax
push 0x7e8
push ebx
call sub.user32.dll_GetDlgItem
mov esi, eax
push 1
push ebx
call sub.user32.dll_GetDlgItem
mov ebx, eax
mov eax, esi
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x198]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x198]
lea eax, [ebp - 0x194]
mov edx, 0x4858ac
call fcn.0040503c
mov eax, dword [ebp - 0x194]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x1a0]
call fcn.0040b658
mov ecx, dword [ebp - 0x1a0]
lea eax, [ebp - 0x19c]
mov edx, 0x4858c4
call fcn.0040503c
mov eax, dword [ebp - 0x19c]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0x4c]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x1a8]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x1a8]
lea eax, [ebp - 0x1a4]
mov edx, 0x4858dc
call fcn.0040503c
mov eax, dword [ebp - 0x1a4]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
lea eax, [ebp - 0x158]
push eax
push 0x32
push 0xd
push esi
call sub.user32.dll_SendMessageA
mov edi, dword [ebp + 8]
test edi, edi
je 0x484fcf
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp + 8]
call fcn.00405214
push eax
push edi
push 0xc
push esi
call sub.user32.dll_SendMessageA
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x484fed
sub esi, 4
mov esi, dword [esi]
lea eax, [ebp + 0xc]
call fcn.00405214
push eax
push esi
push 0xc
mov eax, dword [ebp - 0x4c]
push eax
call sub.user32.dll_SendMessageA
push 1
mov ecx, 0xa
mov edx, 0xa
mov eax, ebx
call fcn.00484a94
push 1
mov ecx, 0xa
mov edx, 0xa
mov eax, ebx
call fcn.00484a94
push 0x32
call sub.kernel32.dll_Sleep_2
push 1
mov ecx, 0xa
mov edx, 0xa
mov eax, ebx
call fcn.00484a94
push 0x32
call sub.kernel32.dll_Sleep_2
push 1
mov ecx, 0xa
mov edx, 0xa
mov eax, ebx
call fcn.00484a94
lea ecx, [ebp - 0x50]
mov edx, 0x4858f4
mov eax, 0x80000001
call fcn.0046fb0c
cmp dword [ebp - 0x50], 0
jne 0x48508d
push 0
mov ecx, 0x79
mov edx, 0x2d
mov eax, dword [ebp - 0x44]
call fcn.00484a94
jmp 0x4851d1
push 1
mov ecx, 0x1f
mov edx, 0x41
mov eax, dword [ebp - 0x44]
call fcn.00484a94
call fcn.0040d060
fstp qword [ebp - 0x58]
wait
mov esi, 0x485930
lea edi, [ebp - 0x158]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
push 1
mov eax, dword [ebp - 0x48]
push eax
call sub.user32.dll_GetDlgItem
push 1
push eax
call sub.user32.dll_GetDlgItem
mov edi, eax
push 0
mov eax, dword [ebp - 0x48]
push eax
call sub.user32.dll_GetDlgItem
mov esi, eax
push 1
push esi
call sub.user32.dll_GetDlgItem
mov ebx, eax
push 1
push edi
call sub.user32.dll_GetDlgItem
mov edi, eax
test ebx, ebx
jbe 0x485109
lea eax, [ebp - 0x158]
push eax
push 0x32
push 0xd
push edi
call sub.user32.dll_SendMessageA
jmp 0x485110
push 0x32
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0x1ac]
lea edx, [ebp - 0x158]
mov ecx, pe_nt_image_headers32
call fcn.00404f94
mov edx, dword [ebp - 0x1ac]
mov eax, dword [ebp - 8]
call fcn.00405300
dec eax
je 0x48519f
lea eax, [ebp - 0x1b0]
lea edx, [ebp - 0x158]
mov ecx, pe_nt_image_headers32
call fcn.00404f94
mov edx, dword [ebp - 0x1b0]
mov eax, dword [ebp - 0x1c]
call fcn.00405300
dec eax
je 0x48519f
lea eax, [ebp - 0x1b4]
lea edx, [ebp - 0x158]
mov ecx, pe_nt_image_headers32
call fcn.00404f94
mov edx, dword [ebp - 0x1b4]
mov eax, dword [ebp - 0x30]
call fcn.00405300
dec eax
je 0x48519f
call fcn.0040d060
fsub qword [ebp - 0x58]
fld xword [0x485a30]
fcompp
wait
fnstsw ax
sahf
jae 0x4850bc
push 0x12c
call sub.kernel32.dll_Sleep_2
push 1
mov ecx, 0xc4
mov edx, 0x41
mov eax, dword [ebp - 0x44]
call fcn.00484a94
push 1
mov ecx, 0xc4
mov edx, 0x41
mov eax, dword [ebp - 0x44]
call fcn.00484a94
call fcn.0040d060
fstp qword [ebp - 0x58]
wait
push 0
mov eax, dword [ebp - 0x48]
push eax
call sub.user32.dll_GetDlgItem
mov esi, eax
push 1
push esi
call sub.user32.dll_GetDlgItem
mov ebx, eax
push 1
push ebx
call sub.user32.dll_GetDlgItem
mov edi, eax
test ebx, ebx
je 0x485212
lea eax, [ebp - 0x158]
push eax
push 0x32
push 0xd
push edi
call sub.user32.dll_SendMessageA
jmp 0x485219
push 0x32
call sub.kernel32.dll_Sleep_2
lea eax, [ebp - 0x1b8]
lea edx, [ebp - 0x158]
mov ecx, pe_nt_image_headers32
call fcn.00404f94
mov edx, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0xc]
call fcn.00405300
test eax, eax
jg 0x4852ab
lea eax, [ebp - 0x1bc]
lea edx, [ebp - 0x158]
mov ecx, pe_nt_image_headers32
call fcn.00404f94
mov edx, dword [ebp - 0x1bc]
mov eax, dword [ebp - 0x20]
call fcn.00405300
test eax, eax
jg 0x4852ab
lea eax, [ebp - 0x1c0]
lea edx, [ebp - 0x158]
mov ecx, pe_nt_image_headers32
call fcn.00404f94
mov edx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x34]
call fcn.00405300
test eax, eax
jg 0x4852ab
call fcn.0040d060
fsub qword [ebp - 0x58]
fld xword [0x485a3c]
fcompp
wait
fnstsw ax
sahf
jae 0x4851da
mov eax, esi
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x1c8]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x1c8]
lea eax, [ebp - 0x1c4]
mov edx, 0x485a50
call fcn.0040503c
mov eax, dword [ebp - 0x1c4]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x1d0]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1cc]
mov edx, 0x485a74
call fcn.0040503c
mov eax, dword [ebp - 0x1cc]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, edi
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x1d8]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d4]
mov edx, 0x485a98
call fcn.0040503c
mov eax, dword [ebp - 0x1d4]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
push 1
push ebx
call sub.user32.dll_GetDlgItem
mov esi, eax
mov eax, esi
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x1e0]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1dc]
mov edx, 0x485ac4
call fcn.0040503c
mov eax, dword [ebp - 0x1dc]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
lea eax, [ebp - 0x158]
push eax
push 0x32
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x158]
push eax
call sub.kernel32.dll_OutputDebugStringA
lea eax, [ebp - 0x1e4]
lea edx, [ebp - 0x158]
mov ecx, pe_nt_image_headers32
call fcn.00404f94
mov edx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x14]
call fcn.00405300
dec eax
je 0x48543b
lea eax, [ebp - 0x1e8]
lea edx, [ebp - 0x158]
mov ecx, pe_nt_image_headers32
call fcn.00404f94
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x28]
call fcn.00405300
dec eax
je 0x48543b
lea eax, [ebp - 0x1ec]
lea edx, [ebp - 0x158]
mov ecx, pe_nt_image_headers32
call fcn.00404f94
mov edx, dword [ebp - 0x1ec]
mov eax, dword [ebp - 0x3c]
call fcn.00405300
dec eax
jne 0x485453
push 1
mov ecx, 0x28
mov edx, 0x1e
mov eax, esi
call fcn.00484a94
jmp 0x48559f
lea eax, [ebp - 0x1f0]
lea edx, [ebp - 0x158]
mov ecx, pe_nt_image_headers32
call fcn.00404f94
mov edx, dword [ebp - 0x1f0]
mov eax, dword [ebp - 0x10]
call fcn.00405300
dec eax
je 0x4854cc
lea eax, [ebp - 0x1f4]
lea edx, [ebp - 0x158]
mov ecx, pe_nt_image_headers32
call fcn.00404f94
mov edx, dword [ebp - 0x1f4]
mov eax, dword [ebp - 0x24]
call fcn.00405300
dec eax
je 0x4854cc
lea eax, [ebp - 0x1f8]
lea edx, [ebp - 0x158]
mov ecx, pe_nt_image_headers32
call fcn.00404f94
mov edx, dword [ebp - 0x1f8]
mov eax, dword [ebp - 0x38]
call fcn.00405300
dec eax
jne 0x48558c
push 2
push ebx
call sub.user32.dll_GetDlgItem
mov ebx, eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x200]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x200]
lea eax, [ebp - 0x1fc]
mov edx, 0x485adc
call fcn.0040503c
mov eax, dword [ebp - 0x1fc]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
push 1
push ebx
call sub.user32.dll_GetDlgItem
mov ebx, eax
mov eax, ebx
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x208]
mov eax, 8
call fcn.0040b6a8
mov ecx, dword [ebp - 0x208]
lea eax, [ebp - 0x204]
mov edx, 0x485adc
call fcn.0040503c
mov eax, dword [ebp - 0x204]
call fcn.004051b4
push eax
call sub.kernel32.dll_OutputDebugStringA
push 1
mov ecx, 5
mov edx, 5
mov eax, ebx
call fcn.00484a94
push 0xc8
call sub.kernel32.dll_Sleep_2
push 1
mov ecx, 5
mov edx, 0x1e
mov eax, esi
call fcn.00484a94
jmp 0x48559f
push 1
mov ecx, 5
mov edx, 0x1e
mov eax, esi
call fcn.00484a94
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4855de
lea eax, [ebp - 0x208]
mov edx, 0x2c
call fcn.00404d48
lea eax, [ebp - 0x3c]
mov edx, 0xf
call fcn.00404d48
lea eax, [ebp + 8]
mov edx, 2
call fcn.00404d48
ret