Function at 0x485730
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x61187d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x8c]
call fcn.0042ce20
mov ebp, dword [esp + 0x2fc]
xor ebx, ebx
mov dword [esp + 0x2f4], ebx
test byte [ebp + 0x14], 1
je 0x4857bb
lea ecx, [esp + 0x20]
call fcn.00402280
mov word [esp + 0x30], bx
push ebx
lea eax, [esp + 0x24]
push ebx
push eax
mov ecx, edi
mov byte [esp + 0x300], 1
call fcn.004903a0
lea ecx, [esp + 0x20]
mov byte [esp + 0x2f4], bl
call fcn.004207d0
mov ecx, edi
call fcn.0048f6e0
lea ecx, [esp + 0x8c]
mov dword [edi + 0x88], ecx
cmp dword [0x6bb46c], 8
jg 0x4857d1
push ebp
mov ecx, edi
call fcn.00484540
jmp 0x4859a8
push 0x19000
call fcn.005dd77b
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
mov eax, dword [ebp + 0x14]
mov byte [esp + 0x2f4], 2
test al, 1
mov dword [esp + 0x10], ebx
je 0x4858d7
not eax
test al, 1
push 4
je 0x485811
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
call fcn.005e1975
jmp 0x48581d
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.005e1866
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x48583b
cmp eax, 0x19000
ja 0x48583b
push eax
push esi
mov ecx, ebp
call fcn.005e1866
cmp eax, dword [esp + 0x10]
je 0x485845
push ebx
push 0xffffffffffffffff
push 1
call fcn.005df10b
mov ecx, dword [esp + 0x10]
mov eax, 1
cmp ecx, eax
jbe 0x485867
mov cl, byte [eax + esi - 1]
mov bl, byte [eax + esi]
xor bl, cl
mov byte [eax + esi], bl
mov ecx, dword [esp + 0x10]
inc eax
cmp eax, ecx
jb 0x485852
push 0x400
lea ecx, [esp + 0x24]
call fcn.005e54bc
mov edx, dword [esp + 0x10]
push 0
mov bl, 3
push edx
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x300], bl
call fcn.005e5544
push 0
push 0x1000
lea eax, [esp + 0x28]
push 1
push eax
lea ecx, [esp + 0x58]
call fcn.005e16f4
push eax
mov ecx, edi
mov byte [esp + 0x2f8], 4
call fcn.00484540
lea ecx, [esp + 0x48]
mov byte [esp + 0x2f4], bl
call fcn.005e17d0
mov byte [esp + 0x2f4], 2
lea ecx, [esp + 0x20]
jmp 0x48598e
push ebx
push 0x19000
push esi
lea ecx, [esp + 0x2c]
call fcn.005e5508
push 0
push 0x1000
lea ecx, [esp + 0x28]
push 0
mov bl, 5
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x304], bl
call fcn.005e16f4
push eax
mov ecx, edi
mov byte [esp + 0x2f8], 6
call fcn.00484540
lea ecx, [esp + 0x48]
mov byte [esp + 0x2f4], bl
call fcn.005e17d0
push 1
push 0
lea ecx, [esp + 0x28]
call fcn.005e5721
mov dword [esp + 0x10], eax
dec eax
cmp eax, 1
jb 0x485950
mov dl, byte [eax + esi - 1]
mov bl, byte [eax + esi]
xor bl, dl
mov byte [eax + esi], bl
dec eax
cmp eax, 1
jae 0x48593e
mov eax, dword [ebp + 0x14]
push 4
not eax
test al, 1
je 0x485969
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.005e1975
jmp 0x485975
lea edx, [esp + 0x14]
mov ecx, ebp
push edx
call fcn.005e1866
mov eax, dword [esp + 0x10]
mov ecx, ebp
push eax
push esi
call fcn.005e1975
mov byte [esp + 0x2f4], 2
lea ecx, [esp + 0x20]
call fcn.005e5581
test esi, esi
mov byte [esp + 0x2f4], 0
je 0x4859a8
push esi
call fcn.005dd7a4
add esp, 4
mov al, byte [ebp + 0x14]
mov ebx, 0x11
test al, 1
je 0x485a23
cmp dword [0x6bb46c], ebx
jg 0x4859e6
mov ax, word [edi + 0x84]
test ax, ax
je 0x4859e6
cmp ax, word [edi + 0x80]
je 0x4859e6
mov cx, word [edi + 0x80]
mov word [edi + 0x80], ax
mov word [edi + 0x84], cx
mov dx, word [edi + 0x84]
push 1
lea eax, [edi + 0x70]
push edx
push eax
mov ecx, edi
call fcn.004903a0
mov ecx, dword [edi + 0x88]
call fcn.00421a00
mov ecx, dword [edi + 0x88]
push 1
call fcn.0042e3d0
mov ecx, dword [edi + 0x88]
push 0xffff
call fcn.0042dc10
lea ecx, [esp + 0x2dc]
mov dword [esp + 0x2f4], 7
call fcn.004f9ba0
lea edi, [esp + 0x8c]
lea ecx, [esp + 0x94]
neg edi
sbb edi, edi
and edi, ecx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2f4], 8
lea esi, [edi + 0x158]
mov dword [esp + 0x10], esi
lea ecx, [esi + 0xb0]
mov byte [esp + 0x2f4], 0xf
call fcn.00434360
lea ecx, [esi + 0x90]
mov byte [esp + 0x2f4], 0xe
call fcn.00434080
lea ebp, [esi + 0x58]
mov dword [esp + 0x18], ebp
lea ecx, [ebp + 0x14]
mov byte [esp + 0x2f4], 0x10
call fcn.00433e10
mov ecx, ebp
mov byte [esp + 0x2f4], 0xd
call fcn.00433e10
lea ecx, [esi + 0x40]
mov byte [esp + 0x2f4], 0xc
call fcn.005dd1b0
mov dword [esi], method.CGopherLocator.virtual_0
mov eax, dword [esi + 4]
mov byte [esp + 0x2f4], bl
test eax, eax
je 0x485b01
mov ecx, dword [esi + 8]
mov ebp, eax
mov edx, ecx
dec ecx
test edx, edx
je 0x485af5
lea ebx, [ecx + 1]
push 0
mov ecx, ebp
call fcn.00436d30
add ebp, 0x38
dec ebx
jne 0x485ae6
mov esi, dword [esi + 4]
push esi
call fcn.005dd7a4
add esp, 4
lea esi, [edi + 0x120]
mov dword [esp + 0x18], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x17]
mov byte [esp + 0x2f4], 0x12
push edx
push eax
push ecx
call fcn.00437ec0
add esp, 0xc
mov ebp, dword [esi]
mov byte [esp + 0x2f4], 0x13
test ebp, ebp
je 0x485b62
mov ecx, dword [esi + 8]
lea ebx, [esi + 8]
sub ecx, ebp
mov eax, 0x5397829d
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push ebp
push 0
push ebx
call fcn.004ef010
add esp, 8
mov ecx, eax
call fcn.004337a0
lea ecx, [esi + 8]
mov byte [esp + 0x2f4], 0xa
call fcn.0041bea0
lea esi, [edi + 0x98]
mov dword [esp + 0x18], esi
lea ecx, [esi + 0x6c]
mov byte [esp + 0x2f4], 0x19
call fcn.004327c0
lea ecx, [esi + 0x50]
mov byte [esp + 0x2f4], 0x18
call fcn.004207d0
lea ecx, [esi + 0x44]
mov byte [esp + 0x2f4], 0x17
call fcn.004207d0
lea ecx, [esi + 0x38]
mov byte [esp + 0x2f4], 0x16
call fcn.004207d0
lea ebp, [esi + 0x20]
mov dword [esp + 0x10], ebp
lea ecx, [ebp + 0xc]
mov byte [esp + 0x2f4], 0x1a
call fcn.004207d0
mov ecx, ebp
mov byte [esp + 0x2f4], 0x15
call fcn.004207d0
lea ecx, [esi + 0xc]
mov byte [esp + 0x2f4], 0x14
call fcn.00432740
mov ecx, esi
mov byte [esp + 0x2f4], 9
call fcn.004207d0
lea ebp, [edi + 0x78]
mov dword [esp + 0x18], ebp
lea esi, [ebp + 0x14]
mov dword [esp + 0x10], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x17]
mov byte [esp + 0x2f4], 0x1c
push edx
push eax
push ecx
call fcn.004349d0
add esp, 0xc
mov ecx, esi
mov byte [esp + 0x2f4], 0x1b
call fcn.0041bf70
lea esi, [ebp + 8]
mov dword [esp + 0x18], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea edx, [esp + 0x17]
mov byte [esp + 0x2f4], 0x1d
push edx
push eax
push ecx
call fcn.004349d0
add esp, 0xc
mov ebp, dword [esi]
mov byte [esp + 0x2f4], 0x1e
test ebp, ebp
je 0x485c8b
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
sub edx, ebp
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
push edx
push ebp
call fcn.004e1510
lea ecx, [esi + 8]
mov byte [esp + 0x2f4], 8
call fcn.0041bea0
lea esi, [edi + 0x68]
mov dword [esp + 0x18], esi
lea ecx, [esi + 8]
mov dword [esp + 0x2f4], 0x20
call fcn.005dd1b0
lea ecx, [esi + 4]
mov byte [esp + 0x2f4], 0x1f
call fcn.005dd1b0
mov ecx, esi
mov dword [esp + 0x2f4], 0xffffffff
call fcn.005dd1b0
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2e8
ret 4