Function at 0x592fa0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cc093
mov eax, dword fs:[0]
push eax
sub esp, 0x2dc
mov eax, dword [0x68cc00]
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
mov edi, ecx
mov dword [ebp - 0x2d4], edi
mov ecx, dword [ebp + 0x24]
xorps xmm0, xmm0
mov eax, dword [ebp + 0x20]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x2d0], eax
movzx eax, byte [ecx + 0x12a]
push eax
push str.gcm_process
mov dword [ebp - 0x2a0], ecx
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2a8], esi
mov dword [ebp - 0x29c], ebx
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.00447f80
cmp dword [ebp + 0x1c], 0
mov dword [ebp - 4], 0
je 0x59306a
test ebx, ebx
jne 0x59306a
mov ecx, dword [ebp - 0x2a0]
push str.NULL_input.
mov eax, dword [ecx]
call dword [eax + 0x14]
xor bl, bl
lea ecx, [ebp - 0x1c]
call fcn.00448050
mov al, bl
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.005af618
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 0x2d0]
call fcn.00402f80
mov ecx, eax
mov eax, dword [ebp + 0x1c]
add eax, ecx
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 0x2e8], eax
lea ecx, [eax + 0x20]
push ecx
mov ecx, dword [ebp - 0x2d0]
call fcn.004386f0
test al, al
jne 0x5930aa
mov ecx, dword [ebp - 0x2a0]
push str.Unable_to_allocate_GCM_output_buffer.
mov eax, dword [ecx]
jmp 0x59303d
cmp byte [ebp + 8], 0
push dword [ebp - 0x2b0]
mov ecx, dword [ebp - 0x2d0]
je 0x5930cf
mov dword [ebp - 0x2cc], ebx
call fcn.00438be0
mov dword [ebp - 0x29c], eax
jmp 0x5930da
call fcn.00438be0
mov dword [ebp - 0x2cc], eax
mov al, byte [0x68f000]
mov byte [ebp - 0x291], al
mov eax, dword [esi + 0x538]
cmp eax, 0x10
ja 0x593040
mov ecx, dword [esi + 0x534]
cmp ecx, 1
jne 0x5931ab
test eax, eax
je 0x593165
mov ecx, 8
imul ecx
push 0x138
add dword [esi + 0x540], eax
lea eax, [ebp - 0x28c]
push 0
adc dword [esi + 0x544], edx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x28c]
call fcn.00449930
lea eax, [ebp - 0x28c]
mov byte [ebp - 4], 1
push eax
lea eax, [esi + 0x4f0]
push eax
push esi
call fcn.00592ca0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28c]
call fcn.00449950
mov edx, 0xfffffb00
lea ecx, [esi + 0x50f]
sub edx, esi
add byte [ecx], 1
jne 0x593180
dec ecx
lea eax, [edx + ecx]
cmp eax, 0xc
jge 0x593172
mov edx, dword [edi]
lea eax, [esi + 0x520]
push eax
lea eax, [esi + 0x500]
mov ecx, edi
push eax
call dword [edx + 0x10]
mov dword [esi + 0x538], 0
mov dword [esi + 0x534], 2
jmp 0x5931b4
cmp ecx, 2
jne 0x593040
push 0x138
lea eax, [ebp - 0x154]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x154]
call fcn.00449930
xor ebx, ebx
mov byte [ebp - 4], 2
cmp dword [esi + 0x538], ebx
jne 0x593b98
mov eax, dword [ebp + 0x1c]
and eax, 0xfffffff0
mov dword [ebp - 0x2b0], eax
cmp byte [ebp + 8], bl
je 0x5936e7
cmp byte [ebp - 0x291], bl
je 0x5935be
mov dword [ebp - 0x298], ebx
test eax, eax
je 0x593b98
mov ecx, dword [ebp - 0x29c]
lea eax, [esi + 0x526]
mov edx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d8], eax
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x2dc], eax
lea eax, [esi + 0x50f]
mov dword [ebp - 0x2e0], eax
mov eax, 0xfffffb00
sub eax, esi
mov dword [ebp - 0x2b8], eax
lea eax, [esi + 0x520]
mov dword [ebp - 0x2bc], eax
lea eax, [esi + 0x500]
mov dword [ebp - 0x2c0], eax
lea eax, [ecx + 5]
lea ecx, [edx + 6]
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c8], ecx
nop dword [eax + eax]
mov esi, dword [ebp - 0x2d8]
lea edi, [ecx + ebx]
add eax, ebx
mov dword [ebp - 0x290], edi
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2ac], 2
movzx eax, byte [esi + 1]
cdq
mov ebx, eax
mov ecx, edx
shld ecx, ebx, 8
movzx eax, byte [esi]
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [esi - 1]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [esi - 2]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [esi - 3]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [esi - 4]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [esi - 5]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
movzx eax, byte [esi - 6]
shld ecx, ebx, 8
cdq
or ecx, edx
shl ebx, 8
or ebx, eax
mov dword [ebp - 0x2a0], ecx
movzx eax, byte [edi + 1]
cdq
mov ecx, eax
mov edi, edx
mov eax, dword [ebp - 0x290]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax]
cdq
or ecx, eax
or edi, edx
mov eax, dword [ebp - 0x290]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax - 1]
cdq
or ecx, eax
or edi, edx
mov eax, dword [ebp - 0x290]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax - 2]
cdq
or ecx, eax
or edi, edx
mov eax, dword [ebp - 0x290]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax - 3]
cdq
or ecx, eax
or edi, edx
shld edi, ecx, 8
shl ecx, 8
mov eax, dword [ebp - 0x290]
movzx eax, byte [eax - 4]
cdq
or ecx, eax
or edi, edx
mov eax, dword [ebp - 0x290]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax - 5]
cdq
or ecx, eax
or edi, edx
mov eax, dword [ebp - 0x290]
shld edi, ecx, 8
shl ecx, 8
movzx eax, byte [eax - 6]
cdq
or ecx, eax
or edi, edx
mov edx, dword [ebp - 0x2a0]
xor ebx, ecx
mov ecx, dword [ebp - 0x2a4]
xor edx, edi
mov edi, dword [ebp - 0x290]
mov eax, edx
shr eax, 0x18
mov dword [ebp - 0x2b4], ebx
mov byte [ecx + 2], al
mov eax, edx
mov ebx, dword [ebp - 0x2dc]
shr eax, 0x10
mov byte [ecx - 1], dl
mov dword [ebp - 0x2a0], edx
mov byte [ebx + edi], al
mov eax, edx
mov ebx, dword [ebp - 0x2b4]
shr eax, 8
mov byte [ecx], al
mov ecx, ebx
mov eax, edx
shrd ecx, eax, 0x18
mov eax, dword [ebp - 0x2a4]
mov byte [eax - 2], cl
mov ecx, ebx
mov eax, edx
shrd ecx, eax, 0x10
mov eax, dword [ebp - 0x2a4]
mov byte [eax - 3], cl
mov ecx, ebx
mov eax, edx
shrd ecx, eax, 8
mov eax, dword [ebp - 0x2a4]
mov byte [eax - 4], cl
mov byte [eax - 5], bl
movzx eax, byte [esi - 0x2f]
cdq
mov ecx, eax
mov ebx, edx
movzx eax, byte [esi - 0x30]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi - 0x31]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi - 0x32]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi - 0x33]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ecx, eax
movzx eax, byte [esi - 0x34]
lea esi, [esi + 8]
or ebx, edx
add dword [ebp - 0x2a4], 8
shld ebx, ecx, 8
cdq
add edi, 8
shl ecx, 8
or ebx, edx
or ecx, eax
mov dword [ebp - 0x290], edi
movzx eax, byte [esi - 0x3d]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi - 0x3e]
cdq
shld ebx, ecx, 8
shl ecx, 8
or ebx, edx
xor ebx, dword [ebp - 0x2a0]
or ecx, eax
xor ecx, dword [ebp - 0x2b4]
mov eax, ebx
shr eax, 0x18
mov byte [esi - 0x37], al
mov eax, ebx
shr eax, 0x10
mov byte [esi - 0x38], al
mov eax, ebx
shr eax, 8
mov byte [esi - 0x39], al
mov eax, ebx
mov dword [ebp - 0x2b4], ecx
mov edx, dword [ebp - 0x2b4]
shrd ecx, eax, 0x18
mov eax, ebx
mov byte [esi - 0x3a], bl
mov byte [esi - 0x3b], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
mov byte [esi - 0x3e], dl
shrd eax, ebx, 8
sub dword [ebp - 0x2ac], 1
mov byte [esi - 0x3c], cl
mov byte [esi - 0x3d], al
jne 0x5932a1
mov esi, dword [ebp - 0x2a8]
lea eax, [ebp - 0x154]
push eax
add dword [esi + 0x548], 0x80
lea eax, [esi + 0x4f0]
push eax
adc dword [esi + 0x54c], 0
push esi
call fcn.00592ca0
mov ecx, dword [ebp - 0x2e0]
add esp, 0xc
mov esi, dword [ebp - 0x2b8]
add byte [ecx], 1
jne 0x593573
dec ecx
lea eax, [esi + ecx]
cmp eax, 0xc
jge 0x593565
mov edi, dword [ebp - 0x2d4]
mov ecx, edi
push dword [ebp - 0x2bc]
push dword [ebp - 0x2c0]
mov eax, dword [edi]
call dword [eax + 0x10]
mov ebx, dword [ebp - 0x298]
mov esi, dword [ebp - 0x2a8]
add ebx, 0x10
mov eax, dword [ebp - 0x2c4]
mov ecx, dword [ebp - 0x2c8]
mov dword [ebp - 0x298], ebx
cmp ebx, dword [ebp - 0x2b0]
jb 0x593280
jmp 0x593b98
xor ebx, ebx
mov dword [ebp - 0x298], ebx
test eax, eax
je 0x593b98
mov edx, dword [ebp - 0x2cc]
lea eax, [esi + 0x50f]
mov ecx, dword [ebp - 0x29c]
sub edx, ecx
mov dword [ebp - 0x2c4], eax
mov eax, 0xfffffb00
sub eax, esi
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x2c0], eax
lea edx, [esi + 0x4f0]
lea eax, [esi + 0x520]
mov dword [ebp - 0x2bc], eax
lea eax, [esi + 0x500]
mov dword [ebp - 0x2b8], eax
nop dword [eax]
lea edi, [ebx + ecx]
mov esi, 2
mov ebx, dword [ebp - 0x2c8]
nop
mov ecx, dword [ebx + edi]
lea edi, [edi + 8]
mov eax, dword [ebx + edi - 4]
lea edx, [edx + 8]
xor ecx, dword [edx + 0x28]
xor eax, dword [edx + 0x2c]
mov dword [edi - 8], ecx
mov dword [edi - 4], eax
xor dword [edx - 8], ecx
xor dword [edx - 4], eax
sub esi, 1
jne 0x593630
mov esi, dword [ebp - 0x2a8]
lea eax, [ebp - 0x154]
push eax
add dword [esi + 0x548], 0x80
lea eax, [esi + 0x4f0]
push eax
adc dword [esi + 0x54c], 0
push esi
call fcn.00592ca0
mov ecx, dword [ebp - 0x2c4]
add esp, 0xc
mov ebx, dword [ebp - 0x298]
mov esi, dword [ebp - 0x2c0]
add byte [ecx], 1
jne 0x5936a2
dec ecx
lea eax, [ecx + esi]
cmp eax, 0xc
jge 0x593694
mov edi, dword [ebp - 0x2d4]
mov ecx, edi
push dword [ebp - 0x2bc]
push dword [ebp - 0x2b8]
mov eax, dword [edi]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x2a8]
add ebx, 0x10
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x298], ebx
lea edx, [esi + 0x4f0]
cmp ebx, dword [ebp - 0x2b0]
jb 0x593620
jmp 0x593b98
cmp byte [ebp - 0x291], bl
je 0x593a6e
xor ebx, ebx
mov dword [ebp - 0x298], ebx
test eax, eax
je 0x593b98
mov edx, dword [ebp - 0x2cc]
lea eax, [esi + 0x4f6]
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x2c8], eax
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x2c0], eax
lea eax, [esi + 0x50f]
mov dword [ebp - 0x2bc], eax
mov eax, 0xfffffb00
sub eax, esi
add ecx, 6
mov dword [ebp - 0x2b8], eax
lea eax, [esi + 0x520]
mov dword [ebp - 0x2e0], eax
lea eax, [esi + 0x500]
mov dword [ebp - 0x2dc], eax
lea eax, [edx + 5]
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2e4], ecx
nop dword [eax + eax]
mov esi, dword [ebp - 0x2c8]
add eax, ebx
add ebx, ecx
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x290], 2
movzx eax, byte [ebx + 1]
cdq
mov edi, eax
mov ecx, edx
shld ecx, edi, 8
movzx eax, byte [ebx]
cdq
or ecx, edx
shl edi, 8
or edi, eax
movzx eax, byte [ebx - 1]
shld ecx, edi, 8
cdq
or ecx, edx
shl edi, 8
or edi, eax
movzx eax, byte [ebx - 2]
shld ecx, edi, 8
cdq
or ecx, edx
shl edi, 8
or edi, eax
movzx eax, byte [ebx - 3]
shld ecx, edi, 8
cdq
or ecx, edx
shl edi, 8
or edi, eax
movzx eax, byte [ebx - 4]
shld ecx, edi, 8
cdq
or ecx, edx
shl edi, 8
or edi, eax
movzx eax, byte [ebx - 5]
shld ecx, edi, 8
cdq
or ecx, edx
shl edi, 8
or edi, eax
movzx eax, byte [ebx - 6]
shld ecx, edi, 8
cdq
or ecx, edx
shl edi, 8
or edi, eax
mov dword [ebp - 0x2ac], ecx
movzx eax, byte [esi + 1]
cdq
mov ecx, eax
mov ebx, edx
movzx eax, byte [esi]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi - 1]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi - 2]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi - 3]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi - 4]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ecx, eax
or ebx, edx
shld ebx, ecx, 8
movzx eax, byte [esi - 5]
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi - 6]
shld ebx, ecx, 8
cdq
or ebx, edx
shl ecx, 8
xor ebx, dword [ebp - 0x2ac]
or ecx, eax
mov eax, ebx
mov byte [esi - 2], bl
shr eax, 0x18
xor ecx, edi
mov byte [esi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
mov eax, ebx
shr eax, 8
mov dword [ebp - 0x2c4], ecx
mov edx, dword [ebp - 0x2c4]
mov byte [esi - 1], al
mov eax, ebx
shrd ecx, eax, 0x18
mov eax, ebx
mov byte [esi - 6], dl
mov byte [esi - 3], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
shrd eax, ebx, 8
mov byte [esi - 4], cl
mov byte [esi - 5], al
movzx eax, byte [esi + 0x31]
cdq
mov ecx, eax
mov ebx, edx
movzx eax, byte [esi + 0x30]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 0x2f]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 0x2e]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 0x2d]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 0x2c]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 0x2b]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ebx, edx
or ecx, eax
movzx eax, byte [esi + 0x2a]
shld ebx, ecx, 8
cdq
shl ecx, 8
or ecx, eax
lea esi, [esi + 8]
or ebx, edx
xor ecx, edi
xor ebx, dword [ebp - 0x2ac]
mov edi, dword [ebp - 0x2a4]
mov eax, ebx
mov edx, dword [ebp - 0x2a0]
shr eax, 0x18
mov dword [ebp - 0x2b4], ecx
mov ecx, dword [ebp - 0x2c0]
mov byte [edi + 2], al
mov eax, ebx
shr eax, 0x10
mov byte [edi - 1], bl
mov byte [ecx + edx], al
mov eax, ebx
mov ecx, dword [ebp - 0x2b4]
mov edx, dword [ebp - 0x2b4]
shr eax, 8
mov byte [edi], al
mov eax, ebx
shrd ecx, eax, 0x18
mov eax, ebx
mov byte [edi - 5], dl
mov byte [edi - 2], cl
mov ecx, edx
shrd ecx, eax, 0x10
mov eax, edx
shrd eax, ebx, 8
mov ebx, dword [ebp - 0x2a0]
mov byte [edi - 3], cl
add ebx, 8
mov byte [edi - 4], al
add edi, 8
sub dword [ebp - 0x290], 1
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x2a4], edi
jne 0x593790
mov esi, dword [ebp - 0x2a8]
lea eax, [ebp - 0x154]
push eax
add dword [esi + 0x548], 0x80
lea eax, [esi + 0x4f0]
push eax
adc dword [esi + 0x54c], 0
push esi
call fcn.00592ca0
mov ecx, dword [ebp - 0x2bc]
add esp, 0xc
mov esi, dword [ebp - 0x2b8]
add byte [ecx], 1
jne 0x593a23
dec ecx
lea eax, [esi + ecx]
cmp eax, 0xc
jge 0x593a15
mov edi, dword [ebp - 0x2d4]
mov ecx, edi
push dword [ebp - 0x2e0]
push dword [ebp - 0x2dc]
mov eax, dword [edi]
call dword [eax + 0x10]
mov ebx, dword [ebp - 0x298]
mov esi, dword [ebp - 0x2a8]
add ebx, 0x10
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [ebp - 0x2e4]
mov dword [ebp - 0x298], ebx
cmp ebx, dword [ebp - 0x2b0]
jb 0x593770
jmp 0x593b98
xor ebx, ebx
mov dword [ebp - 0x298], ebx
test eax, eax
je 0x593b98
mov edx, dword [ebp - 0x2cc]
lea eax, [esi + 0x4f0]
mov ecx, dword [ebp - 0x29c]
sub edx, ecx
mov dword [ebp - 0x2e4], eax
lea eax, [esi + 0x50f]
mov dword [ebp - 0x2c4], eax
mov eax, 0xfffffb00
sub eax, esi
mov dword [ebp - 0x2c8], edx
mov dword [ebp - 0x2c0], eax
lea eax, [esi + 0x520]
mov dword [ebp - 0x2bc], eax
lea eax, [esi + 0x500]
mov dword [ebp - 0x2b8], eax
nop
mov edi, dword [ebp - 0x2e4]
lea edx, [ebx + ecx]
mov ebx, dword [ebp - 0x2c8]
mov esi, 2
mov eax, dword [edx]
lea edi, [edi + 8]
xor dword [edi - 8], eax
lea edx, [edx + 8]
mov eax, dword [edx - 4]
xor dword [edi - 4], eax
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x2c]
xor ecx, dword [edx - 8]
xor eax, dword [edx - 4]
mov dword [ebx + edx - 8], ecx
mov dword [ebx + edx - 4], eax
sub esi, 1
jne 0x593ae4
mov esi, dword [ebp - 0x2a8]
lea eax, [ebp - 0x154]
push eax
add dword [esi + 0x548], 0x80
lea eax, [esi + 0x4f0]
push eax
adc dword [esi + 0x54c], 0
push esi
call fcn.00592ca0
mov ecx, dword [ebp - 0x2c4]
add esp, 0xc
mov ebx, dword [ebp - 0x298]
mov esi, dword [ebp - 0x2c0]
nop
add byte [ecx], 1
jne 0x593b5e
dec ecx
lea eax, [ecx + esi]
cmp eax, 0xc
jge 0x593b50
mov edi, dword [ebp - 0x2d4]
mov ecx, edi
push dword [ebp - 0x2bc]
push dword [ebp - 0x2b8]
mov eax, dword [edi]
call dword [eax + 0x10]
mov esi, dword [ebp - 0x2a8]
add ebx, 0x10
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x298], ebx
cmp ebx, dword [ebp - 0x2b0]
jb 0x593ad0
mov eax, dword [ebp + 0x1c]
cmp ebx, eax
jae 0x593c7e
mov ecx, dword [ebp - 0x2cc]
sub dword [ebp - 0x29c], ecx
sub eax, ebx
mov dword [ebp + 0x1c], eax
lea edx, [ebx + ecx]
mov ebx, dword [ebp - 0x29c]
mov dword [ebp - 0x2ac], edx
mov eax, dword [esi + 0x538]
cmp eax, 0x10
jne 0x593c38
add dword [esi + 0x548], 0x80
lea eax, [ebp - 0x154]
push eax
adc dword [esi + 0x54c], 0
lea eax, [esi + 0x4f0]
push eax
push esi
call fcn.00592ca0
mov edx, 0xfffffb00
lea ecx, [esi + 0x50f]
add esp, 0xc
sub edx, esi
add byte [ecx], 1
jne 0x593c11
dec ecx
lea eax, [ecx + edx]
cmp eax, 0xc
jge 0x593c03
mov edx, dword [edi]
lea eax, [esi + 0x520]
push eax
lea eax, [esi + 0x500]
mov ecx, edi
push eax
call dword [edx + 0x10]
mov edx, dword [ebp - 0x2ac]
xor eax, eax
mov dword [esi + 0x538], 0
cmp byte [ebp + 8], 0
je 0x593c4c
mov cl, byte [eax + esi + 0x520]
xor cl, byte [edx]
mov byte [edx + ebx], cl
jmp 0x593c5a
mov cl, byte [edx + ebx]
mov al, byte [eax + esi + 0x520]
xor al, cl
mov byte [edx], al
mov eax, dword [esi + 0x538]
inc edx
mov dword [ebp - 0x2ac], edx
xor byte [esi + eax + 0x4f0], cl
inc dword [esi + 0x538]
sub dword [ebp + 0x1c], 1
jne 0x593bc3
push dword [ebp - 0x2e8]
mov ecx, dword [ebp - 0x2d0]
call fcn.0043a9f0
lea ecx, [ebp - 0x154]
mov bl, 1
call fcn.00449950
jmp 0x593042