Function at 0x433d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x74
mov esi, dword [ecx + 0xc]
mov dword [ebp - 0x28], edx
cmp esi, 0xffffffff
je 0x4346ea
mov ebx, dword [ecx + 4]
mov edi, ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], edi
lea edx, [ebx + 1]
mov dword [ebp - 0x54], ebx
mov eax, edx
mov ecx, edx
shr eax, 3
and ecx, 0xfffffff8
sub ecx, eax
cmp ebx, 8
mov eax, ecx
mov dword [ebp - 0x78], ecx
cmovb eax, ebx
mov ecx, eax
shr ecx, 1
cmp esi, ecx
jae 0x433da4
mov ecx, edx
mov ebx, dword [edi]
xor eax, eax
mov edi, edx
shr ecx, 4
test dl, 0xf
setne al
add eax, ecx
je 0x433d86
movdqa xmm0, xmmword [0x457b60]
mov ecx, ebx
nop word [eax + eax]
pxor xmm1, xmm1
dec eax
pcmpgtb xmm1, xmmword [ecx]
por xmm1, xmm0
movdqa xmmword [ecx], xmm1
lea ecx, [ecx + 0x10]
jne 0x433d70
cmp edi, 0x10
jae 0x433dc9
lea eax, [ebx + 0x10]
push edi
push ebx
push eax
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
add esp, 0xc
test edi, edi
jne 0x433ddd
xor ecx, ecx
jmp 0x434476
cmp esi, eax
mov dword [ebp - 0x40], edx
cmova eax, esi
cmp eax, 7
jae 0x434483
xor ecx, ecx
cmp eax, 3
setae cl
lea esi, [ecx*4 + 4]
jmp 0x4344c1
movq xmm0, qword [ebx]
movq xmm1, qword [ebx + 8]
movq qword [ebx + edi + 8], xmm1
movq qword [ebx + edi], xmm0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x7c], ebx
mov ecx, dword [eax]
mov edi, dword [eax + 8]
mov dword [ebp - 0x40], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 0xc]
mov edx, ecx
xor ecx, 0x6c796765
xor edx, 0x736f6d65
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x40]
xor dword [ebp - 0x40], 0x6e657261
xor edx, 0x70736575
mov dword [ebp - 0x64], edx
mov edx, eax
xor eax, 0x74656462
xor edx, 0x646f7261
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x60], edx
mov edx, edi
xor edi, 0x79746573
mov dword [ebp - 0x70], edi
mov edi, dword [ebp - 0x54]
xor edx, 0x6e646f6d
mov dword [ebp - 0x5c], edx
jmp 0x433e75
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x50]
lea eax, [ecx - 0x10]
shr edx, 0x19
and eax, edi
mov byte [ebx + ecx], dl
mov byte [ebx + eax + 0x10], dl
mov eax, ecx
cmp eax, edi
lea eax, [eax + 1]
je 0x43446d
mov dword [ebp - 0x48], eax
xor eax, eax
mov ecx, dword [ebp - 0x48]
cmp al, byte [ebx + ecx]
mov eax, dword [ebp - 0x48]
jno 0x433e6a
mov ecx, eax
shl eax, 4
not ecx
shl ecx, 4
add ecx, ebx
sub ebx, eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x80], ebx
nop dword [eax]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x64]
mov edx, dword [eax - 8]
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x68]
mov eax, edx
mov dword [ebp - 0x10], ecx
mov ecx, 0
mov dword [ebp - 0x2c], edx
and eax, 0xfffffff8
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x40]
je 0x433fe8
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x60]
mov edx, dword [ebp - 0x70]
mov ebx, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x74]
dec eax
and eax, 0xfffffff8
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x10], ecx
nop dword [eax]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ecx, dword [ecx + eax + 4]
mov dword [ebp - 0x30], ecx
xor ebx, ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx + eax]
xor edx, eax
add esi, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov ecx, edx
adc dword [ebp - 0x10], edi
add dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x28]
adc eax, ebx
mov dword [ebp - 0x18], eax
mov eax, edx
shld eax, edi, 0xd
shld edi, edx, 0xd
mov edx, ecx
shrd ecx, ebx, 0x10
shld edx, ebx, 0x10
mov ebx, dword [ebp - 0x14]
xor eax, esi
xor edi, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x18]
xor edx, ebx
add ebx, eax
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x18]
adc ebx, edi
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
add ebx, edx
adc esi, ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x18], esi
mov esi, eax
shld esi, edi, 0x11
shld edi, eax, 0x11
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], esi
mov esi, edx
shrd edx, ecx, 0xb
xor edi, dword [ebp - 0x14]
shld esi, ecx, 0x15
mov ecx, dword [ebp - 0x18]
mov ebx, edx
mov edx, esi
mov esi, dword [ebp - 0x3c]
xor dword [ebp - 0x28], eax
xor ebx, ecx
xor ecx, dword [ebp - 0x30]
xor edx, esi
xor esi, dword [ebp - 0x34]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x24]
add ecx, 8
cmp ecx, dword [ebp - 0x38]
mov eax, ecx
jb 0x433f20
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
add ecx, 8
mov edx, edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x30], ebx
and edx, 7
cmp edx, 4
mov dword [ebp - 0x20], edx
jb 0x434020
mov eax, dword [edi + ecx]
mov esi, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], eax
xor eax, eax
jmp 0x434032
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
xor eax, eax
xor esi, esi
mov ebx, dword [ebp - 0x20]
mov ecx, esi
or ecx, 1
cmp ecx, ebx
jae 0x434090
mov edx, dword [ebp - 0x44]
lea ecx, [edi + esi]
mov ebx, edi
xor edi, edi
movzx edx, word [edx + ecx]
lea ecx, [esi*8]
shld edi, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, dword [ebp - 0x20]
cmovne edi, edx
cmovne edx, eax
or esi, 2
or dword [ebp - 0x38], edi
or dword [ebp - 0x3c], edx
cmp esi, ecx
jb 0x434098
mov edi, dword [ebp - 0x2c]
inc edi
test ecx, ecx
je 0x4341ce
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x38]
jmp 0x4340cb
mov ecx, ebx
mov ebx, edi
cmp esi, ecx
jae 0x434071
mov ecx, dword [ebp - 0x44]
xor edi, edi
mov eax, 0
add ecx, esi
shl esi, 3
movzx edx, byte [ebx + ecx]
mov ebx, dword [ebp - 0x38]
mov ecx, esi
shld edi, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, dword [ebp - 0x20]
cmovne edi, edx
cmovne edx, eax
inc dword [ebp - 0x2c]
or ebx, edi
mov edi, dword [ebp - 0x3c]
or edi, edx
mov esi, ecx
lea ecx, [ecx*8]
xor eax, eax
mov edx, 0xff
shld eax, edx, cl
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
or edx, edi
or eax, ebx
cmp esi, 7
mov dword [ebp - 0x20], edx
jne 0x4341c0
mov esi, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor edi, eax
xor esi, edx
add dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edi
mov ebx, dword [ebp - 0x30]
adc dword [ebp - 0x10], eax
add dword [ebp - 0x14], esi
adc edx, edi
mov edi, ecx
shld edi, eax, 0xd
shld eax, ecx, 0xd
mov ecx, esi
shld ecx, ebx, 0x10
mov ebx, dword [ebp - 0x30]
xor edi, dword [ebp - 0x18]
xor eax, dword [ebp - 0x10]
shrd esi, ebx, 0x10
mov ebx, dword [ebp - 0x14]
xor esi, edx
xor ecx, ebx
add ebx, edi
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x10]
adc edx, eax
mov dword [ebp - 0x1c], edx
mov edx, edi
add ebx, ecx
adc dword [ebp - 0x18], esi
shrd edx, eax, 0xf
shld edi, eax, 0x11
mov dword [ebp - 0x14], edx
mov edx, ecx
shrd ecx, esi, 0xb
mov eax, dword [ebp - 0x18]
shld edx, esi, 0x15
mov esi, ebx
xor esi, dword [ebp - 0x20]
xor edx, ebx
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x20], 0
xor ecx, eax
xor eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
xor edi, ebx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x28], edi
mov edi, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
xor eax, eax
xor esi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edx
mov edx, edi
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x14], ecx
mov ecx, ebx
jmp 0x4341e0
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x30]
jmp 0x4341e0
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0x20], 0xff
shl edi, 0x18
mov ebx, dword [ebp - 0x28]
or edi, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edi
xor edx, edi
mov edi, dword [ebp - 0x14]
xor eax, dword [ebp - 0x20]
add dword [ebp - 0x18], ebx
adc dword [ebp - 0x10], esi
add edi, eax
adc ecx, edx
mov dword [ebp - 0x1c], ecx
mov ecx, ebx
shld ecx, esi, 0xd
shld esi, ebx, 0xd
mov ebx, edx
mov edx, eax
shld edx, ebx, 0x10
shrd eax, ebx, 0x10
mov ebx, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x18]
xor edx, edi
xor esi, ebx
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x1c]
xor eax, esi
add edi, ecx
adc esi, dword [ebp - 0x24]
add ebx, edx
mov dword [ebp - 0x14], edi
mov edi, ecx
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
mov esi, dword [ebp - 0x24]
adc ebx, eax
shld edi, esi, 0x11
shrd ecx, esi, 0xf
mov esi, edx
shrd edx, eax, 0xb
shld esi, eax, 0x15
mov eax, ebx
xor edx, ebx
mov ebx, dword [ebp - 0x1c]
xor edi, dword [ebp - 0x14]
xor eax, dword [ebp - 0x2c]
xor ecx, ebx
xor ebx, 0xff
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
xor esi, eax
xor eax, dword [ebp - 0x20]
add eax, edi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
adc eax, ecx
add ebx, esi
mov dword [ebp - 0x1c], ebx
mov ebx, edi
adc dword [ebp - 0x14], edx
shrd edi, ecx, 0x13
mov dword [ebp - 0x18], eax
shld ebx, ecx, 0xd
mov ecx, esi
xor edi, eax
shrd esi, edx, 0x10
mov eax, dword [ebp - 0x1c]
shld ecx, edx, 0x10
mov edx, dword [ebp - 0x14]
xor ebx, dword [ebp - 0x10]
xor ecx, eax
xor esi, edx
add eax, ebx
adc edx, edi
add dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], eax
mov eax, ecx
mov dword [ebp - 0x14], edx
mov edx, ebx
adc dword [ebp - 0x10], esi
shld edx, edi, 0x11
shrd ecx, esi, 0xb
shrd ebx, edi, 0xf
shld eax, esi, 0x15
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
xor edx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0x10]
xor ebx, edi
xor eax, esi
add esi, edx
adc dword [ebp - 0x10], ebx
add edi, eax
mov dword [ebp - 0x18], esi
mov esi, edx
adc dword [ebp - 0x1c], ecx
shld esi, ebx, 0xd
shrd edx, ebx, 0x13
mov ebx, eax
shrd eax, ecx, 0x10
shld ebx, ecx, 0x10
mov ecx, dword [ebp - 0x1c]
xor esi, dword [ebp - 0x18]
xor edx, dword [ebp - 0x10]
xor ebx, edi
xor eax, ecx
add edi, esi
adc ecx, edx
add dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ecx
mov ecx, esi
adc dword [ebp - 0x18], eax
shld ecx, edx, 0x11
shrd esi, edx, 0xf
mov edx, ebx
shrd ebx, eax, 0xb
shld edx, eax, 0x15
mov eax, dword [ebp - 0x10]
xor esi, dword [ebp - 0x1c]
xor ecx, edi
xor ebx, dword [ebp - 0x18]
xor edx, eax
add eax, ecx
adc dword [ebp - 0x18], esi
add dword [ebp - 0x1c], edx
mov dword [ebp - 0x10], eax
mov eax, ecx
adc edi, ebx
shld eax, esi, 0xd
shrd ecx, esi, 0x13
mov esi, edx
shrd edx, ebx, 0x10
shld esi, ebx, 0x10
mov ebx, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x10]
xor ecx, dword [ebp - 0x18]
xor edx, edi
xor esi, ebx
add ebx, eax
adc edi, ecx
shld esi, edx, 0x15
shrd ecx, eax, 0xf
xor esi, ecx
mov ecx, dword [ebp - 0x54]
mov edx, edi
xor edx, ebx
mov ebx, dword [ebp - 0x7c]
xor edx, esi
mov dword [ebp - 0x14], edx
mov eax, ecx
mov edi, ecx
and eax, edx
movdqu xmm0, xmmword [ebx + eax]
mov edx, eax
pmovmskb ecx, xmm0
test ecx, ecx
jne 0x4343c4
mov esi, 0x10
mov edx, eax
nop word cs:[eax + eax]
add edx, esi
add esi, 0x10
and edx, edi
movdqu xmm0, xmmword [ebx + edx]
pmovmskb ecx, xmm0
test ecx, ecx
je 0x4343b0
tzcnt ecx, ecx
add ecx, edx
and ecx, edi
cmp byte [ebx + ecx], 0
js 0x4343de
movdqa xmm0, xmmword [ebx]
pmovmskb ecx, xmm0
tzcnt ecx, ecx
mov edx, dword [ebp - 0x48]
mov esi, ecx
sub esi, eax
sub edx, eax
xor esi, edx
and esi, edi
cmp esi, 0x10
jb 0x433e50
movzx eax, byte [ebx + ecx]
lea edx, [ecx - 0x10]
mov esi, dword [ebp - 0x50]
and edx, edi
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x14]
shr eax, 0x19
mov byte [ebx + ecx], al
not ecx
mov byte [ebx + edx + 0x10], al
shl ecx, 4
add ecx, ebx
cmp byte [ebp - 0x10], 0xff
je 0x434440
mov eax, dword [ebp - 0x58]
movdqu xmm1, xmmword [ecx]
movdqu xmm0, xmmword [eax]
movdqu xmmword [eax], xmm1
movdqu xmmword [ecx], xmm0
jmp 0x433ea0
mov edx, dword [ebp - 0x48]
lea eax, [edx - 0x10]
mov byte [ebx + edx], 0xff
and eax, edi
mov byte [ebx + eax + 0x10], 0xff
mov eax, edx
mov edx, dword [ebp - 0x58]
movq xmm0, qword [edx]
movq xmm1, qword [edx + 8]
movq qword [ecx + 8], xmm1
movq qword [ecx], xmm0
jmp 0x433e6a
mov ecx, dword [ebp - 0x78]
cmp edi, 8
cmovb ecx, edi
mov eax, dword [ebp - 0x4c]
sub ecx, esi
mov dword [eax + 8], ecx
jmp 0x4346dd
cmp eax, 0x1ffffffe
ja 0x4346ea
lea ecx, [eax*8 + 8]
mov edx, 0x24924925
mov esi, 0xffffffff
mov eax, ecx
mul edx
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 2
dec ecx
bsr ecx, ecx
not ecx
shr esi, cl
cmp esi, 0xffffffe
ja 0x4346ea
inc esi
mov ebx, esi
lea edi, [esi + 0x10]
shl ebx, 4
mov edx, ebx
add edx, edi
jb 0x4346ea
cmp edx, 0x7ffffff1
jae 0x4346ea
movzx eax, byte [0x4af0d4]
add edx, 0x10
xor ecx, ecx
call fcn.0042bb70
test eax, eax
je 0x4346ea
mov ecx, eax
mov edx, esi
and ecx, 0xfffffff0
and edx, 0xfffffff8
mov dword [ecx + 0xc], eax
mov eax, esi
shr eax, 3
sub edx, eax
cmp esi, 9
lea esi, [esi - 1]
lea eax, [ecx + ebx + 0x10]
cmovb edx, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x44], edx
push edi
mov edi, eax
push 0xff
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x4346a4
mov eax, dword [ebp - 0x4c]
xor esi, esi
mov ebx, dword [eax]
movdqa xmm0, xmmword [ebx]
mov dword [ebp - 0x20], ebx
pmovmskb eax, xmm0
not eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x3c], edx
mov edx, edi
mov edi, ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
lea eax, [ebx - 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], edx
jmp 0x4345da
mov eax, dword [ebp - 0x18]
lea edx, [ecx - 0x10]
and edx, dword [ebp - 0x10]
shr eax, 0x19
mov byte [edi + ecx], al
mov byte [edi + edx + 0x10], al
mov edx, dword [ebp - 0x14]
not ecx
shl ecx, 4
lea eax, [edx - 1]
and eax, edx
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov eax, edi
mov edi, dword [ebp - 0x1c]
not edi
shl edi, 4
movq xmm0, qword [edx + edi]
movq xmm1, qword [edx + edi + 8]
mov edi, dword [ebp - 0x28]
mov edx, eax
movq qword [eax + ecx + 8], xmm1
movq qword [eax + ecx], xmm0
mov eax, dword [ebp - 0x4c]
dec edi
mov ecx, dword [ebp - 0x14]
test edi, edi
je 0x43469d
test cx, cx
mov dword [ebp - 0x28], edi
jne 0x434609
nop word cs:[eax + eax]
nop dword [eax]
movdqa xmm0, xmmword [ebx + 0x10]
add ebx, 0x10
add esi, 0x10
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x4345f0
not ecx
mov edi, dword [ebp - 0x2c]
tzcnt eax, ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x30]
add eax, esi
mov dword [ebp - 0x1c], eax
shl eax, 4
sub edi, eax
push dword [edi + 8]
push dword [edi + 4]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
call fcn.0042d070
add esp, 0x10
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
and edx, eax
movdqu xmm0, xmmword [edi + edx]
pmovmskb ecx, xmm0
test ecx, ecx
jne 0x434677
mov eax, edi
mov edi, 0x10
nop word cs:[eax + eax]
add edx, edi
add edi, 0x10
and edx, dword [ebp - 0x10]
movdqu xmm0, xmmword [eax + edx]
pmovmskb ecx, xmm0
test ecx, ecx
je 0x434660
mov edi, eax
mov eax, dword [ebp - 0x10]
tzcnt ecx, ecx
add ecx, edx
and ecx, eax
cmp byte [edi + ecx], 0
js 0x434580
movdqa xmm0, xmmword [edi]
pmovmskb ecx, xmm0
tzcnt ecx, ecx
jmp 0x434580
mov ecx, dword [ebp - 0x50]
mov edi, edx
jmp 0x4346ac
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x10]
mov dword [eax], edi
sub edx, ecx
cmp dword [ebp - 0x54], 0
mov dword [eax + 4], esi
mov dword [eax + 8], edx
je 0x4346dd
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
shl eax, 4
sub ecx, eax
push dword [ecx - 4]
push 0
push dword [0x4af0c0]
call sub.kernel32.dll_HeapFree
mov eax, 0x80000001
add esp, 0x74
pop esi
pop edi
pop ebx
pop ebp
ret
ud2