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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffb7c
push ebx
push esi
push edi
mov dword [ebp - 0x64], edx
mov esi, eax
mov eax, 0x498728
call fcn.0048dd88
cmp dword [ebp - 0x64], 0
jne 0x403a79
mov edx, dword [ebp - 0x60]
mov dword fs:[0], edx
mov eax, edx
jmp 0x403e42
push pe_nt_image_headers32
lea ecx, [ebp - 0x284]
push ecx
push dword [0x4b989c]
call fcn.004979aa
mov eax, 0x214
call fcn.004116e8
call fcn.004779f4
call fcn.00476f7c
or word [esi + 0x46dc], 0x40
mov eax, dword [esi + 0x6e0c]
xor edx, edx
push edx
add eax, 7
push eax
mov eax, esi
xor edx, edx
call fcn.00409808
xor ecx, ecx
mov edx, 0x73
mov eax, esi
call fcn.00401af8
push 0
push 0
mov edx, 2
mov eax, esi
call fcn.00409808
mov eax, esi
call fcn.004098c0
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x70], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov eax, dword [ebp - 0x64]
call fcn.00403e4c
mov dword [ebp - 0x64], eax
lea ebx, [esi + 0x5418]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea eax, [ebx + 0xc30]
mov edx, 0x14
call fcn.004017a8
mov word [ebx + 8], 0x8000
xor ecx, ecx
mov eax, esi
mov dword [ebx + 0x24], ecx
xor ecx, ecx
or word [esi + 0x5420], 0x4000
push 0
push 0x4981e7
push 0
xor edx, edx
call fcn.004035dc
push 0
push 0
xor edx, edx
mov eax, esi
call fcn.00409808
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x80], ecx
lea eax, [ebp - 0xc]
mov word [ebp - 0x50], 8
mov edx, dword [ebp - 0x64]
shl edx, 9
call fcn.00401a54
inc dword [ebp - 0x44]
mov word [ebp - 0x50], 0x14
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
call fcn.0048d768
mov dword [ebp - 0x84], 0xfffffff
add esp, 0xc
jmp 0x403ce5
call fcn.0040f350
cmp dword [ebp - 0x68], 0
jne 0x403bbc
cmp dword [ebp - 0x6c], 0x200
jae 0x403bee
jmp 0x403bbe
jge 0x403bee
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x1484]
mov edi, eax
mov eax, pe_nt_image_headers32
sub eax, edi
add edx, edi
push eax
push 0
push edx
call fcn.0048d768
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
add esp, 0xc
jmp 0x403bfe
sub dword [ebp - 0x6c], 0x200
sbb dword [ebp - 0x68], 0
mov edi, pe_nt_image_headers32
lea edx, [ebp - 0x1484]
mov ecx, edi
mov eax, esi
call fcn.004096a4
mov edx, dword [ebp - 0x80]
shl edx, 9
add edx, dword [ebp - 0xc]
mov word [ebp - 0x50], 0x14
xor eax, eax
mov cl, byte [ebp + eax - 0x1484]
xor byte [edx + eax], cl
inc eax
cmp eax, 0x200
jl 0x403c1e
lea edx, [ebp - 0x1484]
mov ecx, pe_nt_image_headers32
or eax, 0xffffffff
call fcn.0040fe60
mov word [ebp - 0x50], 0x14
mov byte [ebp + ebx - 0x1284], al
inc ebx
shr eax, 8
mov byte [ebp + ebx - 0x1284], al
inc ebx
cmp ebx, 0x1000
jne 0x403ccd
mov word [ebp - 0x50], 0x20
lea eax, [ebp - 0x3c]
mov edx, esi
call fcn.0040e520
inc dword [ebp - 0x44]
mov edx, 2
mov word [ebp - 0x50], 0x2c
push 0
push 0
mov eax, esi
call fcn.00409808
lea edx, [ebp - 0x1284]
mov ecx, ebx
mov eax, esi
call fcn.004094e4
lea edx, [ebp - 0x1284]
mov ecx, ebx
mov eax, dword [ebp - 0x84]
call fcn.0040fe60
mov dword [ebp - 0x84], eax
xor ebx, ebx
dec dword [ebp - 0x44]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0040e58c
mov word [ebp - 0x50], 0x14
add dword [ebp - 0x7c], 1
adc dword [ebp - 0x78], 0
inc dword [ebp - 0x80]
mov ecx, dword [ebp - 0x80]
cmp ecx, dword [ebp - 0x64]
jb 0x403ce5
xor eax, eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x68], 0
jne 0x403cf7
cmp dword [ebp - 0x6c], 0
ja 0x403ba6
jmp 0x403cfd
jg 0x403ba6
push 0
push 0
mov edx, 2
mov eax, esi
call fcn.00409808
lea edx, [ebp - 0x1284]
mov ecx, ebx
mov eax, esi
call fcn.004094e4
lea edx, [ebp - 0x1284]
mov ecx, ebx
mov eax, dword [ebp - 0x84]
call fcn.0040fe60
mov dword [ebp - 0x84], eax
mov eax, esi
mov ebx, dword [ebp - 0x64]
mov edx, dword [ebp - 0xc]
shl ebx, 9
mov ecx, ebx
call fcn.004094e4
mov ecx, ebx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x84]
call fcn.0040fe60
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
not eax
mov dword [esi + 0x5430], eax
mov eax, esi
push dword [ebp - 0x70]
push dword [ebp - 0x74]
xor edx, edx
call fcn.00409808
mov word [ebp - 0x50], 0x38
lea eax, [ebp - 0x2c]
xor edx, edx
call fcn.00410e8c
add dword [ebp - 0x44], 2
mov word [ebp - 0x50], 0x14
mov edx, 0x4981ea
lea eax, [ebp - 0x2c]
mov ecx, 8
call fcn.004110e8
lea eax, [ebp - 0x2c]
mov ebx, dword [ebp - 0x64]
mov edx, ebx
call fcn.00411070
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
lea eax, [ebp - 0x2c]
call fcn.004110c0
lea edx, [esi + 0x6048]
lea eax, [ebp - 0x2c]
call fcn.004111b0
push 0
push 0x4981e7
push 0
push 0
push 2
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x78]
call fcn.00491e60
shl ebx, 9
mov ecx, eax
add ecx, ebx
xor edx, edx
mov eax, esi
call fcn.004035dc
push 0
push 0
mov edx, 2
mov eax, esi
call fcn.00409808
lea eax, [ebp - 0x284]
call fcn.004779f4
call fcn.00476f7c
sub dword [ebp - 0x44], 2
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00410f0c
dec dword [ebp - 0x44]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00401acc
mov ecx, dword [ebp - 0x60]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret