Function at 0x4b0380
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4b07d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, edx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp word [ebp - 0x10], 0
jne 0x4b07b0
mov esi, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 0x50
call fcn.00405128
mov eax, dword [ebp - 4]
call fcn.00404d9c
push eax
mov eax, dword [ebp - 4]
call fcn.00404f9c
push eax
push esi
call sub.user32.dll_GetClassNameA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405128
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x3c
call fcn.0040359c
test esi, esi
je 0x4b0432
push 0xfffffffffffffff0
push esi
call sub.user32.dll_GetWindowLongA
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x2c], eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov edx, 0x4b07ec
call fcn.00404ee8
je 0x4b0454
mov eax, dword [ebp - 4]
mov edx, 0x4b07fc
call fcn.00404ee8
jne 0x4b07b0
test esi, esi
je 0x4b0484
cmp word [ebx + 0x5b2], 0
je 0x4b0484
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebx + 0x588]
lea edx, [eax + 8]
push edx
add eax, 4
push eax
mov ecx, esi
mov edx, ebx
mov eax, dword [ebx + 0x5b4]
call dword [ebx + 0x5b0]
mov eax, dword [ebx + 0x588]
cmp byte [eax + 4], 0
je 0x4b049c
push 0
push 0
push 0x10
push esi
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x588]
cmp byte [eax + 6], 0
je 0x4b04c8
mov eax, dword [0x4e59f8]
mov eax, dword [eax]
mov eax, dword [eax + 0x98]
call fcn.0042dcf0
push eax
push 0
push 0x80
push esi
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x588]
cmp byte [eax + 5], 0
je 0x4b0565
push esi
call sub.user32.dll_GetWindowTextLengthA
mov edi, eax
lea edx, [edi + 1]
lea eax, [ebp - 4]
call fcn.00405128
inc edi
push edi
mov eax, dword [ebp - 4]
call fcn.00404f9c
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov al, byte [0x4b0820]
push eax
lea eax, [ebp - 0x54]
push eax
xor ecx, ecx
mov edx, 0x4b082c
mov eax, dword [ebp - 4]
call fcn.0040e3ec
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 4]
call fcn.00404b74
mov al, byte [0x4b0820]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
mov edx, dword [ebx + 0x588]
mov edx, dword [edx + 8]
call fcn.00404d64
mov ecx, dword [ebp - 0x5c]
mov edx, 0x4b0840
mov eax, dword [ebp - 4]
call fcn.0040e3ec
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 4]
call fcn.00404b74
mov eax, dword [ebp - 4]
call fcn.00404f9c
push eax
push esi
call sub.user32.dll_SetWindowTextA
mov eax, dword [ebx + 0x580]
cmp byte [eax + 6], 0
je 0x4b05fc
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.00409054
mov edx, dword [ebp - 0x60]
mov eax, 0x4b085c
call fcn.0040dbf8
test eax, eax
je 0x4b05cc
push 0
push 0
push 0x201
push esi
call sub.user32.dll_PostMessageA
push 0
push 0
push 0x202
push esi
call sub.user32.dll_PostMessageA
push 0
push 0
push 0x10
push esi
call sub.user32.dll_SendMessageA
mov eax, dword [0x4e59f8]
mov eax, dword [eax]
call fcn.00476a1c
jmp 0x4b07b0
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.00409054
mov edx, dword [ebp - 0x64]
mov eax, 0x4b086c
call fcn.0040dbf8
test eax, eax
jne 0x4b05f1
cmp dword [ebp - 0x28], 0x410101
jne 0x4b05fc
push esi
call sub.user32.dll_DestroyWindow
jmp 0x4b07b0
mov eax, dword [ebx + 0x5dc]
cmp byte [eax + 4], 0
je 0x4b07b0
mov byte [0x4e6d69], 1
cmp byte [0x4e6d68], 0
je 0x4b07b0
mov byte [0x4e6d68], 0
cmp byte [0x4e6d70], 0
je 0x4b064d
push 0
push 0
push 0
push 0
push 0xfffffda8
push 0
push 0
call sub.user32.dll_SetWindowPos
mov byte [0x4e6d70], 0
mov eax, dword [ebx + 0x5dc]
cmp byte [eax + 0x18], 0
jne 0x4b066f
push 0
push 0
push 0xf5
push 0x420
push esi
call sub.user32.dll_SendDlgItemMessageA
jmp 0x4b0683
push 0
push 0
push 0xf5
push 0x421
push esi
call sub.user32.dll_SendDlgItemMessageA
mov eax, dword [ebx + 0x5dc]
mov eax, dword [eax + 0xc]
call fcn.00404f9c
push eax
push 0x1fd3
push esi
call sub.user32.dll_SetDlgItemTextA
mov eax, dword [ebx + 0x5dc]
mov eax, dword [eax + 0x10]
call fcn.00404f9c
push eax
push 0x1fd5
push esi
call sub.user32.dll_SetDlgItemTextA
mov eax, dword [ebx + 0x5dc]
mov eax, dword [eax + 0x14]
push dword [eax + 0xc]
push dword [eax + 8]
lea edx, [ebp - 0x68]
mov eax, ebx
call fcn.004b14a8
mov eax, dword [ebp - 0x68]
call fcn.00404f9c
push eax
push 0x483
push esi
call sub.user32.dll_SetDlgItemTextA
mov eax, dword [ebx + 0x5dc]
mov eax, dword [eax + 0x14]
push dword [eax + 0x1c]
push dword [eax + 0x18]
lea edx, [ebp - 0x6c]
mov eax, ebx
call fcn.004b14a8
mov eax, dword [ebp - 0x6c]
call fcn.00404f9c
push eax
push 0x484
push esi
call sub.user32.dll_SetDlgItemTextA
mov eax, dword [ebx + 0x5dc]
mov eax, dword [eax + 0x14]
push dword [eax + 0x14]
push dword [eax + 0x10]
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004b14a8
mov eax, dword [ebp - 0x70]
call fcn.00404f9c
push eax
push 0x485
push esi
call sub.user32.dll_SetDlgItemTextA
mov eax, dword [ebx + 0x5dc]
mov eax, dword [eax + 0x14]
push dword [eax + 0x24]
push dword [eax + 0x20]
lea edx, [ebp - 0x74]
mov eax, ebx
call fcn.004b14a8
mov eax, dword [ebp - 0x74]
call fcn.00404f9c
push eax
push 0x486
push esi
call sub.user32.dll_SetDlgItemTextA
mov eax, dword [0x4e5cc0]
cmp dword [eax], 2
jne 0x4b079f
mov eax, dword [0x4e5724]
cmp dword [eax], 4
jle 0x4b079f
push 0
push 0
push 0xf5
push 0
push 0x4b0874
push 0
push esi
call sub.user32.dll_FindWindowExA
push eax
call sub.user32.dll_PostMessageA
jmp 0x4b07b0
push 0
push 0
push 0xf5
push 1
push esi
call sub.user32.dll_SendDlgItemMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b07da
lea eax, [ebp - 0x74]
mov edx, 9
call fcn.00404b00
lea eax, [ebp - 4]
call fcn.00404adc
ret