Function at 0x486cb0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x523f5e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8c
mov eax, dword [0x58057c]
xor eax, esp
mov dword [esp + 0xa88], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x58057c]
xor eax, esp
push eax
lea eax, [esp + 0xaa0]
mov dword fs:[0], eax
xor eax, eax
mov esi, ecx
mov byte [esp + 0x67c], al
mov dword [esp + 0x67d], eax
mov dword [esp + 0x681], eax
mov dword [esp + 0x685], eax
mov word [esp + 0x689], ax
mov byte [esp + 0x68b], al
mov byte [esp + 0x66c], al
mov dword [esp + 0x66d], eax
mov dword [esp + 0x671], eax
mov dword [esp + 0x675], eax
mov word [esp + 0x679], ax
mov byte [esp + 0x67b], al
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov dword [esp + 0x14], esi
call edx
mov edi, eax
lea ebx, [esp + 0x67c]
call fcn.00427a50
mov eax, 0x10
lea ecx, [esp + 0x66c]
mov edx, ebx
lea esp, [esp]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x486d89
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x486d70
jmp 0x4872d4
movzx eax, byte [edx]
movzx edi, byte [ecx]
sub eax, edi
jne 0x486db5
movzx eax, byte [edx + 1]
movzx edi, byte [ecx + 1]
sub eax, edi
jne 0x486db5
movzx eax, byte [edx + 2]
movzx edi, byte [ecx + 2]
sub eax, edi
jne 0x486db5
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
xor ebp, ebp
cmp eax, ebp
je 0x4872d4
mov ebx, fcn.004fe6e3
mov edi, fcn.004ff2b3
mov eax, fcn.004fe606
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], 0x1fff8
mov dword [esp + 0x2c], vtable.t_heap.0
mov dword [esp + 0xaa8], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], eax
push 0x206
lea eax, [esp + 0x89a]
mov byte [esp + 0xaac], 1
xor edx, edx
push ebp
push eax
mov dword [esp + 0x34], ebp
mov word [esp + 0x8a0], dx
call fcn.00503d40
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
add esp, 0xc
mov ecx, esi
call eax
push eax
lea ecx, [esp + 0x898]
push 0x104
push ecx
call fcn.004ff51f
add esp, 0xc
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x898]
push 0x55e3f8
push eax
call fcn.005043d0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x486f1e
jmp 0x486e90
push esi
lea ecx, [esp + 0xa8]
call fcn.00418ac0
push 0x558df0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xaac], 2
call fcn.00419000
cmp dword [esp + 0xa8], 0
je 0x486ee8
lea ecx, [esp + 0xa4]
call fcn.004191b0
push eax
lea ecx, [esp + 0x30]
call fcn.00416c00
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
push ecx
lea eax, [esp + 0x48]
call fcn.004b0650
lea edx, [esp + 0x28]
push edx
push 0x55e3f8
push 0
call fcn.005043d0
add esp, 0xc
lea ecx, [esp + 0xa4]
mov esi, eax
mov byte [esp + 0xaa8], 1
call fcn.00418b30
test esi, esi
jne 0x486e90
mov ebp, dword [esp + 0x3c]
fld dword [0x56b948]
sub esp, 0xc
fstp dword [esp + 8]
lea eax, [esp + 0x28]
fld dword [0x56b94c]
lea esi, [esp + 0x74]
fstp dword [esp + 4]
mov dword [esp + 0x28], ebx
fld dword [0x56b950]
mov dword [esp + 0x2c], edi
fstp dword [esp]
mov dword [esp + 0x30], fcn.004fe606
call fcn.00488280
mov byte [esp + 0xaa8], 3
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
lea ecx, [esp + 0x2f4]
mov esi, eax
call fcn.00418990
mov eax, esi
lea edx, [esp + 0x2f4]
call fcn.00418b90
lea ecx, [esp + 0x1cc]
call fcn.0041ee30
lea eax, [esp + 0x1cc]
push eax
lea ecx, [esp + 0x2f8]
mov byte [esp + 0xaac], 6
call fcn.00420e50
lea ecx, [esp + 0x1cc]
call fcn.004191b0
mov esi, eax
lea ecx, [esp + 0x68c]
push esi
push ecx
call fcn.00406500
push str..dll
lea edx, [esp + 0x698]
push 0x104
push edx
call fcn.004ffd9d
add esp, 0x14
lea eax, [esp + 0x41c]
push eax
lea ecx, [esp + 0x690]
push ecx
call dword [0x531388]
mov edi, eax
cmp edi, 0xffffffff
je 0x4871a0
mov byte [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0xaa8], 7
mov ebp, dword [0x531370]
jmp 0x487030
mov ecx, 0x55acc8
lea eax, [esp + 0x448]
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x487066
test dx, dx
je 0x487062
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x487066
add eax, 4
add ecx, 4
test dx, dx
jne 0x487040
xor eax, eax
jmp 0x48706b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x487179
mov ecx, 0x55accc
lea eax, [esp + 0x448]
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4870a6
test dx, dx
je 0x4870a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4870a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x487080
xor eax, eax
jmp 0x4870ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x487179
lea edx, [esp + 0x448]
push edx
push esi
lea eax, [esp + 0x694]
push 0x55acd4
push eax
call fcn.00413240
add esp, 0x10
lea ecx, [esp + 0xa4]
call fcn.00418990
lea eax, [esp + 0x68c]
lea edx, [esp + 0xa4]
call fcn.00418b90
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0x670]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xab4], 9
call fcn.00427700
add esp, 0xc
test al, al
lea ecx, [esp + 0xa4]
sete bl
mov byte [esp + 0xaa8], 7
call fcn.00418b30
test bl, bl
jne 0x4872fe
push 0x10
lea ecx, [esp + 0x670]
push ecx
lea ecx, [esp + 0x34]
call fcn.004881d0
lea edx, [esp + 0x448]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], eax
call fcn.00416c00
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x64]
push ecx
lea ebx, [esp + 0x20]
lea eax, [esp + 0x70]
call fcn.004882f0
lea edx, [esp + 0x41c]
push edx
push edi
call ebp
test eax, eax
jne 0x487030
push edi
call dword [0x531378]
lea ecx, [esp + 0x1c]
call fcn.00417ba0
mov ebp, dword [esp + 0x3c]
xor eax, eax
xor ebx, ebx
cmp dword [esp + 0x48], ebx
mov byte [esp + 0x66c], 0
mov dword [esp + 0x66d], eax
mov dword [esp + 0x671], eax
mov dword [esp + 0x675], eax
mov word [esp + 0x679], ax
mov byte [esp + 0x67b], al
jle 0x48725e
lea ebx, [ebx]
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + ebx*4]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x64]
mov dword [esp + 0x18], ecx
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edi, [esp + 0x28]
lea eax, [esp + 0x74]
call fcn.00488480
test eax, eax
je 0x487257
mov esi, dword [eax + 4]
xor ecx, ecx
lea eax, [esi + 2]
jmp 0x487220
movzx edx, byte [eax - 2]
xor byte [esp + ecx + 0x66c], dl
movzx edx, byte [eax - 1]
xor byte [esp + ecx + 0x66d], dl
movzx edx, byte [eax]
xor byte [esp + ecx + 0x66e], dl
movzx edx, byte [esi + ecx + 3]
xor byte [esp + ecx + 0x66f], dl
add ecx, 4
add eax, 4
cmp ecx, 0x10
jb 0x487220
inc ebx
cmp ebx, dword [esp + 0x48]
jl 0x4871e0
xor eax, eax
mov cl, byte [esp + eax + 0x67c]
cmp cl, byte [esp + eax + 0x66c]
jne 0x48736e
inc eax
cmp eax, 0x10
jl 0x487260
lea ecx, [esp + 0x1cc]
call fcn.00418b30
lea ecx, [esp + 0x2f4]
call fcn.00418b30
lea eax, [esp + 0x68]
mov byte [esp + 0xaa8], 1
call fcn.00488370
lea esi, [esp + 0x44]
mov byte [esp + 0xaa8], 0
call fcn.0046e2c0
mov dword [esp + 0xaa8], 0xffffffff
test ebp, ebp
je 0x4872d4
mov eax, ebp
mov ebp, dword [ebp + 4]
push eax
call dword [esp + 0x3c]
add esp, 4
test ebp, ebp
jne 0x4872c3
mov al, 1
mov ecx, dword [esp + 0xaa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa88]
xor ecx, esp
call fcn.004fdc2b
add esp, 0xa98
ret
lea ecx, [esp + 0x1c]
call fcn.00417ba0
lea ecx, [esp + 0x1cc]
call fcn.00418b30
lea ecx, [esp + 0x2f4]
call fcn.00418b30
lea eax, [esp + 0x68]
mov byte [esp + 0xaa8], 1
call fcn.00488370
lea esi, [esp + 0x44]
mov byte [esp + 0xaa8], 0
call fcn.0046e2c0
mov dword [esp + 0xaa8], 0xffffffff
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x487367
mov edi, dword [esp + 0x38]
mov eax, esi
mov esi, dword [esi + 4]
push eax
call edi
add esp, 4
test esi, esi
jne 0x487358
xor al, al
jmp 0x4872d6
lea ecx, [esp + 0x1cc]
call fcn.00418b30
lea ecx, [esp + 0x2f4]
call fcn.00418b30
lea eax, [esp + 0x68]
mov byte [esp + 0xaa8], 1
call fcn.00488370
lea esi, [esp + 0x44]
mov byte [esp + 0xaa8], 0
call fcn.0046e2c0
mov dword [esp + 0xaa8], 0xffffffff
test ebp, ebp
je 0x4873c8
mov eax, ebp
mov ebp, dword [ebp + 4]
push eax
call dword [esp + 0x3c]
add esp, 4
test ebp, ebp
jne 0x4873b7
xor al, al
jmp 0x4872d6