Function at 0x42f3b0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4faf80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
xor ebp, ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0xc], ebp
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 1
push eax
push 0x59d010
push 0x17
push ebp
push 0x59d000
nop
call 0x75779d0b
mov esi, eax
cmp esi, ebp
jl 0x42f428
mov ecx, dword [esp + 0x14]
push ecx
nop
call 0x757407de
mov esi, eax
cmp esi, ebp
jl 0x42f41e
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
push 0x59cff0
mov edx, dword [eax]
push eax
call dword [edx]
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x42f461
cmp esi, ebp
jl 0x42f445
mov ecx, dword [eax]
push 0x59d11c
push eax
call dword [ecx + 0x20]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, ebp
jne 0x42f457
push 0x80004003
call fcn.00417075
mov eax, dword [esp + 0xc]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0xc], ebp
cmp esi, ebp
jge 0x42f557
push ebp
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.00411140
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x59d10c
push eax
push ecx
mov byte [esp + 0x40], 2
call fcn.0041631e
call fcn.004113e0
add esp, 0xc
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.004161d4
cmp esi, ebp
je 0x42f4e0
push ebp
push ebp
lea edx, [esp + 0x1c]
push 0x59d0ec
push edx
call fcn.0040f010
add esp, 0x10
mov eax, dword [eax]
push esi
push 0x59d10c
push eax
mov byte [esp + 0x34], 3
call fcn.00459360
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.004161d4
push ebp
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.00411140
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x59d0dc
push eax
push ecx
mov byte [esp + 0x40], 4
call fcn.0041631e
call fcn.004113e0
add esp, 0xc
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x28], 1
call fcn.004161d4
cmp esi, ebp
je 0x42f557
push ebp
push ebp
lea edx, [esp + 0x1c]
push 0x59d0ec
push edx
call fcn.0040f010
add esp, 0x10
mov eax, dword [eax]
push esi
push 0x59d0dc
push eax
mov byte [esp + 0x34], 5
call fcn.00459360
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.004161d4
lea eax, [esp + 0x18]
push eax
call fcn.00411300
add esp, 4
lea ecx, [esp + 0x30]
lea edx, [esp + 0x14]
push ecx
push eax
push edx
mov byte [esp + 0x34], 6
call fcn.0041634e
push 0x5c
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x30], 7
push eax
call fcn.00416948
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0xa
call fcn.004161d4
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 9
call fcn.004161d4
mov ecx, dword [esp + 0x10]
push ecx
nop
call 0x7511c000
lea edx, [esp + 0x10]
push 0x59d0d0
lea eax, [esp + 0x20]
push edx
push eax
call fcn.0041631e
mov eax, dword [eax]
push 0x59b884
push eax
nop
call 0x7506b2c4
add esp, 8
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.004161d4
cmp edi, ebp
je 0x42f615
mov ebp, dword [0x511dfc]
xor esi, esi
xor ecx, ecx
push edi
mov cl, byte [esi + 0x51b860]
xor ecx, 0x7d
push ecx
call ebp
add esp, 8
inc esi
cmp esi, 0xae28
jb 0x42f5ee
push edi
nop
call 0x75063d79
add esp, 4
xor ebp, ebp
push ebp
push ebp
push ecx
lea eax, [esp + 0x1c]
mov edx, esp
mov dword [esp + 0x28], esp
push 0x59d0d0
push eax
push edx
call fcn.0041631e
call fcn.004113e0
mov esi, eax
add esp, 0xc
cmp esi, ebp
je 0x42f674
push ebp
push ebp
lea ecx, [esp + 0x24]
push 0x59d0ec
push ecx
call fcn.0040f010
add esp, 0x10
mov eax, dword [eax]
push esi
push 0x59d0d0
push eax
mov byte [esp + 0x34], 0xb
call fcn.00459360
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 9
call fcn.004161d4
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004161d4
mov eax, dword [esp + 0xc]
mov byte [esp + 0x28], 0
cmp eax, ebp
je 0x42f695
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.004161d4
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x20
ret