Function at 0x410ef0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
push ebx
push esi
push edi
call dword [0x425424]
mov edi, 0x41
mov ebx, eax
mov esi, edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
lea ecx, [edi + 0x1b]
lea edx, [edi - 2]
test bl, 1
je 0x4111bf
push esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x5c005c
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x24], 0x5c003f
push eax
mov dword [esp + 0x2c], 0x680025
mov dword [esp + 0x30], 0x3a0063
mov dword [esp + 0x34], 0x5c
call dword [0x4250b4]
add esp, 0xc
lea eax, [esp + 0x50]
push eax
call dword [0x4252b0]
cmp eax, 3
je 0x4112cf
cmp eax, 2
je 0x4112cf
cmp eax, 4
jne 0x4111b7
cmp dword [0x4256f8], 0
je 0x4111b7
xor eax, eax
mov dword [esp + 0x3c], 0
mov word [esp + 0x5c], ax
lea eax, [esp + 0x3c]
push eax
push 0
lea eax, [esp + 0x60]
push eax
call dword [0x4251a4]
cmp eax, 0xea
jne 0x4111b7
mov eax, dword [esp + 0x3c]
lea esi, [eax*2 + 2]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov ebx, eax
mov dword [esp + 0x44], ebx
test ebx, ebx
jne 0x411014
jmp 0x410ff0
push 0x80
call dword [0x425428]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov ebx, eax
mov dword [esp + 0x44], eax
test ebx, ebx
je 0x410ff0
lea eax, [esp + 0x3c]
push eax
push ebx
lea eax, [esp + 0x60]
push eax
call dword [0x4251a4]
test eax, eax
jne 0x4112bb
push ebx
call dword [0x4252e0]
add eax, 0xc
mov dword [esp + 0x4c], eax
lea esi, [eax*2 + 0xc]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov ecx, eax
mov dword [esp + 0x38], ecx
test ecx, ecx
jne 0x41108a
jmp 0x411060
push 0x80
call dword [0x425428]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov ebx, eax
mov dword [esp + 0x38], ebx
test ebx, ebx
je 0x411060
mov ebx, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [ebp + 8]
mov edx, 0xf6
mov dword [ecx + 4], eax
xor eax, eax
mov byte [ecx + 2], 1
mov dword [esp + 0x18], 0xaa00aa
mov dword [esp + 0x1c], 0xaa00c9
mov dword [esp + 0x20], 0xb800a3
mov dword [esp + 0x24], 0xd300b5
mov dword [esp + 0x28], 0xaa0085
mov word [esp + 0x2c], dx
jmp 0x4110d0
xor word [esp + eax*2 + 0x18], dx
inc eax
cmp eax, 0xb
jb 0x4110d0
lea eax, [ebx + 2]
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x54]
lea edi, [ecx + 8]
push edi
call dword [0x425308]
mov esi, dword [0x4259b8]
add esp, 0x10
cmp esi, 0x4259b8
je 0x41112b
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x41110f
cmp eax, 1
jne 0x411121
mov eax, dword [esi + 0x20]
push edi
add eax, 8
push eax
call dword [0x425304]
test eax, eax
je 0x411189
mov esi, dword [esi]
cmp esi, 0x4259b8
jne 0x411103
push 0
push 4
push edi
push 0x4140e0
push 0
push 0
mov dword [esp + 0x60], 0
call dword [0x425348]
mov esi, eax
test esi, esi
je 0x411182
push esi
call dword [0x425354]
push 0xbb8
push esi
call dword [0x42523c]
test eax, eax
je 0x41116f
push 0
push esi
call dword [0x425328]
jmp 0x41117b
lea eax, [esp + 0x48]
push eax
push esi
call dword [0x425360]
push esi
call dword [0x4251e0]
cmp dword [esp + 0x48], 0
jne 0x4111e4
push ebx
push 0
push dword [0x425ba8]
call dword [0x425290]
mov eax, dword [esp + 0x38]
push eax
push 0
push dword [0x425ba8]
call dword [0x425290]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x10]
mov edx, 0x3f
lea ecx, [edx + 0x1d]
inc edi
shr ebx, 1
inc esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], esi
cmp di, 0x5a
jbe 0x410f20
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x18], 0x9900b0
mov ecx, 0xf6
mov dword [esp + 0x1c], 0x980083
xor eax, eax
mov dword [esp + 0x20], 0xd60092
mov dword [esp + 0x24], 0x9e00a5
mov dword [esp + 0x28], 0x840097
mov dword [esp + 0x2c], 0xcc0093
mov dword [esp + 0x30], 0xd300d6
mov dword [esp + 0x34], 0xf60085
jmp 0x411230
xor word [esp + eax*2 + 0x18], cx
inc eax
cmp eax, 0x10
jb 0x411230
push edi
lea eax, [esp + 0x1c]
push eax
push 0
call fcn.0040b980
add esp, 0xc
push 0x28
push 8
push dword [0x425ba8]
call dword [0x425358]
mov esi, eax
test esi, esi
jne 0x411282
push 0x80
call dword [0x425428]
push 0x28
push 8
push dword [0x425ba8]
call dword [0x425358]
mov esi, eax
test esi, esi
je 0x411261
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 8]
push eax
push 0
push edi
call dword [0x425288]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x14]
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], eax
mov eax, dword [0x4259bc]
mov dword [esi], 0x4259b8
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [0x4259bc], esi
push ebx
push 0
push dword [0x425ba8]
call dword [0x425290]
jmp 0x4111af
cmp dword [0x42581c], 0
je 0x4111b7
mov esi, dword [0x4259b8]
cmp esi, 0x4259b8
je 0x411320
lea ebx, [ebx]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4112fc
cmp eax, 1
jne 0x411316
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x50]
push ecx
add eax, 8
push eax
call dword [0x425304]
test eax, eax
je 0x4111b3
mov esi, dword [esi]
cmp esi, 0x4259b8
jne 0x4112f0
cmp dword [0x4256fc], 0
je 0x411436
mov ecx, edi
call fcn.004170f0
mov esi, eax
test esi, esi
je 0x411436
cmp dword [esi + 4], 1
jne 0x41142f
mov ecx, esi
call fcn.00417350
or eax, edx
je 0x41142f
cmp dword [esi + 0x250], 0
je 0x41142f
push 0x10008
push 8
push dword [0x425ba8]
call dword [0x425358]
mov edi, eax
test edi, edi
jne 0x4113a4
lea ecx, [ecx]
push 0x80
call dword [0x425428]
push 0x10008
push 8
push dword [0x425ba8]
call dword [0x425358]
mov edi, eax
test edi, edi
je 0x411380
lea eax, [esp + 0x50]
mov dword [edi], esi
push eax
lea eax, [edi + 8]
mov byte [edi + 6], 0
push eax
call dword [0x425278]
push 0x28
push 8
push dword [0x425ba8]
call dword [0x425358]
mov esi, eax
test esi, esi
jne 0x4113f1
nop
push 0x80
call dword [0x425428]
push 0x28
push 8
push dword [0x425ba8]
call dword [0x425358]
mov esi, eax
test esi, esi
je 0x4113d0
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 8]
push eax
push 0
lea eax, [esp + 0x5c]
push eax
call dword [0x425288]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], edi
mov eax, dword [0x4259bc]
mov edi, dword [esp + 0x14]
mov dword [esi], 0x4259b8
mov dword [esi + 4], eax
mov dword [eax], esi
mov dword [0x4259bc], esi
jmp 0x4111b3
mov ecx, esi
call fcn.004172a0
lea eax, [esp + 0x50]
push eax
call dword [0x4252e0]
lea esi, [eax*2 + 0xe]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov edi, eax
test edi, edi
jne 0x411480
lea ecx, [ecx]
push 0x80
call dword [0x425428]
push esi
push 8
push dword [0x425ba8]
call dword [0x425358]
mov edi, eax
test edi, edi
je 0x411460
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
lea eax, [esp + 0x50]
push eax
lea eax, [edi + 8]
mov byte [edi + 2], 0
push eax
call dword [0x425278]
push 0x28
push 8
push dword [0x425ba8]
call dword [0x425358]
mov esi, eax
test esi, esi
jne 0x4114d1
nop
push 0x80
call dword [0x425428]
push 0x28
push 8
push dword [0x425ba8]
call dword [0x425358]
mov esi, eax
test esi, esi
je 0x4114b0
lea eax, [esi + 0x10]
push eax
lea eax, [esi + 8]
push eax
push 0
lea eax, [esp + 0x5c]
push eax
call dword [0x425288]
mov dword [esi + 0x1c], 1
jmp 0x41140d