Function at 0x418e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55fca0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x8af4c0]
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
cmp byte [0x8b00f5], 0
jne 0x419359
lea ecx, [ebp - 0x30]
call fcn.004181f0
mov eax, dword [eax]
xor eax, 0xc8
push eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ebx, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
add esp, 4
mov dword [ebp - 0x2c], 0
nop
lea ecx, [ebp - 0x48]
call fcn.004181f0
mov edi, dword [eax]
mov esi, dword [eax + 4]
call ebx
cdq
push edx
push eax
push esi
push edi
call fcn.0055fb30
push 0
push 0x10000
push edx
push eax
call fcn.0055fb30
mov ecx, dword [ebp - 0x2c]
inc eax
xor eax, 0x10
shl eax, 0xa
or eax, 0x1010101
mov dword [ecx + 0x8b0150], eax
lea ecx, [ebp - 0x40]
call fcn.004181f0
mov edi, dword [eax]
mov esi, dword [eax + 4]
call ebx
cdq
push edx
push eax
push esi
push edi
call fcn.0055fb30
push 0
push 0x20000
push edx
push eax
call fcn.0055fb30
mov ecx, dword [ebp - 0x2c]
inc eax
xor eax, 0x20
shl eax, 0xb
or eax, 0x1010101
mov dword [ecx + 0x8b0190], eax
lea ecx, [ebp - 0x38]
call fcn.004181f0
mov edi, dword [eax]
mov esi, dword [eax + 4]
call ebx
cdq
push edx
push eax
push esi
push edi
call fcn.0055fb30
push 0
push 0x30000
push edx
push eax
call fcn.0055fb30
mov ecx, dword [ebp - 0x2c]
inc eax
xor eax, 0x40
shl eax, 0xc
or eax, 0x1010101
mov dword [ecx + 0x8b0108], eax
add ecx, 4
mov dword [ebp - 0x2c], ecx
cmp ecx, 0x40
jb 0x418ec0
xor ebx, ebx
lea ecx, [ebp - 0x30]
call fcn.004181f0
mov edi, dword [eax]
mov esi, dword [eax + 4]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jns 0x418fa4
dec eax
or eax, 0xfffffff0
inc eax
inc al
movzx eax, al
cdq
push edx
push eax
push esi
push edi
call fcn.0055fb30
mov byte [ebx + 0x8b0148], al
inc ebx
cmp ebx, 4
jb 0x418f85
xor ebx, ebx
lea ecx, [ebp - 0x30]
call fcn.004181f0
mov edi, dword [eax]
mov esi, dword [eax + 4]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jns 0x418fe0
dec eax
or eax, 0xfffffff0
inc eax
inc al
movzx eax, al
cdq
push edx
push eax
push esi
push edi
call fcn.0055fb30
mov byte [ebx + 0x8b01d0], al
inc ebx
cmp ebx, 8
jb 0x418fc1
xor ebx, ebx
nop dword [eax]
lea ecx, [ebp - 0x30]
call fcn.004181f0
mov edi, dword [eax]
mov esi, dword [eax + 4]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x8000000f
jns 0x41901f
dec eax
or eax, 0xfffffff0
inc eax
inc al
movzx eax, al
cdq
push edx
push eax
push esi
push edi
call fcn.0055fb30
mov byte [ebx + 0x8b00f8], al
inc ebx
cmp ebx, 0xc
jb 0x419000
mov ebx, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
call ebx
cdq
mov esi, 0xff
idiv esi
xor byte [0x8af51e], dl
call ebx
cdq
idiv esi
xor byte [0x8af525], dl
call ebx
cdq
idiv esi
xor byte [0x8af520], dl
call ebx
cdq
idiv esi
xor byte [0x8af529], dl
call ebx
cdq
idiv esi
xor byte [str.0751], dl
call ebx
cdq
idiv esi
xor byte [0x8af51f], dl
call ebx
cdq
idiv esi
xor byte [0x8af524], dl
call ebx
cdq
idiv esi
xor byte [0x8af52a], dl
call ebx
cdq
idiv esi
push 0xc
xor byte [0x8af526], dl
call fcn.0055ea27
push 0xc
mov dword [0x8b0104], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.0055ea27
add esp, 8
mov dword [0x8b014c], eax
cmp dword [0x8b0104], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
je 0x419359
lea ecx, [ebp - 0x50]
call fcn.004181f0
mov edx, fcn.00418300
mov dword [ebp - 0x14], fcn.00418300
mov dword [ebp - 0x18], fcn.00418420
mov dword [ebp - 0x1c], fcn.00418540
mov cl, byte [eax]
xor cl, byte [0x8af528]
mov al, cl
xor byte [ebp - 0x13], cl
xor al, dl
xor byte [ebp - 0x12], cl
mov byte [ebp - 0x14], al
mov edx, fcn.00418420
mov al, cl
xor byte [ebp - 0x11], cl
xor al, dl
xor byte [ebp - 0x17], cl
mov byte [ebp - 0x18], al
mov edx, fcn.00418540
xor byte [ebp - 0x16], cl
mov al, cl
xor al, dl
xor byte [ebp - 0x15], cl
mov byte [ebp - 0x1c], al
mov edx, fcn.00418670
xor byte [ebp - 0x1b], cl
mov al, cl
xor al, dl
xor byte [ebp - 0x1a], cl
xor byte [ebp - 0x19], cl
mov edx, fcn.004187b0
mov dword [ebp - 0x20], fcn.00418670
xor byte [ebp - 0x1f], cl
xor byte [ebp - 0x1e], cl
xor byte [ebp - 0x1d], cl
mov byte [ebp - 0x20], al
mov al, cl
xor al, dl
mov dword [ebp - 0x24], fcn.004187b0
xor byte [ebp - 0x23], cl
mov edx, fcn.004188f0
xor byte [ebp - 0x22], cl
xor byte [ebp - 0x21], cl
mov byte [ebp - 0x24], al
mov al, cl
xor al, dl
mov dword [ebp - 0x34], fcn.004188f0
xor byte [ebp - 0x33], cl
mov edx, fcn.00418a40
xor byte [ebp - 0x32], cl
xor byte [ebp - 0x31], cl
mov byte [ebp - 0x34], al
mov al, cl
xor al, dl
mov dword [ebp - 0x3c], fcn.00418a40
xor byte [ebp - 0x3b], cl
mov edx, fcn.00418b90
xor byte [ebp - 0x3a], cl
xor byte [ebp - 0x39], cl
mov byte [ebp - 0x3c], al
mov al, cl
xor al, dl
mov dword [ebp - 0x44], fcn.00418b90
xor byte [ebp - 0x43], cl
mov edx, 0x418cf0
xor byte [ebp - 0x42], cl
xor byte [ebp - 0x41], cl
mov dword [ebp - 0x2c], 0x418cf0
xor byte [ebp - 0x2b], cl
xor byte [ebp - 0x2a], cl
xor byte [ebp - 0x29], cl
mov byte [0x8af528], cl
mov byte [ebp - 0x44], al
mov al, cl
mov ecx, dword [0x8b014c]
xor al, dl
mov byte [ebp - 0x2c], al
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x419223
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x419233
lea eax, [ebp - 0x14]
push eax
push edx
call fcn.0043c9f0
mov ecx, dword [0x8b014c]
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x419246
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x419256
lea eax, [ebp - 0x18]
push eax
push edx
call fcn.0043c9f0
mov ecx, dword [0x8b014c]
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x419269
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x419279
lea eax, [ebp - 0x1c]
push eax
push edx
call fcn.0043c9f0
mov ecx, dword [0x8b014c]
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x41928c
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x41929c
lea eax, [ebp - 0x20]
push eax
push edx
call fcn.0043c9f0
mov ecx, dword [0x8b014c]
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x4192af
mov eax, dword [ebp - 0x24]
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x4192bf
lea eax, [ebp - 0x24]
push eax
push edx
call fcn.0043c9f0
mov ecx, dword [0x8b014c]
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x4192d2
mov eax, dword [ebp - 0x34]
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x4192e2
lea eax, [ebp - 0x34]
push eax
push edx
call fcn.0043c9f0
mov ecx, dword [0x8b014c]
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x4192f5
mov eax, dword [ebp - 0x3c]
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x419305
lea eax, [ebp - 0x3c]
push eax
push edx
call fcn.0043c9f0
mov ecx, dword [0x8b014c]
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x419318
mov eax, dword [ebp - 0x44]
mov dword [edx], eax
add dword [ecx + 4], 4
jmp 0x419328
lea eax, [ebp - 0x44]
push eax
push edx
call fcn.0043c9f0
mov ecx, dword [0x8b014c]
mov edx, dword [ecx + 4]
cmp edx, dword [ecx + 8]
je 0x419344
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
mov al, 1
add dword [ecx + 4], 4
mov byte [0x8b00f5], 1
jmp 0x41935b
lea eax, [ebp - 0x2c]
push eax
push edx
call fcn.0043c9f0
mov byte [0x8b00f5], 1
mov al, 1
jmp 0x41935b
xor al, al
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.0055e764
mov esp, ebp
pop ebp
ret