Function at 0x402750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a5e7
mov eax, dword fs:[0]
push eax
sub esp, 0x8a8
mov eax, dword [0x44e414]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x8ac], edi
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x8a8], eax
mov eax, dword [ecx]
call dword [eax + 0x28]
cmp dword [ebp + 0xc], 0
je 0x402d62
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 0x814]
mov word [ebp - 0x814], 0xce31
push edx
push 2
mov eax, dword [ecx]
call dword [eax + 0x30]
push 0x401
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0043a378
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 0x414]
add esp, 0xc
mov eax, dword [ecx]
push edx
push 1
call dword [eax + 0x38]
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x28]
mov al, byte [ebp - 0x414]
cmp al, 0x1f
je 0x402d62
cmp al, 0x79
jne 0x402d62
mov dword [ebp - 0x8a4], 0
mov dword [ebp - 0x890], 0xf
mov ebx, dword [ebp + 8]
lea edx, [ebp - 0x8a4]
mov ecx, dword [edi + 0xc]
mov eax, ebx
shr eax, 0x18
mov dword [ebp - 0x8b4], eax
mov dword [ebp - 0x894], 1
mov byte [ebp - 0x8a4], al
mov byte [ebp - 0x8a3], 0
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], 0
call dword [eax + 0x2c]
mov dword [ebp - 0x88c], 0
mov dword [ebp - 0x878], 0xf
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 0x88c]
mov eax, ebx
mov dword [ebp - 0x87c], 1
shr eax, 0x10
mov dword [ebp - 0x8b0], eax
mov byte [ebp - 0x88c], al
mov byte [ebp - 0x88b], 0
mov eax, dword [ecx]
push edx
mov byte [ebp - 4], 1
call dword [eax + 0x2c]
mov dword [ebp - 0x874], 0
mov dword [ebp - 0x860], 0xf
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 0x874]
shr ebx, 8
mov dword [ebp - 0x864], 1
mov byte [ebp - 0x874], bl
mov byte [ebp - 0x873], 0
mov eax, dword [ecx]
push edx
mov byte [ebp - 4], 2
call dword [eax + 0x2c]
mov dword [ebp - 0x85c], 0
mov dword [ebp - 0x848], 0xf
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 0x85c]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84c], 1
mov byte [ebp - 0x85c], al
mov byte [ebp - 0x85b], 0
mov eax, dword [ecx]
push edx
mov byte [ebp - 4], 3
call dword [eax + 0x2c]
mov dword [ebp - 0x844], 0
mov dword [ebp - 0x830], 0xf
xor bl, byte [ebp - 0x8b0]
lea edx, [ebp - 0x844]
mov ecx, dword [edi + 0xc]
xor bl, byte [ebp - 0x8b4]
xor bl, byte [ebp + 8]
mov dword [ebp - 0x834], 1
mov byte [ebp - 0x844], bl
mov byte [ebp - 0x843], 0
mov eax, dword [ecx]
push edx
mov byte [ebp - 4], 4
call dword [eax + 0x2c]
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 0x414]
push edx
push 1
mov eax, dword [ecx]
call dword [eax + 0x38]
cmp byte [ebp - 0x414], 0x79
jne 0x402bd0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x818], 0xf
mov ebx, dword [ebp + 0xc]
mov eax, ebx
mov ecx, dword [edi + 0xc]
mov byte [ebp - 4], 5
and eax, 0x80000003
jns 0x4029b3
dec eax
or eax, 0xfffffffc
add eax, 1
mov dword [ebp - 0x81c], 1
mov byte [ebp - 0x82b], 0
jne 0x402a49
dec bl
lea edx, [ebp - 0x82c]
mov byte [ebp - 0x82c], bl
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
mov esi, dword [ebp - 0x8a8]
xor edx, edx
movzx eax, bl
add eax, 1
mov dword [ebp - 0x8b0], eax
je 0x402a35
mov edi, eax
nop word [eax + eax]
cmp dword [ebp - 0x818], 0x10
lea eax, [ebp - 0x82c]
mov cl, byte [esi + edx]
cmovae eax, dword [ebp - 0x82c]
mov dword [ebp - 0x81c], 1
mov byte [eax], cl
mov byte [eax + 1], 0
xor bl, byte [esi + edx]
inc edx
cmp edx, edi
jl 0x402a00
mov edi, dword [ebp - 0x8ac]
mov ecx, dword [edi + 0xc]
push esi
push dword [ebp - 0x8b0]
mov eax, dword [ecx]
call dword [eax + 0x30]
jmp 0x402b2f
mov eax, ebx
cdq
and edx, 3
add eax, edx
lea edx, [ebp - 0x82c]
sar eax, 2
shl al, 2
add al, 3
mov dword [ebp - 0x8b4], eax
mov bl, al
mov byte [ebp - 0x82c], al
mov eax, dword [ecx]
push edx
call dword [eax + 0x2c]
mov esi, dword [ebp + 0xc]
xor edx, edx
test esi, esi
jle 0x402ac5
mov edi, dword [ebp - 0x8a8]
nop dword [eax]
nop word [eax + eax]
cmp dword [ebp - 0x818], 0x10
lea eax, [ebp - 0x82c]
mov cl, byte [edi + edx]
cmovae eax, dword [ebp - 0x82c]
mov dword [ebp - 0x81c], 1
mov byte [eax], cl
mov byte [eax + 1], 0
xor bl, byte [edi + edx]
inc edx
cmp edx, esi
jl 0x402a90
mov edi, dword [ebp - 0x8ac]
mov ecx, dword [edi + 0xc]
push dword [ebp - 0x8a8]
push esi
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [ebp - 0x8b4]
movzx edi, al
cmp esi, edi
jg 0x402b29
sub edi, esi
mov esi, dword [ebp - 0x8ac]
inc edi
nop word [eax + eax]
cmp dword [ebp - 0x818], 0x10
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x81c], 1
lea edx, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push edx
mov word [eax], 0xff
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x2c]
not bl
sub edi, 1
jne 0x402af0
mov edi, dword [ebp - 0x8ac]
cmp dword [ebp - 0x818], 0x10
lea eax, [ebp - 0x82c]
mov dword [ebp - 0x81c], 1
lea edx, [ebp - 0x82c]
cmovae eax, dword [ebp - 0x82c]
push edx
mov byte [eax], bl
mov byte [eax + 1], 0
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push dword [ebp + 0x14]
call dword [0x43f130]
mov ecx, dword [edi + 0xc]
lea edx, [ebp - 0x414]
mov byte [ebp - 0x414], 0xff
push edx
push 1
mov eax, dword [ecx]
call dword [eax + 0x38]
cmp byte [ebp - 0x414], 0x79
mov edx, dword [ebp - 0x818]
sete bl
dec bl
and bl, 0x14
cmp edx, 0x10
jb 0x402bd2
mov ecx, dword [ebp - 0x82c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402bc4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402bc4
call dword [0x43f418]
push edx
push ecx
call fcn.004395ca
add esp, 8
jmp 0x402bd2
mov bl, 0x14
mov edx, dword [ebp - 0x830]
cmp edx, 0x10
jb 0x402c0c
mov ecx, dword [ebp - 0x844]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402c02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d4e
push edx
push ecx
call fcn.004395ca
add esp, 8
mov edx, dword [ebp - 0x848]
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x830], 0xf
mov byte [ebp - 0x844], 0
cmp edx, 0x10
jb 0x402c61
mov ecx, dword [ebp - 0x85c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402c57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d4e
push edx
push ecx
call fcn.004395ca
add esp, 8
mov edx, dword [ebp - 0x860]
mov dword [ebp - 0x84c], 0
mov dword [ebp - 0x848], 0xf
mov byte [ebp - 0x85c], 0
cmp edx, 0x10
jb 0x402cb6
mov ecx, dword [ebp - 0x874]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402cac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d4e
push edx
push ecx
call fcn.004395ca
add esp, 8
mov edx, dword [ebp - 0x878]
mov dword [ebp - 0x864], 0
mov dword [ebp - 0x860], 0xf
mov byte [ebp - 0x874], 0
cmp edx, 0x10
jb 0x402d07
mov ecx, dword [ebp - 0x88c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402cfd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402d4e
push edx
push ecx
call fcn.004395ca
add esp, 8
mov edx, dword [ebp - 0x890]
mov dword [ebp - 0x87c], 0
mov dword [ebp - 0x878], 0xf
mov byte [ebp - 0x88c], 0
cmp edx, 0x10
jb 0x402d5e
mov ecx, dword [ebp - 0x8a4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402d54
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402d54
call dword [0x43f418]
push edx
push ecx
call fcn.004395ca
add esp, 8
mov al, bl
jmp 0x402d64
mov al, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004395e6
mov esp, ebp
pop ebp
ret 0x10