Function at 0x540f30
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x88
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], eax
inc eax
je 0x541b2d
mov ebp, dword [ecx + 4]
mov dword [esp + 0x30], ecx
lea ebx, [ebp + 1]
mov dword [esp + 0x74], ebp
mov edx, ebx
mov esi, ebx
shr edx, 3
and esi, 0xfffffff8
sub esi, edx
cmp ebp, 8
cmovb esi, ebp
mov edx, esi
shr edx, 1
cmp eax, edx
jbe 0x540f97
inc esi
cmp eax, esi
cmova esi, eax
cmp esi, 8
jae 0x541014
xor eax, eax
cmp esi, 4
setae al
lea eax, [eax*4 + 4]
jmp 0x54104d
mov dword [esp + 0x58], esi
mov esi, dword [ecx]
mov ecx, ebx
xor eax, eax
shr ecx, 4
test bl, 0xf
setne al
add eax, ecx
je 0x540fd6
movdqa xmm0, xmmword [0x5476c0]
mov ecx, esi
nop dword [eax + eax]
pxor xmm1, xmm1
dec eax
pcmpgtb xmm1, xmmword [ecx]
por xmm1, xmm0
movdqa xmmword [ecx], xmm1
lea ecx, [ecx + 0x10]
jne 0x540fc0
cmp ebx, 0x10
jae 0x5410ba
lea eax, [esi + 0x10]
push ebx
push esi
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov ecx, dword [esp + 0x24]
cmp ebp, 0xffffffff
jne 0x5410d2
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x30]
sub edx, ecx
mov dword [eax + 8], edx
jmp 0x541b1d
cmp esi, 0x20000000
jae 0x541b2d
shl esi, 3
mov eax, 1
cmp esi, 0xe
jb 0x54104d
mov ecx, 0x24924925
mov eax, esi
mul ecx
mov eax, 0xffffffff
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 2
dec esi
bsr ecx, esi
not ecx
shr eax, cl
inc eax
mov ecx, 0xc
mov edi, eax
mul ecx
jo 0x541b2d
add eax, 0xf
jb 0x541b2d
and eax, 0xfffffff0
lea ecx, [edi + 0x10]
mov esi, eax
add esi, ecx
jb 0x541b2d
cmp esi, 0x7ffffff1
jae 0x541b2d
test esi, esi
mov dword [esp + 8], ecx
mov dword [esp + 0x14], eax
je 0x54192d
movzx eax, byte [0x5b9430]
lea edx, [esi + 0x10]
xor ecx, ecx
call fcn.0051b940
test eax, eax
je 0x541b32
mov esi, eax
and esi, 0xfffffff0
mov dword [esi + 0xc], eax
add esi, 0x10
jmp 0x541932
mov ecx, dword [esp + 0x24]
movq xmm0, qword [esi]
movq xmm1, qword [esi + 8]
movq qword [esi + ebx + 8], xmm1
movq qword [esi + ebx], xmm0
mov ebx, dword [esp + 0x9c]
mov edx, dword [esp + 0x2c]
lea eax, [esi - 0xc]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x7c], eax
mov eax, ebx
mov dword [esp + 0x3c], esi
xor ebx, 0x6c796765
xor esi, 0x646f7261
xor dword [esp + 0x3c], 0x74656462
xor eax, 0x736f6d65
mov dword [esp + 0x6c], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x38], eax
mov eax, edx
xor edx, 0x6e657261
xor eax, 0x70736575
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa0]
mov edi, eax
xor eax, 0x79746573
xor edi, 0x6e646f6d
mov dword [esp + 0x70], eax
add dword [esp + 0x34], edi
mov eax, edi
adc edx, esi
shld eax, esi, 0xd
shrd edi, esi, 0x13
xor eax, dword [esp + 0x34]
xor edi, edx
mov dword [esp + 0x38], edx
mov edx, edi
mov dword [esp + 0x68], edi
shld edx, eax, 0x11
mov dword [esp + 0x64], eax
shld eax, edi, 0x11
mov dword [esp + 0x60], edx
xor edx, edx
mov dword [esp + 0x5c], eax
jmp 0x5411b2
mov edx, dword [esp + 0x44]
shr eax, 0x19
lea ecx, [edx - 0x10]
mov byte [ebx + edx], al
and ecx, ebp
mov byte [ecx + ebx + 0x10], al
mov ecx, dword [esp + 0x24]
cmp edx, ebp
lea edx, [edx + 1]
je 0x541002
cmp byte [ebx + edx], 0x80
jne 0x5411a7
lea eax, [edx*4]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x44], edx
lea eax, [eax + eax*2]
sub ebx, eax
mov eax, edx
neg eax
add ebx, 0xfffffff4
lea eax, [eax + eax*2]
mov dword [esp + 0x78], ebx
lea eax, [ecx + eax*4]
mov dword [esp + 0x84], eax
nop word cs:[eax + eax]
nop
mov eax, dword [esp + 0x84]
mov edx, 4
mov ebx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, 4
mov dword [esp + 0x10], eax
cmovb edx, eax
xor esi, esi
mov eax, 0
cmp edx, 4
jae 0x541280
mov ecx, eax
or ecx, 1
cmp ecx, edx
jb 0x541291
cmp eax, edx
jb 0x5412bb
mov eax, dword [esp + 0x10]
lea ecx, [eax + 4]
cmp eax, 4
jae 0x5412e3
mov eax, dword [esp + 0x5c]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x3c]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
jmp 0x5415bd
mov esi, dword [ebx + 8]
mov eax, 4
mov ecx, eax
or ecx, 1
cmp ecx, edx
jae 0x541220
mov edi, esi
movzx esi, word [ebx + eax + 8]
lea ecx, [eax*8]
mov ebp, 0
shl esi, cl
test cl, 0x20
cmovne esi, ebp
or eax, 2
or edi, esi
mov esi, edi
cmp eax, edx
jae 0x541228
movzx edx, byte [ebx + eax + 8]
shl eax, 3
mov ecx, eax
shl edx, cl
test al, 0x20
mov ecx, 0
cmovne edx, ecx
or esi, edx
mov eax, dword [esp + 0x10]
lea ecx, [eax + 4]
cmp eax, 4
jb 0x541238
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 8], esi
xor ecx, dword [esp + 0x10]
xor eax, esi
mov esi, dword [esp + 0x6c]
add ebx, ecx
mov edx, ecx
adc esi, eax
shld edx, eax, 0x10
shrd ecx, eax, 0x10
xor edx, ebx
xor ecx, esi
mov eax, esi
mov ebp, edx
mov esi, ecx
mov edi, edx
add ebp, dword [esp + 0x38]
adc esi, dword [esp + 0x34]
shld edi, ecx, 0x15
shrd edx, ecx, 0xb
xor edi, ebp
mov dword [esp + 0x50], edi
xor edx, esi
add ebx, dword [esp + 0x64]
mov ecx, esi
mov dword [esp + 0x4c], edx
adc eax, dword [esp + 0x68]
mov edx, ebx
xor ecx, dword [esp + 8]
xor edx, dword [esp + 0x5c]
mov esi, eax
mov dword [esp], ecx
xor esi, dword [esp + 0x60]
mov dword [esp + 0xc], edx
mov dword [esp + 4], esi
mov esi, dword [esp + 0x10]
xor ebp, esi
add esi, 0xfffffffc
mov edx, esi
and edx, 7
and esi, 0xfffffff8
mov dword [esp + 0x10], esi
je 0x5414c9
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], edx
mov dword [esp + 0x1c], ebx
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0xc]
mov ebx, dword [esp]
mov dword [esp + 8], 0xc
add ecx, 0xfffffffb
and ecx, 0xfffffff8
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 4]
nop
mov dword [esp + 0x14], ebp
mov dword [esp + 4], ecx
mov ebp, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + ebp + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x18]
xor edi, dword [esp + 0xc]
mov ecx, dword [ecx + ebp]
mov ebp, dword [esp + 4]
mov dword [esp + 0x28], ecx
xor edx, ecx
mov ecx, dword [esp + 0x14]
add ecx, esi
adc ebx, ebp
mov dword [esp], ebx
mov ebx, ebp
mov ebp, esi
shld ebp, ebx, 0xd
shld ebx, esi, 0xd
mov esi, dword [esp + 0x1c]
xor ebx, dword [esp]
xor ebp, ecx
add eax, edx
mov dword [esp + 0x20], eax
mov eax, edx
adc esi, edi
shld eax, edi, 0x10
shrd edx, edi, 0x10
mov edi, dword [esp]
xor eax, dword [esp + 0x20]
xor edx, esi
add edi, eax
adc ecx, edx
mov dword [esp + 4], edi
mov dword [esp + 0x14], ecx
mov ecx, eax
shrd eax, edx, 0xb
shld ecx, edx, 0x15
mov edi, eax
mov eax, esi
mov esi, ebp
mov edx, ecx
mov ecx, dword [esp + 0x20]
xor edi, dword [esp + 0x14]
xor edx, dword [esp + 4]
add ecx, ebp
adc eax, ebx
shld esi, ebx, 0x11
shld ebx, ebp, 0x11
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
xor esi, ecx
mov ecx, dword [esp + 8]
xor ebx, eax
xor ebp, dword [esp + 0xc]
mov dword [esp], ebp
mov ebp, dword [esp + 4]
xor ebp, dword [esp + 0x28]
cmp ecx, dword [esp + 0x10]
lea ecx, [ecx + 8]
mov dword [esp + 8], ecx
mov ecx, ebx
mov ebx, dword [esp]
jb 0x5413b0
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x4c], edi
add ecx, 0xc
cmp edx, 4
mov dword [esp + 0x20], eax
jb 0x5414d7
mov eax, dword [esp + 0x18]
mov dword [esp + 8], 0
mov eax, dword [eax + ecx + 8]
mov dword [esp + 0x10], eax
mov eax, 4
jmp 0x5414e9
mov ecx, 4
cmp edx, 4
mov dword [esp + 0x20], eax
jae 0x5414ae
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
xor eax, eax
mov dword [esp + 0x14], ebp
mov ebp, eax
or eax, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x48], ecx
cmp eax, edx
jae 0x541532
lea eax, [ebp + ecx]
mov ecx, dword [esp + 0x18]
movzx esi, word [ecx + eax + 8]
lea ecx, [ebp*8]
xor eax, eax
shld eax, esi, cl
shl esi, cl
test cl, 0x20
mov ecx, 0
cmovne eax, esi
cmovne esi, ecx
or ebp, 2
or dword [esp + 8], eax
or dword [esp + 0x10], esi
cmp ebp, edx
jae 0x541567
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
mov ecx, ebp
shl ecx, 3
add edx, ebp
movzx esi, byte [eax + edx + 8]
xor eax, eax
shld eax, esi, cl
shl esi, cl
test cl, 0x20
mov ecx, 0
cmovne eax, esi
cmovne esi, ecx
or dword [esp + 8], eax
or dword [esp + 0x10], esi
mov ebp, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp]
mov ebx, dword [esp + 4]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add edi, ebp
mov esi, ebp
adc ecx, ebx
shld esi, ebx, 0xd
shld ebx, ebp, 0xd
mov ebp, dword [esp + 0x4c]
xor ebx, ecx
mov dword [esp], ecx
xor esi, edi
mov ecx, ebx
mov dword [esp + 0x28], esi
mov dword [esp + 4], ebx
shld ecx, esi, 0x11
shld esi, ebx, 0x11
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], esi
mov esi, dword [esp + 8]
mov ecx, dword [esp + 0x54]
xor ebx, dword [esp + 0x10]
shl ecx, 0x18
movd xmm4, dword [esp + 0x18]
movd xmm5, dword [esp + 0xc]
or ecx, esi
mov esi, dword [esp]
xor ebp, ecx
mov dword [esp + 0x54], ecx
mov ecx, ebp
add eax, ebx
punpckldq xmm4, xmm5
adc edx, ebp
mov ebp, ebx
shrd ebx, ecx, 0x10
shld ebp, ecx, 0x10
xor ebx, edx
xor ebp, eax
add esi, ebp
adc edi, ebx
movd xmm0, esi
mov dword [esp + 0x14], edi
mov edi, eax
mov eax, ebp
shrd ebp, ebx, 0xb
shld eax, ebx, 0x15
add edi, dword [esp + 0x28]
movd xmm1, ebp
mov ebp, dword [esp + 0x74]
mov ebx, dword [esp + 0x40]
movd xmm3, eax
mov eax, dword [esp + 0x14]
punpckldq xmm3, xmm1
punpcklqdq xmm3, xmm4
adc edx, dword [esp + 4]
movd xmm1, edi
movd xmm6, eax
movdqa xmm5, xmm1
punpckldq xmm0, xmm6
mov ecx, edx
movd xmm4, edx
xor ecx, 0xff
punpckldq xmm5, xmm4
movd xmm2, ecx
mov ecx, dword [esp + 0x54]
punpcklqdq xmm0, xmm5
pxor xmm0, xmm3
punpcklqdq xmm1, xmm2
shufps xmm1, xmm0, 0xe2
xor ecx, eax
mov eax, dword [esp + 0x10]
movd xmm3, ecx
xor eax, esi
movd xmm4, eax
punpcklqdq xmm3, xmm4
movaps xmm4, xmm0
shufps xmm4, xmm3, 0x24
paddq xmm1, xmm4
movdqa xmm4, xmm0
pshufd xmm2, xmm1, 0xff
psrlq xmm4, 0x33
movd eax, xmm2
movdqa xmm2, xmm0
psrlq xmm2, 0x30
movd xmm3, eax
movsd xmm4, xmm2
movdqa xmm2, xmm0
psllq xmm0, 0xd
psllq xmm2, 0x10
movsd xmm0, xmm2
movdqa xmm2, xmm1
orpd xmm0, xmm4
shufps xmm2, xmm3, 0x4e
xorpd xmm0, xmm1
shufps xmm2, xmm1, 0x42
movapd xmm1, xmm0
movapd xmm3, xmm0
paddq xmm2, xmm0
psrlq xmm1, 0x2b
psrlq xmm3, 0x2f
movsd xmm3, xmm1
movdqa xmm1, xmm0
psllq xmm0, 0x11
psllq xmm1, 0x15
movsd xmm0, xmm1
pshufd xmm1, xmm2, 0xff
movd eax, xmm1
orpd xmm0, xmm3
movdqa xmm1, xmm2
movd xmm3, eax
xorpd xmm0, xmm2
shufps xmm1, xmm3, 0x4e
movapd xmm4, xmm0
shufps xmm1, xmm2, 0x42
psrlq xmm4, 0x33
paddq xmm1, xmm0
pshufd xmm2, xmm1, 0xff
movd eax, xmm2
movdqa xmm2, xmm0
psrlq xmm2, 0x30
movd xmm3, eax
movsd xmm4, xmm2
movdqa xmm2, xmm0
psllq xmm0, 0xd
psllq xmm2, 0x10
movsd xmm0, xmm2
movdqa xmm2, xmm1
orpd xmm0, xmm4
shufps xmm2, xmm3, 0x4e
xorpd xmm0, xmm1
shufps xmm2, xmm1, 0x42
movapd xmm1, xmm0
movapd xmm3, xmm0
paddq xmm2, xmm0
psrlq xmm1, 0x2b
psrlq xmm3, 0x2f
movsd xmm3, xmm1
movdqa xmm1, xmm0
psllq xmm0, 0x11
psllq xmm1, 0x15
movsd xmm0, xmm1
pshufd xmm1, xmm2, 0xff
movd eax, xmm1
orpd xmm0, xmm3
movdqa xmm1, xmm2
movd xmm3, eax
xorpd xmm0, xmm2
shufps xmm1, xmm3, 0x4e
movapd xmm3, xmm0
shufps xmm1, xmm2, 0x42
movapd xmm2, xmm0
psrlq xmm3, 0x33
psrlq xmm2, 0x30
paddq xmm1, xmm0
movsd xmm3, xmm2
movdqa xmm2, xmm0
psllq xmm0, 0xd
psllq xmm2, 0x10
movsd xmm0, xmm2
orpd xmm0, xmm3
xorpd xmm0, xmm1
movapd xmm2, xmm0
movapd xmm3, xmm0
movapd xmm4, xmm0
psrlq xmm2, 0x2b
psrlq xmm3, 0x2f
psllq xmm4, 0x11
movsd xmm3, xmm2
movapd xmm2, xmm0
psllq xmm2, 0x15
movsd xmm4, xmm2
orpd xmm4, xmm3
movapd xmm2, xmm4
shufpd xmm2, xmm1, 1
xorpd xmm4, xmm2
paddq xmm2, xmm0
pshufd xmm0, xmm2, 0xee
movd eax, xmm4
movd ecx, xmm0
pshufd xmm0, xmm2, 0xff
movd edx, xmm0
xor eax, edx
xor eax, ecx
mov ecx, ebp
and ecx, eax
movdqu xmm0, xmmword [ebx + ecx]
mov esi, ecx
pmovmskb edx, xmm0
test edx, edx
jne 0x541874
mov edi, 0x10
mov esi, ecx
nop
add esi, edi
add edi, 0x10
and esi, ebp
movdqu xmm0, xmmword [ebx + esi]
pmovmskb edx, xmm0
test edx, edx
je 0x541860
tzcnt edx, edx
add edx, esi
and edx, ebp
cmp byte [ebx + edx], 0
js 0x54188e
movdqa xmm0, xmmword [ebx]
pmovmskb edx, xmm0
tzcnt edx, edx
mov esi, dword [esp + 0x44]
mov edi, edx
sub edi, ecx
sub esi, ecx
xor edi, esi
and edi, ebp
cmp edi, 0x10
jb 0x541190
lea ecx, [edx*4]
mov edi, ebx
lea esi, [edx - 0x10]
shr eax, 0x19
lea ecx, [ecx + ecx*2]
and esi, ebp
neg ecx
lea ecx, [ebx + ecx - 0xc]
movzx ebx, byte [ebx + edx]
mov byte [edi + edx], al
mov byte [esi + edi + 0x10], al
cmp bl, 0xff
je 0x541900
mov esi, dword [esp + 0x78]
mov edx, dword [ecx]
mov eax, dword [esi]
mov dword [esi], edx
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov edx, dword [ecx + 4]
mov dword [esi + 4], edx
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov edx, dword [ecx + 8]
mov dword [esi + 8], edx
mov dword [ecx + 8], eax
jmp 0x5411f0
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x78]
lea eax, [edx - 0x10]
mov byte [ebx + edx], 0xff
and eax, ebp
mov byte [eax + ebx + 0x10], 0xff
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
movq xmm0, qword [esi]
movq qword [ecx], xmm0
jmp 0x5411a3
mov esi, 0x10
mov eax, edi
lea ecx, [edi - 1]
shr edi, 3
mov edx, eax
mov dword [esp], ecx
and edx, 0xfffffff8
sub edx, edi
cmp eax, 9
cmovb edx, ecx
add esi, dword [esp + 0x14]
mov dword [esp + 0x18], edx
push dword [esp + 8]
push 0xff
mov dword [esp + 0x14], esi
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x541acd
mov eax, dword [esp + 0x30]
mov dword [esp + 0x28], ebx
xor ebp, ebp
mov edi, dword [eax]
movdqa xmm0, xmmword [edi]
lea eax, [edi - 0xc]
mov dword [esp + 4], edi
mov dword [esp + 0x1c], eax
pmovmskb ebx, xmm0
not ebx
jmp 0x5419f7
lea ecx, [edx - 0x10]
mov esi, eax
mov eax, dword [esp + 0x20]
and ecx, dword [esp]
shr eax, 0x19
mov byte [esi + edx], al
mov byte [ecx + esi + 0x10], al
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
shl edx, 2
shl eax, 2
lea eax, [eax + eax*2]
sub ecx, eax
lea eax, [edx + edx*2]
mov edx, esi
movq xmm0, qword [ecx - 0xc]
sub edx, eax
neg eax
movq qword [esi + eax - 0xc], xmm0
mov eax, dword [ecx - 4]
mov ecx, dword [esp + 0x14]
mov dword [edx - 4], eax
lea eax, [ebx - 1]
dec ecx
and eax, ebx
test ecx, ecx
mov ebx, eax
je 0x541abb
test bx, bx
mov dword [esp + 0x14], ecx
jne 0x541a19
movdqa xmm0, xmmword [edi + 0x10]
add edi, 0x10
add ebp, 0x10
pmovmskb ebx, xmm0
cmp ebx, 0xffff
je 0x541a00
not ebx
tzcnt eax, ebx
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0x1c]
add eax, ebp
mov dword [esp + 8], eax
neg eax
lea eax, [eax + eax*2]
push dword [esi + eax*4 + 4]
push dword [esi + eax*4]
push dword [esp + 0xac]
push dword [esp + 0xac]
call fcn.00487810
add esp, 0x10
mov esi, dword [esp]
mov dword [esp + 0x20], eax
mov ecx, esi
and ecx, eax
mov eax, dword [esp + 0xc]
movdqu xmm0, xmmword [eax + ecx]
pmovmskb edx, xmm0
test edx, edx
jne 0x541a98
mov esi, 0x10
nop word cs:[eax + eax]
nop
add ecx, esi
add esi, 0x10
and ecx, dword [esp]
movdqu xmm0, xmmword [eax + ecx]
pmovmskb edx, xmm0
test edx, edx
je 0x541a80
mov esi, dword [esp]
tzcnt edx, edx
add edx, ecx
and edx, esi
cmp byte [eax + edx], 0
js 0x5419a0
movdqa xmm0, xmmword [eax]
pmovmskb ecx, xmm0
tzcnt edx, ecx
jmp 0x5419a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x74]
mov ebx, dword [esp + 0x28]
jmp 0x541ad7
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
mov esi, dword [esp]
sub edx, ecx
test ebp, ebp
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [eax + 8], edx
je 0x541b1d
mov ecx, 0xc
mov eax, ebx
mul ecx
add eax, 0xf
and eax, 0xfffffff0
add ebp, eax
cmp ebp, 0xffffffef
je 0x541b1d
mov ecx, dword [esp + 4]
sub ecx, eax
push dword [ecx - 4]
push 0
push dword [0x5b93c8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 0x80000001
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004695a0
mov ecx, esi
call fcn.004695e0
int3