Function at 0x433470
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x476d21
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x495240]
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 + 0x110]
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], eax
lea eax, [edi + 0x48]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041ce40
mov edx, dword [ebp - 0x2c]
lea ecx, [edi + 0x48]
cmp byte [edx + 0xd], 0
jne 0x4334f7
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 0x14]
jl 0x4334f7
jg 0x4334dd
mov eax, dword [ecx]
cmp eax, dword [edx + 0x10]
jb 0x4334f7
mov edx, dword [esi + 0x110]
lea eax, [esi + 0x110]
mov dword [ebp - 0x78], edx
cmp dword [ebp - 0x2c], edx
jne 0x4338e6
jmp 0x433506
mov edx, dword [esi + 0x110]
lea eax, [esi + 0x110]
mov dword [ebp - 0x78], edx
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, eax
call fcn.0041ce40
mov ecx, dword [eax + 8]
movq xmm0, qword [eax]
movq qword [ebp - 0x1c], xmm0
cmp byte [ecx + 0xd], 0
jne 0x433536
mov eax, dword [edi + 0x4c]
cmp eax, dword [ecx + 0x14]
jg 0x43359d
jl 0x433536
mov eax, dword [edi + 0x48]
cmp eax, dword [ecx + 0x10]
jae 0x43359d
cmp dword [esi + 0x114], 0xaaaaaaa
lea eax, [esi + 0x110]
je 0x433903
mov dword [ebp - 0x30], eax
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x2c], 0
call fcn.00466b7f
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 - 0x78]
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 + 0x110]
mov word [eax + 0xc], 0
call fcn.0040dca0
push 0
push dword [edi + 0x68]
lea eax, [ebp - 0x9c]
push eax
call fcn.0042a440
add esp, 0xc
cmp byte [ebp - 0x84], 0
mov dword [ebp - 4], 1
je 0x4338db
push 0xfde9
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0043ff50
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 0x433615
mov esi, eax
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x18]
jb 0x433600
mov esi, dword [ebp - 0x7c]
push edx
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
lea ecx, [esi + 0xe8]
call fcn.0041cd00
mov eax, dword [eax + 4]
test eax, eax
jne 0x433636
mov eax, dword [esi + 0xec]
cmp eax, dword [esi + 0xec]
jne 0x433691
mov eax, dword [ebp - 0x14]
cmp eax, 0xf
jbe 0x43367a
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x28]
mov edx, eax
cmp ecx, 0x1000
jb 0x433670
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x78], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x433908
mov eax, dword [ebp - 0x78]
push ecx
push eax
call fcn.00466baf
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x4338db
lea eax, [ebp - 0x28]
lea ecx, [esi + 0xe8]
push eax
call fcn.00426ae0
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.0040cf40
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.0041ba30
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
lea ecx, [esi + 0xe8]
push eax
call fcn.00426ae0
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.0040cf40
mov ecx, eax
call fcn.0041bac0
mov ecx, dword [ebp - 0x7c]
mov esi, eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], edx
add ecx, 0xe8
push eax
call fcn.00426ae0
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.0040cf40
mov ecx, eax
call fcn.0041bac0
xor esi, dword [edi + 0x78]
movzx ecx, si
or ecx, 0
jne 0x4337eb
cmp eax, dword [edi + 0x80]
jne 0x4337eb
cmp edx, dword [edi + 0x84]
jne 0x4337eb
lea eax, [edi + 0x294]
push eax
lea ecx, [ebp - 0x40]
call fcn.00418560
push 0xfde9
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x78], 1
push eax
call fcn.0043ff50
mov ecx, eax
add esp, 0xc
mov eax, 3
mov dword [ebp - 0x80], eax
cmp dword [ecx + 0x14], 0xf
mov edx, dword [ecx + 0x10]
jbe 0x4337ca
mov ecx, dword [ecx]
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
push edx
cmova eax, dword [ebp - 0x58]
push ecx
push dword [ebp - 0x48]
push eax
call fcn.0041e6c0
add esp, 0x10
mov byte [ebp - 0x71], 1
test al, al
jne 0x4337ef
mov byte [ebp - 0x71], 0
mov eax, dword [ebp - 0x80]
test al, 2
je 0x433807
and eax, 0xfffffffd
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x80], eax
call fcn.0040c520
mov eax, dword [ebp - 0x80]
mov dword [ebp - 4], 3
test al, 1
je 0x43381a
lea ecx, [ebp - 0x40]
call fcn.0040c570
cmp byte [ebp - 0x71], 0
je 0x433869
mov eax, dword [ebp - 0x7c]
xor esi, esi
mov ecx, dword [eax + 0x84]
call fcn.004169c0
test eax, eax
jle 0x433869
mov eax, dword [ebp - 0x7c]
push esi
mov ecx, dword [eax + 0x84]
call fcn.00416df0
mov ecx, dword [ebp - 0x7c]
cdq
mov ecx, dword [ecx + 0x84]
cmp eax, dword [edi + 0x48]
jne 0x433857
cmp edx, dword [edi + 0x4c]
je 0x433863
inc esi
call fcn.004169c0
cmp esi, eax
jl 0x433834
jmp 0x433869
push esi
call fcn.00417390
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x433899
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43388f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433908
push ecx
push edx
call fcn.00466baf
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0xf
jbe 0x4338db
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4338d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x433908
push ecx
push edx
call fcn.00466baf
add esp, 8
lea ecx, [ebp - 0x9c]
call fcn.00425cd0
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.00466bbd
mov esp, ebp
pop ebp
ret 4
call fcn.0040e210
call fcn.00468420
int3