Function at 0x430660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47275a
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x48f240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x7c], esi
mov edi, dword [ebp + 8]
lea ecx, [esi + 0xe4]
mov dword [ebp - 0x74], 0
lea eax, [edi + 0x48]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041c7f0
mov edx, dword [ebp - 0x2c]
lea ecx, [edi + 0x48]
cmp byte [edx + 0xd], 0
jne 0x4306e6
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 0x14]
jl 0x4306e6
jg 0x4306cc
mov eax, dword [ecx]
cmp eax, dword [edx + 0x10]
jb 0x4306e6
mov edx, dword [esi + 0xe4]
lea eax, [esi + 0xe4]
mov dword [ebp - 0x74], edx
cmp dword [ebp - 0x2c], edx
jne 0x430aec
jmp 0x4306f5
mov edx, dword [esi + 0xe4]
lea eax, [esi + 0xe4]
mov dword [ebp - 0x74], edx
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.0041c7f0
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [ebp - 0x1c], xmm0
cmp byte [ecx + 0xd], 0
jne 0x430725
mov eax, dword [edi + 0x4c]
cmp eax, dword [ecx + 0x14]
jg 0x43078c
jl 0x430725
mov eax, dword [edi + 0x48]
cmp eax, dword [ecx + 0x10]
jae 0x43078c
cmp dword [esi + 0xe8], 0xaaaaaaa
lea eax, [esi + 0xe4]
je 0x430b09
mov dword [ebp - 0x30], eax
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
call fcn.00462b6f
mov ecx, dword [edi + 0x48]
add esp, 4
mov edx, dword [edi + 0x4c]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x74]
mov dword [eax + 0x14], edx
push eax
push dword [ebp - 0x18]
mov dword [eax], ecx
push dword [ebp - 0x1c]
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
lea ecx, [esi + 0xe4]
mov word [eax + 0xc], 0
call fcn.0040e0a0
push 0
push dword [edi + 0x68]
lea eax, [ebp - 0x98]
push eax
call fcn.00427f20
add esp, 0xc
cmp byte [ebp - 0x80], 0
mov dword [ebp - 4], 1
je 0x430ae1
push 0xfde9
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043beb0
add esp, 0xc
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
mov edx, 0x811c9dc5
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
cmp dword [ebp - 0x18], ecx
jbe 0x4307fb
mov esi, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x4307e6
mov esi, dword [ebp - 0x7c]
push edx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0xbc]
call fcn.0041c6b0
mov eax, dword [eax + 4]
test eax, eax
jne 0x43081c
mov eax, dword [esi + 0xc0]
cmp eax, dword [esi + 0xc0]
jne 0x430877
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x430860
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x28]
mov edx, eax
cmp ecx, 0x1000
jb 0x430856
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x74], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x430b0e
mov eax, dword [ebp - 0x74]
push ecx
push eax
call fcn.00462b9f
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x430ae1
lea eax, [ebp - 0x28]
lea ecx, [esi + 0xbc]
push eax
call fcn.00424bd0
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 8
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.hookcode]
movq qword [ecx], xmm0
mov byte [ecx + 8], 0
mov ecx, eax
call fcn.0040d340
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
push ecx
movups xmmword [ebp - 0x58], xmm0
push eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x74], 0x10
call fcn.0041e080
mov eax, 0xc
mov dword [ebp - 4], 2
add esp, 8
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 4
lea ecx, [esi + 0xbc]
push eax
call fcn.00424bd0
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 4
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.ctx1]
mov dword [edx], ecx
mov ecx, eax
mov byte [edx + 4], 0
call fcn.0040d340
mov ecx, eax
call fcn.0041b400
mov ecx, dword [ebp - 0x7c]
mov esi, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], edx
add ecx, 0xbc
push eax
call fcn.00424bd0
sub esp, 0x18
xorps xmm0, xmm0
mov edx, esp
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 4
mov dword [edx + 0x14], 0xf
mov ecx, dword [str.ctx2]
mov dword [edx], ecx
mov ecx, eax
mov byte [edx + 4], 0
call fcn.0040d340
mov ecx, eax
call fcn.0041b400
xor esi, dword [edi + 0x78]
movzx ecx, si
or ecx, 0
mov esi, dword [ebp - 0x58]
jne 0x430a07
cmp eax, dword [edi + 0x80]
jne 0x430a07
cmp edx, dword [edi + 0x84]
jne 0x430a07
lea eax, [edi + 0x294]
push eax
lea ecx, [ebp - 0x40]
call fcn.004154d0
push 0xfde9
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x74], 0xd
push eax
call fcn.0043beb0
mov ecx, eax
add esp, 0xc
mov eax, 0xf
mov dword [ebp - 0x74], eax
mov edx, dword [ecx + 0x10]
cmp dword [ecx + 0x14], eax
jbe 0x4309e7
mov ecx, dword [ecx]
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
push edx
push ecx
push dword [ebp - 0x48]
cmova eax, esi
push eax
call fcn.0041dd40
add esp, 0x10
mov byte [ebp - 0x75], 1
test al, al
jne 0x430a0b
mov byte [ebp - 0x75], 0
mov eax, dword [ebp - 0x74]
test al, 2
je 0x430a23
and eax, 0xfffffffd
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x74], eax
call fcn.0040c920
mov eax, dword [ebp - 0x74]
mov dword [ebp - 4], 4
test al, 1
je 0x430a36
lea ecx, [ebp - 0x40]
call fcn.0040c970
cmp byte [ebp - 0x75], 0
je 0x430a82
mov eax, dword [ebp - 0x7c]
xor esi, esi
mov ecx, dword [eax + 0x78]
call fcn.00416a40
test eax, eax
jle 0x430a7f
nop dword [eax]
mov eax, dword [ebp - 0x7c]
push esi
mov ecx, dword [eax + 0x78]
call fcn.00416d50
mov ecx, dword [ebp - 0x7c]
cdq
mov ecx, dword [ecx + 0x78]
cmp eax, dword [edi + 0x48]
jne 0x430a6d
cmp edx, dword [edi + 0x4c]
je 0x430a79
inc esi
call fcn.00416a40
cmp esi, eax
jl 0x430a50
jmp 0x430a7f
push esi
call fcn.00416ef0
mov esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x44]
cmp eax, 0xf
jbe 0x430ab1
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x430aa7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430b0e
push ecx
push esi
call fcn.00462b9f
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x430ae1
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x430ad7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x430b0e
push ecx
push edx
call fcn.00462b9f
add esp, 8
lea ecx, [ebp - 0x98]
call fcn.00423f00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462bad
mov esp, ebp
pop ebp
ret 4
call fcn.0040e610
call fcn.004643d0
int3