Function at 0x432e78
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffcec
mov dword [esp + 4], edx
mov dword [esp], eax
mov byte [esp + 8], 0
cmp dword [esp], 0
jne 0x433024
mov edx, dword [0x48d370]
lea eax, [esp + 0x10]
call fcn.00405c48
mov edx, dword [0x48d550]
lea eax, [esp + 0x110]
call fcn.00405c48
mov edx, dword [0x48d944]
mov eax, dword [0x48d370]
call fcn.00405c48
mov edx, dword [0x48d944]
lea eax, [esp + 0x210]
call fcn.00405c48
mov eax, dword [0x48d944]
cmp byte [eax], 0
jne 0x432f5d
push 0xff
mov eax, dword [0x48da44]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, dword [0x48da44]
mov dl, 0x22
call fcn.00405cf8
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
xor edx, edx
call fcn.0040dca4
test al, al
je 0x432f43
mov eax, dword [0x48da44]
cmp byte [eax], 0
je 0x432f43
push 0x433110
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll_lstrcatA
mov edx, dword [0x48da44]
mov eax, dword [0x48d370]
call fcn.00405c48
mov eax, dword [0x48d370]
call fcn.00412904
mov edx, dword [0x48da44]
mov eax, dword [0x48d370]
call fcn.00405c48
mov al, 1
call fcn.0042aef4
mov ebx, eax
test bl, bl
je 0x432fe8
push 0x433118
mov eax, dword [0x48d370]
call fcn.0040faf0
push eax
call sub.kernel32.dll_lstrcmpiA
test eax, eax
je 0x432f93
push 0x433110
mov eax, dword [0x48d370]
push eax
call sub.kernel32.dll_lstrcatA
mov edx, dword [0x48d370]
mov eax, dword [0x48d944]
call fcn.00405c48
lea eax, [esp + 0x210]
push eax
mov eax, dword [0x48d944]
push eax
call sub.kernel32.dll_lstrcmpiA
test eax, eax
je 0x432fd8
mov eax, dword [0x48d370]
call fcn.00412584
test al, al
je 0x432fd8
mov eax, dword [0x48d370]
xor edx, edx
call fcn.00411180
test al, al
je 0x432f5d
mov edx, dword [0x48d370]
mov eax, dword [0x48da44]
call fcn.00405c48
lea edx, [esp + 0x10]
mov eax, dword [0x48d370]
call fcn.00405c48
lea edx, [esp + 0x110]
mov eax, dword [0x48d550]
call fcn.00405c48
push 0
push 0
push 0xb1
mov eax, dword [esp + 0x10]
push eax
call sub.user32.dll_SendMessageA
test bl, bl
je 0x4330fe
jmp 0x433031
mov eax, dword [0x48da44]
mov edx, dword [esp]
call fcn.00405c48
push 0
mov eax, dword [0x48da44]
push eax
call sub.kernel32.dll__lcreat
mov edi, eax
cmp edi, 0xffffffff
jne 0x433059
mov edx, dword [0x48da44]
mov ax, 1
call fcn.0040de10
jmp 0x4330fe
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
push 4
push 0x1000
lea ebp, [ebx + 1]
push ebp
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
test esi, esi
jne 0x4330a4
mov dword [esp + 0x310], ebp
fild dword [esp + 0x310]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.00412abc
mov edx, eax
mov ax, 0xb
call fcn.0040de10
jmp 0x4330fe
push ebp
push esi
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_GetWindowTextA
push ebx
push esi
push edi
call sub.kernel32.dll__hwrite
mov edx, dword [0x48d498]
mov dword [edx], eax
push edi
call sub.kernel32.dll_CloseHandle_1
cmp dword [esp], 0
jne 0x4330d3
mov byte [0x49bae2], 1
push 0x4000
push ebp
push esi
call sub.kernel32.dll_VirtualFree_1
mov eax, dword [0x48d498]
cmp ebx, dword [eax]
jle 0x4330f9
mov edx, dword [0x48d944]
mov ax, 3
call fcn.0040de10
jmp 0x4330fe
mov byte [esp + 8], 1
mov al, byte [esp + 8]
add esp, 0x314
pop ebp
pop edi
pop esi
pop ebx
ret