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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, 0x521a00
mov edi, 0x521908
mov eax, dword [ebp + 0x14]
mov edx, eax
shl eax, 5
add eax, edx
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + eax*4 + 0x68], 1
je 0x4dd1e2
cmp dword [ebp + 0xc], 0
je 0x4dcf6b
xor eax, eax
mov dword [0x5218fc], eax
mov edx, dword [ebp + 0x14]
mov ecx, edx
shl edx, 5
add edx, ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + edx*4 + 0x68]
mov dword [0x521a04], edx
mov ecx, dword [0x521a04]
add ecx, 0x64
mov dword [0x521a08], ecx
mov eax, dword [0x521a04]
mov dword [esi], eax
jmp 0x4dcbdf
mov edx, dword [esi]
push edx
push ebx
call sub.USER32.dll_GetDlgItem
mov ecx, dword [0x5218fc]
mov dword [edi + ecx*4], eax
mov eax, dword [0x5218fc]
cmp dword [edi + eax*4], 0
je 0x4dcbed
mov eax, dword [0x4f17d8]
test eax, eax
je 0x4dcb01
cmp ebx, eax
jne 0x4dcb01
mov edx, dword [esi]
sub edx, 0xb3
jne 0x4dcb57
inc dword [0x5218fc]
jmp 0x4dcbdd
mov eax, dword [0x4fab68]
test eax, eax
je 0x4dcb57
cmp ebx, eax
jne 0x4dcb57
mov edx, dword [esi]
cmp edx, 0x15f
jg 0x4dcb33
je 0x4dcb4c
sub edx, 0x102
je 0x4dcb4c
sub edx, 0x27
je 0x4dcb4c
sub edx, 2
je 0x4dcb4c
sub edx, 0x16
je 0x4dcb4c
jmp 0x4dcb57
sub edx, 0x177
je 0x4dcb4c
sub edx, 0x40
je 0x4dcb4c
sub edx, 0x55
je 0x4dcb4c
sub edx, 2
je 0x4dcb4c
jmp 0x4dcb57
inc dword [0x5218fc]
jmp 0x4dcbdd
push 0
push 0
push 0xc1
mov ecx, dword [0x5218fc]
mov eax, dword [edi + ecx*4]
push eax
call sub.USER32.dll_SendMessageA
test eax, eax
jle 0x4dcb7b
inc dword [0x5218fc]
jmp 0x4dcbdd
push 0x521ac4
push 0x3e7
push 0xd
mov edx, dword [0x5218fc]
mov ecx, dword [edi + edx*4]
push ecx
call sub.USER32.dll_SendMessageA
test eax, eax
jle 0x4dcbd7
push 1
push 0x521ac4
call fcn.00401278
add esp, 8
mov dword [0x521a0c], eax
cmp dword [0x521a0c], 0
je 0x4dcbd7
mov eax, dword [0x521a0c]
mov byte [eax], 0x26
push 0x521ac4
push 0
push 0xc
mov edx, dword [0x5218fc]
mov ecx, dword [edi + edx*4]
push ecx
call sub.USER32.dll_SendMessageA
inc dword [0x5218fc]
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [0x521a08]
jl 0x4dcabe
push 0x5219d0
mov edx, dword [edi]
push edx
call sub.USER32.dll_GetWindowRect
push 0x5219e0
push 0x69
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_GetWindowRect
xor ecx, ecx
mov dword [esi], ecx
jmp 0x4dccbc
push 0x5219f0
mov eax, dword [esi]
mov edx, dword [edi + eax*4]
push edx
call sub.USER32.dll_GetWindowRect
mov eax, dword [0x4f17d8]
test eax, eax
je 0x4dcc72
cmp ebx, eax
jne 0x4dcc72
cmp dword [0x4f9180], 0
jne 0x4dcc72
push 0xbc
push ebx
call sub.USER32.dll_GetDlgItem
mov edx, dword [esi]
cmp eax, dword [edi + edx*4]
je 0x4dccba
push 0xbd
push ebx
call sub.USER32.dll_GetDlgItem
mov ecx, dword [esi]
cmp eax, dword [edi + ecx*4]
je 0x4dccba
push 0xbe
push ebx
call sub.USER32.dll_GetDlgItem
mov edx, dword [esi]
cmp eax, dword [edi + edx*4]
je 0x4dccba
mov eax, dword [0x5219f4]
cmp eax, dword [0x5219d4]
jge 0x4dcc84
mov dword [0x5219d4], eax
mov eax, dword [0x5219fc]
cmp eax, dword [0x5219dc]
jle 0x4dcc96
mov dword [0x5219dc], eax
mov eax, dword [0x5219f0]
cmp eax, dword [0x5219d0]
jge 0x4dcca8
mov dword [0x5219d0], eax
mov eax, dword [0x5219f8]
cmp eax, dword [0x5219d8]
jle 0x4dccba
mov dword [0x5219d8], eax
inc dword [esi]
mov edx, dword [esi]
cmp edx, dword [0x5218fc]
jl 0x4dcc16
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shl ecx, 5
add ecx, eax
mov edx, dword [ebp + 0x10]
cmp dword [edx + ecx*4 + 0x78], 0
je 0x4dcd71
mov ecx, dword [0x5219e8]
sub ecx, dword [0x5219e0]
mov eax, dword [0x5219d8]
sub eax, dword [0x5219d0]
sub ecx, eax
sar ecx, 1
jns 0x4dcd02
adc ecx, 0
mov edx, dword [0x5219d0]
sub edx, dword [0x5219e0]
sub edx, ecx
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shl ecx, 5
add ecx, eax
mov eax, dword [ebp + 0x10]
sub edx, dword [eax + ecx*4 + 0x6c]
dec edx
mov dword [0x521900], edx
mov edx, dword [0x5219ec]
sub edx, dword [0x5219e4]
mov ecx, dword [0x5219dc]
sub ecx, dword [0x5219d4]
sub edx, ecx
sar edx, 1
jns 0x4dcd49
adc edx, 0
mov eax, dword [0x5219d4]
sub eax, dword [0x5219e4]
sub eax, edx
mov edx, dword [ebp + 0x14]
mov ecx, edx
shl edx, 5
add edx, ecx
mov ecx, dword [ebp + 0x10]
sub eax, dword [ecx + edx*4 + 0x70]
add eax, 0xfffffffd
mov dword [0x521904], eax
jmp 0x4dcdda
mov eax, dword [0x5219e8]
sub eax, dword [0x5219e0]
mov edx, dword [0x5219d8]
sub edx, dword [0x5219d0]
sub eax, edx
sar eax, 1
jns 0x4dcd91
adc eax, 0
mov edx, dword [0x5219d0]
sub edx, dword [0x5219e0]
sub edx, eax
mov eax, dword [ebp + 0x14]
mov ecx, eax
shl eax, 5
add eax, ecx
mov ecx, dword [ebp + 0x10]
sub edx, dword [ecx + eax*4 + 0x6c]
dec edx
mov dword [0x521900], edx
mov eax, dword [ebp + 0x14]
mov edx, eax
shl eax, 5
add eax, edx
mov edx, dword [ebp + 0x10]
mov ecx, dword [0x5219d4]
sub ecx, dword [0x5219e4]
sub ecx, dword [edx + eax*4 + 0x70]
mov dword [0x521904], ecx
xor eax, eax
mov dword [esi], eax
jmp 0x4dce56
push 0x5219d0
mov eax, dword [esi]
mov edx, dword [edi + eax*4]
push edx
call sub.USER32.dll_GetWindowRect
mov ecx, dword [0x5219d4]
mov dword [0x521a14], ecx
push 0x521a10
push ebx
call sub.USER32.dll_ScreenToClient
mov eax, dword [0x5219d0]
sub eax, dword [0x521900]
mov dword [0x521a10], eax
mov edx, dword [0x5219d4]
sub edx, dword [0x521904]
mov dword [0x521a14], edx
push 0x521a10
push ebx
call sub.USER32.dll_ScreenToClient
push 0x15
push 0
push 0
mov ecx, dword [0x521a14]
push ecx
mov eax, dword [0x521a10]
push eax
push 0
mov edx, dword [esi]
mov ecx, dword [edi + edx*4]
push ecx
call sub.USER32.dll_SetWindowPos
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [0x5218fc]
jl 0x4dcde0
xor edx, edx
mov dword [esi], edx
jmp 0x4dcf4c
mov eax, dword [0x4f17d8]
test eax, eax
je 0x4dcee8
cmp ebx, eax
jne 0x4dcee8
push 0x71
push ebx
call sub.USER32.dll_GetDlgItem
mov edx, dword [esi]
cmp eax, dword [edi + edx*4]
je 0x4dcf4a
push 0x83
push ebx
call sub.USER32.dll_GetDlgItem
mov ecx, dword [esi]
cmp eax, dword [edi + ecx*4]
je 0x4dcf4a
cmp dword [0x4f9180], 0
jne 0x4dcf3d
push 0xbc
push ebx
call sub.USER32.dll_GetDlgItem
mov edx, dword [esi]
cmp eax, dword [edi + edx*4]
je 0x4dcf4a
push 0xbd
push ebx
call sub.USER32.dll_GetDlgItem
mov ecx, dword [esi]
cmp eax, dword [edi + ecx*4]
je 0x4dcf4a
push 0xbe
push ebx
call sub.USER32.dll_GetDlgItem
mov edx, dword [esi]
cmp eax, dword [edi + edx*4]
je 0x4dcf4a
jmp 0x4dcf3d
mov eax, dword [0x4fab68]
test eax, eax
je 0x4dcf3d
cmp ebx, eax
jne 0x4dcf3d
push 0x1b8
push ebx
call sub.USER32.dll_GetDlgItem
mov ecx, dword [esi]
cmp eax, dword [edi + ecx*4]
je 0x4dcf4a
push 0x160
push ebx
call sub.USER32.dll_GetDlgItem
mov edx, dword [esi]
cmp eax, dword [edi + edx*4]
jne 0x4dcf22
cmp dword [0x515ee8], 0
je 0x4dcf4a
push 0x161
push ebx
call sub.USER32.dll_GetDlgItem
mov ecx, dword [esi]
cmp eax, dword [edi + ecx*4]
jne 0x4dcf3d
cmp dword [0x515ee8], 0
je 0x4dcf4a
push 4
mov eax, dword [esi]
mov eax, dword [edi + eax*4]
push eax
call sub.USER32.dll_ShowWindow
inc dword [esi]
mov edx, dword [esi]
cmp edx, dword [0x5218fc]
jl 0x4dce69
mov dword [0x4fce7c], ebx
push ebx
call sub.USER32.dll_UpdateWindow
jmp 0x4dd1e2
mov ecx, dword [ebp + 0x14]
mov eax, ecx
shl ecx, 5
add ecx, eax
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + ecx*4 + 0x68]
mov dword [0x521a04], ecx
mov eax, dword [0x521a04]
add eax, 0x64
mov dword [0x521a08], eax
cmp dword [0x4fce7c], 0
je 0x4dcfe2
cmp ebx, dword [0x4fce7c]
je 0x4dcfe2
xor edx, edx
mov dword [0x5218fc], edx
mov ecx, dword [0x521a04]
mov dword [esi], ecx
jmp 0x4dcfd8
mov eax, dword [esi]
push eax
push ebx
call sub.USER32.dll_GetDlgItem
mov edx, dword [0x5218fc]
mov dword [edi + edx*4], eax
mov ecx, dword [0x5218fc]
cmp dword [edi + ecx*4], 0
je 0x4dcfe2
inc dword [0x5218fc]
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [0x521a08]
jl 0x4dcfb2
xor edx, edx
mov dword [esi], edx
jmp 0x4dd045
mov ecx, dword [esi]
mov eax, dword [edi + ecx*4]
test eax, eax
je 0x4dd04f
push 0
mov edx, dword [esi]
push eax
call sub.USER32.dll_ShowWindow
push 0x521a1c
mov ecx, dword [esi]
mov eax, dword [edi + ecx*4]
push eax
call sub.USER32.dll_GetWindowRect
push 2
push 0x521a1c
push ebx
push 0
call sub.USER32.dll_MapWindowPoints
sub dword [0x521a20], 2
add dword [0x521a28], 2
sub dword [0x521a1c], 2
add dword [0x521a24], 2
push 0
push 0x521a1c
push ebx
call sub.USER32.dll_InvalidateRect
inc dword [esi]
mov edx, dword [esi]
cmp edx, dword [0x5218fc]
jl 0x4dcfe8
xor ecx, ecx
mov dword [esi], ecx
jmp 0x4dd1c8
mov eax, dword [esi]
cmp dword [edi + eax*4], 0
je 0x4dd1d6
mov edx, dword [esi]
mov ecx, dword [edi + edx*4]
push ecx
call sub.USER32.dll_GetDlgCtrlID
mov dword [0x521a18], eax
mov eax, dword [0x4f17d8]
test eax, eax
je 0x4dd098
cmp ebx, eax
jne 0x4dd098
mov edx, dword [0x521a18]
sub edx, 0xb3
je 0x4dd1c6
jmp 0x4dd15a
mov eax, dword [0x4fab68]
test eax, eax
je 0x4dd15a
cmp ebx, eax
jne 0x4dd15a
mov edx, dword [0x521a18]
cmp edx, 0x177
jg 0x4dd0fd
je 0x4dd1c6
cmp edx, 0x12b
jg 0x4dd0e6
je 0x4dd1c6
sub edx, 0x102
je 0x4dd1c6
sub edx, 0x27
je 0x4dd1c6
jmp 0x4dd15a
sub edx, 0x141
je 0x4dd1c6
sub edx, 0x1e
je 0x4dd1c6
jmp 0x4dd15a
sub edx, 0x1b7
je 0x4dd1c6
dec edx
je 0x4dd120
sub edx, 0x54
je 0x4dd1c6
sub edx, 2
je 0x4dd1c6
jmp 0x4dd15a
push 0x521a2c
push 0x1b8
push ebx
call sub.USER32.dll_GetDlgItem
push eax
call sub.USER32.dll_GetWindowRect
push 2
push 0x521a2c
push ebx
push 0
call sub.USER32.dll_MapWindowPoints
push 1
push 0x521a2c
push ebx
call sub.USER32.dll_InvalidateRect
push ebx
call sub.USER32.dll_UpdateWindow
jmp 0x4dd1c6
push 0
push 0
push 0xc1
mov ecx, dword [esi]
mov eax, dword [edi + ecx*4]
push eax
call sub.USER32.dll_SendMessageA
test eax, eax
jg 0x4dd1c6
push 0x521ac4
push 0x3e7
push 0xd
mov edx, dword [esi]
mov ecx, dword [edi + edx*4]
push ecx
call sub.USER32.dll_SendMessageA
test eax, eax
jle 0x4dd1c6
push 0x26
push 0x521ac4
call fcn.00401278
add esp, 8
mov dword [0x521a0c], eax
cmp dword [0x521a0c], 0
je 0x4dd1c6
mov eax, dword [0x521a0c]
mov byte [eax], 1
push 0x521ac4
push 0
push 0xc
mov edx, dword [esi]
mov ecx, dword [edi + edx*4]
push ecx
call sub.USER32.dll_SendMessageA
inc dword [esi]
mov eax, dword [esi]
cmp eax, dword [0x5218fc]
jl 0x4dd058
mov dword [0x4fce7c], ebx
push ebx
call sub.USER32.dll_UpdateWindow
pop edi
pop esi
pop ebx
pop ebp
ret 0x10