Function at 0x416c70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55e4f8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x5be26c]
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
lea eax, [ebp - 0x4c]
push eax
call fcn.004278c0
mov ecx, eax
call fcn.00427890
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x58]
sub eax, 0x10
push eax
call fcn.004112d0
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x54], edi
or ebx, 0xffffffff
mov byte [ebp - 4], 1
cmp dword [edi - 0xc], 0
je 0x416e7b
call fcn.00418ed0
mov ecx, eax
test ecx, ecx
je 0x416edc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x4c]
push edi
mov byte [ebp - 4], 2
push dword [eax + 0x40]
lea eax, [ebp - 0x44]
push str._s_s.lnk
push eax
call fcn.00417390
mov eax, dword [ebp - 0x4c]
add esp, 0x10
xor esi, esi
mov ebx, 0xf
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x50], eax
mov eax, 0x3c3f
mov word [ebp - 0x40], ax
mov eax, 0x3c65
mov word [ebp - 0x3e], ax
mov eax, 0x3c70
mov word [ebp - 0x3c], ax
mov eax, 0x3c79
mov word [ebp - 0x3a], ax
mov eax, 0x3c73
mov word [ebp - 0x38], ax
mov eax, 0x3c63
mov word [ebp - 0x36], ax
mov eax, 0x3c6b
mov word [ebp - 0x34], ax
mov eax, 0x3c76
mov word [ebp - 0x32], ax
mov word [ebp - 0x30], ax
mov eax, 0x3c7c
mov word [ebp - 0x2e], ax
mov eax, 0x3c3a
mov word [ebp - 0x2c], ax
mov eax, 0x3c3b
mov word [ebp - 0x2a], ax
mov eax, 0x3c71
mov word [ebp - 0x28], ax
mov eax, 0x3c62
mov word [ebp - 0x26], ax
mov eax, 0x3c7b
mov word [ebp - 0x24], ax
mov eax, 0x3c75
mov word [ebp - 0x22], ax
mov eax, 0x3c1d
mov word [ebp - 0x20], ax
mov eax, 0x3c55
mov word [ebp - 0x1e], ax
mov eax, 0x3c40
mov word [ebp - 0x1c], ax
mov eax, 0x3c49
mov word [ebp - 0x1a], ax
mov eax, 0x3c43
mov word [ebp - 0x18], ax
mov eax, 0x3c53
mov word [ebp - 0x16], ax
mov eax, 0x3c5b
mov word [ebp - 0x14], ax
mov eax, 0x3c27
mov word [ebp - 0x12], ax
mov ax, word [ebp - 0x40]
nop dword [eax + eax]
mov ax, word [ebp + esi*2 - 0x40]
mov ecx, esi
and ecx, ebx
movzx edi, ax
cmp ecx, ebx
mov eax, 0x9593c10
mov edx, 0x7adbf092
cmovae ecx, ebx
shl ecx, 2
call fcn.0046c590
and ax, 0xf
lea ecx, [esi + 0x3c10]
xor ax, cx
xor ax, di
mov word [ebp + esi*2 - 0x40], ax
inc esi
cmp esi, 0x18
jb 0x416e00
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x54]
push 0
push dword [ebp - 0x50]
push esi
push ecx
push dword [eax + 0x28]
push edi
call fcn.00411840
or ebx, 0xffffffff
mov byte [ebp - 4], 1
add esp, 0x18
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x416e7b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x416e96
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x416ebb
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x416ebb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x416ebb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, 1
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.0046c16d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00410dc0
int3