Function at 0x42f304
Capabilities:
Encode data using xor
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffb14
mov eax, 0x4611e0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
call fcn.00455438
lea edx, [ebp - 0x48]
push edx
call fcn.004262c0
lea ecx, [ebp - 0x50]
push ecx
call fcn.004262c0
cmp dword [0x4723b0], 0
jne 0x42f34d
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
jmp 0x42f6b8
push 0x200
lea edx, [ebp - 0x14ec]
push edx
mov ecx, dword [0x4656e4]
push ecx
call sub.USER32.dll_GetWindowTextA
push 0x34d
call fcn.00408028
push eax
call fcn.00413da8
call fcn.004131fc
or word [esi + 0x440], 0x40
push 0
add esp, 0xfffffff8
mov eax, dword [esi + 0xd14]
add eax, 7
push eax
lea edx, [esp + 4]
push edx
call fcn.004262cc
push esi
call fcn.00426df8
push 0x73
push esi
call fcn.004287d8
push 2
add esp, 0xfffffff8
push 0
lea ecx, [esp + 4]
push ecx
call fcn.004262cc
push esi
call fcn.00426df8
add esp, 0xfffffff8
add esp, 0xfffffff8
push esi
lea eax, [esp + 4]
push eax
call fcn.00426e58
lea edx, [ebp - 0x48]
push edx
lea ecx, [esp + 0xc]
push ecx
call fcn.004262f8
lea eax, [ebp - 0x50]
push eax
lea edx, [ebp - 0x5c]
push edx
call fcn.004262f8
add esp, 0xfffffff8
mov ecx, dword [ebp - 0x48]
mov dword [esp], ecx
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.0042f6c4
mov byte [esi + 0x47a], 0x78
mov word [esi + 0x47c], 0xc000
mov word [esi + 0x47e], 0x1a
mov edx, dword [0x4723b0]
shl edx, 9
xor eax, eax
mov dword [esi + 0x480], edx
lea edx, [esi + 0x48c]
mov byte [esi + 0x484], 0x14
mov cx, word [0x4723b0]
mov word [esi + 0x486], cx
mov dword [esi + 0x488], eax
push 8
push 0x461ed5
push edx
call fcn.00452dbc
add esp, 0xc
push 0x78
push esi
call fcn.004287d8
push 0
add esp, 0xfffffff8
push 0
lea ecx, [esp + 4]
push ecx
call fcn.004262cc
push esi
call fcn.00426df8
xor eax, eax
mov dword [ebp - 0x54], eax
mov edi, eax
push 0x1000
push 0
lea eax, [ebp - 0x106c]
push eax
call fcn.00452e2c
add esp, 0xc
jmp 0x42f602
call fcn.00426030
add esp, 0xfffffff8
push 0x200
lea edx, [esp + 4]
push edx
call fcn.004262cc
add esp, 0xfffffff8
mov ecx, dword [ebp - 0x48]
mov dword [esp], ecx
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.004267f4
test al, al
je 0x42f511
lea edx, [ebp - 0x48]
push edx
call fcn.0041844c
mov ebx, eax
mov eax, 0x200
sub eax, ebx
lea edx, [ebp - 0x126c]
push eax
add edx, ebx
push 0
push edx
call fcn.00452e2c
add esp, 0xc
add esp, 0xfffffff8
push 0
lea ecx, [esp + 4]
push ecx
call fcn.004262cc
lea eax, [ebp - 0x48]
push eax
lea edx, [ebp - 0x64]
push edx
call fcn.004262f8
jmp 0x42f524
mov ebx, 0x200
push 0x200
lea eax, [ebp - 0x48]
push eax
call fcn.00440042
push ebx
lea edx, [ebp - 0x126c]
push edx
push esi
call fcn.00426db0
xor ecx, ecx
lea ebx, [ebp - 0x106c]
mov dword [ebp - 0x68], ecx
lea eax, [ebp - 0x126c]
mov dl, byte [eax]
mov ecx, edi
shl ecx, 9
xor byte [ebx + ecx], dl
inc dword [ebp - 0x68]
inc ebx
inc eax
cmp dword [ebp - 0x68], 0x200
jl 0x42f543
push 0x200
lea eax, [ebp - 0x126c]
push eax
push 0xffffffffffffffff
call fcn.00433fa0
mov edx, dword [ebp - 0x54]
mov word [ebp + edx*2 - 0x12ec], ax
inc dword [ebp - 0x54]
cmp dword [ebp - 0x54], 0x40
jne 0x42f5ea
mov word [ebp - 0x1c], 8
push esi
lea ecx, [ebp - 0xc]
push ecx
call fcn.00435d74
push 2
add esp, 0xfffffff8
push 0
lea eax, [esp + 4]
push eax
call fcn.004262cc
push esi
call fcn.00426df8
xor edx, edx
lea ebx, [ebp - 0x12ec]
mov dword [ebp - 0x6c], edx
mov al, byte [ebx]
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], al
movzx edx, word [ebx]
sar edx, 8
mov byte [ebp - 0x3f], dl
push 2
push ecx
push esi
call fcn.00426d68
inc dword [ebp - 0x6c]
add ebx, 2
cmp dword [ebp - 0x6c], 0x40
jl 0x42f5b4
xor eax, eax
lea edx, [ebp - 0xc]
mov dword [ebp - 0x54], eax
push 2
push edx
call fcn.00435dbc
inc dword [esi + 0x488]
add dword [esi + 0x480], 2
inc edi
cmp edi, dword [0x4723b0]
jb 0x42f602
xor edi, edi
add esp, 0xfffffff8
push 0
lea eax, [esp + 4]
push eax
call fcn.004262cc
add esp, 0xfffffff8
mov edx, dword [ebp - 0x48]
mov dword [esp], edx
mov ecx, dword [ebp - 0x44]
mov dword [esp + 4], ecx
call fcn.004267cc
test al, al
jne 0x42f49d
push 0
add esp, 0xfffffff8
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
mov edx, dword [ebp - 0x4c]
mov dword [esp + 4], edx
push esi
call fcn.00426df8
push 0x78
push esi
call fcn.004287d8
push 2
add esp, 0xfffffff8
push 0
lea ecx, [esp + 4]
push ecx
call fcn.004262cc
push esi
call fcn.00426df8
mov eax, dword [ebp - 0x54]
lea edx, [ebp - 0x12ec]
add eax, eax
push eax
push edx
push esi
call fcn.00426d68
xor edi, edi
jmp 0x42f696
push 0x200
mov eax, edi
shl eax, 9
lea edx, [ebp - 0x106c]
add eax, edx
push eax
push esi
call fcn.00426d68
inc edi
cmp edi, dword [0x4723b0]
jb 0x42f67c
lea ecx, [ebp - 0x14ec]
push ecx
call fcn.00413da8
call fcn.004131fc
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4