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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov eax, dword [edx + 0xc]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
inc eax
je 0x4a8746
mov edi, dword [edx]
mov dword [esp + 0x4c], edx
lea esi, [edi + 1]
mov dword [esp + 0x60], edi
mov ecx, esi
shr ecx, 3
lea ebx, [ecx*8]
sub ebx, ecx
cmp edi, 8
cmovb ebx, edi
mov ecx, ebx
shr ecx, 1
cmp eax, ecx
jbe 0x4a79f4
mov edx, dword [esp + 0x5c]
inc ebx
lea ecx, [esp + 0x80]
cmp eax, ebx
cmova ebx, eax
push ebx
push 0x38
call fcn.004a5d20
add esp, 8
mov edx, dword [esp + 0x84]
cmp dword [esp + 0x80], 1
mov ecx, dword [esp + 0x88]
jne 0x4a7a73
mov eax, dword [esp + 0x50]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax], 1
jmp 0x4a7a6b
mov dword [esp + 0x40], ebx
mov ebx, dword [edx + 4]
movdqa xmm0, xmmword [0x606760]
xor ecx, ecx
xor eax, eax
test cl, 1
je 0x4a7a2f
jmp 0x4a7a2a
pxor xmm1, xmm1
mov cl, 1
pcmpgtb xmm1, xmmword [ebx + eax]
por xmm1, xmm0
movdqa xmmword [ebx + eax], xmm1
inc eax
test cl, 1
je 0x4a7a2f
add eax, 0xf
jb 0x4a7a33
cmp eax, esi
jb 0x4a7a10
cmp esi, 0x10
jae 0x4a7c6d
lea eax, [ebx + 0x10]
push esi
push ebx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
mov ecx, dword [esp + 0x40]
test esi, esi
jne 0x4a7c85
sub ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x4c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x50]
mov dword [ecx], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x30], esi
mov eax, dword [eax + 4]
mov ebx, dword [edx + 0xc]
movdqa xmm0, xmmword [eax]
mov dword [esp + 0x38], eax
mov dword [esp + 8], eax
pmovmskb ecx, xmm0
not ecx
mov dword [esp + 4], ecx
mov ecx, dword [edx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x34], ecx
lea ecx, [eax + esi]
mov esi, ebx
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], esi
jmp 0x4a7b6b
lea ecx, [edx - 0x10]
shr eax, 0x19
and ecx, dword [esp + 0x18]
mov byte [esi + edx], al
not edx
mov byte [ecx + esi + 0x10], al
imul eax, edx, 0x38
mov edx, dword [esp + 0xc]
movsd xmm0, qword [edx + 0x30]
movsd qword [esi + eax + 0x30], xmm0
movsd xmm0, qword [edx + 0x28]
movsd qword [esi + eax + 0x28], xmm0
movsd xmm0, qword [edx + 0x20]
movsd qword [esi + eax + 0x20], xmm0
movsd xmm0, qword [edx + 0x18]
movsd qword [esi + eax + 0x18], xmm0
movsd xmm0, qword [edx + 0x10]
movsd qword [esi + eax + 0x10], xmm0
movq xmm0, qword [edx]
movq xmm1, qword [edx + 8]
mov edx, esi
movq qword [esi + eax + 8], xmm1
movq qword [esi + eax], xmm0
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 4]
test ax, ax
je 0x4a7b80
lea ecx, [eax - 1]
and ecx, eax
mov dword [esp + 4], ecx
jmp 0x4a7bc4
mov ecx, dword [esp + 0x18]
nop word cs:[eax + eax]
nop
cmp ebx, dword [esp + 0x10]
jae 0x4a86db
movdqa xmm0, xmmword [ebx]
add dword [esp + 8], 0xfffffc80
add ebx, 0x10
pmovmskb eax, xmm0
cmp ax, 0xffff
je 0x4a7b90
mov ecx, 0xfffffffe
sub ecx, eax
not eax
mov edx, eax
and edx, ecx
mov dword [esp + 4], edx
bsf ax, ax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
movzx eax, ax
not eax
imul eax, eax, 0x38
add eax, dword [esp + 8]
mov dword [esp + 0xc], eax
push eax
push esi
push dword [esp + 0x34]
call fcn.004fa740
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
and ecx, eax
movdqu xmm0, xmmword [edx + ecx]
pmovmskb edx, xmm0
test edx, edx
jne 0x4a7c3c
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edi, 0x10
nop word cs:[eax + eax]
add ecx, edi
add edi, 0x10
and ecx, esi
movdqu xmm0, xmmword [eax + ecx]
pmovmskb edx, xmm0
test edx, edx
je 0x4a7c20
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x28]
bsf dx, dx
movzx edx, dx
add edx, ecx
mov ecx, dword [esp + 0x14]
and edx, dword [esp + 0x18]
mov esi, ecx
cmp byte [ecx + edx], 0
js 0x4a7b00
movdqa xmm0, xmmword [esi]
pmovmskb ecx, xmm0
bsf cx, cx
movzx edx, cx
jmp 0x4a7b00
movq xmm0, qword [ebx]
movq xmm1, qword [ebx + 8]
mov ecx, dword [esp + 0x40]
movq qword [ebx + esi + 8], xmm1
movq qword [ebx + esi], xmm0
mov edx, dword [ebp + 8]
mov dword [esp + 0xa8], ebx
mov eax, dword [edx]
mov esi, dword [edx + 8]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x44], esi
mov esi, dword [edx + 0xc]
mov edx, eax
xor eax, 0x6c796765
xor edx, 0x736f6d65
mov dword [esp + 0x7c], eax
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x38]
xor dword [esp + 0x38], 0x6e657261
xor edx, 0x70736575
mov dword [esp + 0x70], edx
mov edx, esi
xor esi, 0x74656462
xor edx, 0x646f7261
mov dword [esp + 0x78], esi
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x44]
xor dword [esp + 0x44], 0x79746573
xor edx, 0x6e646f6d
mov dword [esp + 0x68], edx
xor edx, edx
jmp 0x4a7d26
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 8]
lea eax, [edx - 0x10]
shr ecx, 0x19
and eax, edi
mov byte [ebx + edx], cl
mov byte [eax + ebx + 0x10], cl
mov ecx, dword [esp + 0x40]
cmp edx, edi
lea edx, [edx + 1]
je 0x4a7a56
cmp byte [ebx + edx], 0x80
jne 0x4a7d1b
mov eax, edx
mov dword [esp + 0x54], edx
not eax
imul eax, eax, 0x38
lea ecx, [ebx + eax]
mov dword [esp + 0x64], ecx
lea ecx, [ebx + eax + 0x20]
mov eax, dword [ebx + eax]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x20], eax
mov eax, dword [ecx - 0x18]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], 0
mov esi, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x78]
and esi, 7
and eax, 0xfffffff8
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x74]
je 0x4a7f02
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x74]
nop word cs:[eax + eax]
nop dword [eax + eax]
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + ebx + 4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
xor dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x1c]
mov ebx, dword [ecx + ebx]
mov ecx, dword [esp + 0x18]
xor edi, ebx
add edx, esi
mov dword [esp + 0x2c], ebx
mov ebx, esi
adc eax, dword [esp + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
shld dword [esp + 8], esi, 0xd
mov esi, dword [esp + 0x14]
shld ebx, eax, 0xd
mov eax, dword [esp + 4]
xor ebx, edx
mov dword [esp + 0x28], ebx
mov ebx, edi
xor dword [esp + 8], eax
mov eax, dword [esp + 0x10]
add eax, edi
adc esi, ecx
shrd edi, ecx, 0x10
shld ebx, ecx, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x58], esi
xor edi, esi
mov esi, dword [esp + 4]
xor ebx, eax
mov eax, ebx
add esi, ebx
adc edx, edi
shrd ebx, edi, 0xb
shld eax, edi, 0x15
mov dword [esp + 0x18], esi
mov ecx, ebx
mov edi, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x58]
xor ecx, edx
mov edx, dword [esp + 0x10]
xor edi, esi
mov esi, eax
add edx, eax
adc ebx, dword [esp + 8]
mov dword [esp + 0x14], edx
mov edx, eax
mov eax, dword [esp + 8]
add dword [esp + 0x1c], 8
shld dword [esp + 8], edx, 0x11
mov edx, dword [esp + 0x18]
shld esi, eax, 0x11
mov eax, dword [esp + 0xc]
mov dword [esp + 0x10], ebx
xor dword [esp + 8], ebx
mov ebx, dword [esp + 0x1c]
xor edx, dword [esp + 0x2c]
xor esi, dword [esp + 0x14]
xor eax, dword [esp + 0x24]
cmp ebx, dword [esp + 0x48]
jb 0x4a7df0
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x1c], edx
mov edx, ecx
mov ecx, dword [esp + 8]
cmp esi, 3
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ebx
mov dword [esp + 8], ecx
jbe 0x4a7f30
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, 4
mov ecx, dword [ecx + edx]
jmp 0x4a7f34
xor ebx, ebx
xor ecx, ecx
mov edx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 4], eax
or edx, 1
cmp edx, esi
jae 0x4a7fb0
mov ecx, ebx
mov eax, dword [esp + 0x20]
mov edx, 0
mov edi, dword [esp + 0x30]
or ecx, dword [esp + 0x1c]
movzx esi, word [eax + ecx]
lea ecx, [ebx*8]
xor eax, eax
shld eax, esi, cl
shl esi, cl
test cl, 0x20
cmovne eax, esi
cmovne esi, edx
or ebx, 2
or dword [esp + 0x28], esi
mov esi, dword [esp + 0x3c]
mov ecx, eax
or edi, eax
mov ecx, dword [esp + 0xc]
cmp ebx, esi
mov dword [esp + 0xc], ecx
jb 0x4a7fc2
inc dword [esp + 0x34]
test esi, esi
je 0x4a8114
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x28]
jmp 0x4a7ff5
mov edi, dword [esp + 0x30]
xor edx, edx
mov ecx, dword [esp + 0xc]
cmp ebx, esi
mov dword [esp + 0xc], ecx
jae 0x4a7f8e
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
xor eax, eax
add esi, ebx
shl ebx, 3
movzx esi, byte [ecx + esi]
mov ecx, ebx
shld eax, esi, cl
shl esi, cl
test bl, 0x20
cmovne eax, esi
cmovne esi, edx
inc dword [esp + 0x34]
or edi, eax
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x28]
or edi, esi
xor esi, esi
mov edx, dword [esp + 0x3c]
xor ebx, ebx
mov eax, 0xff
lea ecx, [edx*8]
shld ebx, eax, cl
mov eax, 0xff
shl eax, cl
test cl, 0x20
mov ecx, ebx
cmovne ecx, eax
cmovne eax, esi
or ecx, dword [esp + 0x30]
or eax, edi
cmp edx, 7
mov dword [esp + 0x20], eax
jne 0x4a830e
xor dword [esp + 0x18], ecx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
mov edi, 8
mov esi, dword [esp + 8]
sub edi, edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xc]
xor ecx, eax
mov eax, dword [esp + 4]
mov ebx, edx
add edi, edx
mov dword [esp + 0xc], edi
adc eax, esi
shld ebx, esi, 0xd
shld esi, edx, 0xd
mov edx, dword [esp + 0x18]
mov dword [esp + 4], eax
xor esi, eax
mov eax, dword [esp + 0x10]
xor ebx, edi
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x14]
add eax, ecx
mov edi, eax
mov dword [esp + 0x10], eax
mov eax, ecx
adc ebx, edx
shrd ecx, edx, 0x10
shld eax, edx, 0x10
xor ecx, ebx
xor eax, edi
mov edi, dword [esp + 4]
mov edx, eax
add edi, eax
adc dword [esp + 0xc], ecx
shld edx, ecx, 0x15
shrd eax, ecx, 0xb
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], edi
xor edx, edi
mov edi, dword [esp + 0xc]
xor eax, dword [esp + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x10]
add edx, ecx
adc ebx, esi
mov dword [esp + 8], edx
mov edx, ecx
shrd ecx, esi, 0xf
xor edi, dword [esp + 0x28]
shld edx, esi, 0x11
mov esi, ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x10], ebx
xor edx, dword [esp + 8]
xor esi, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 4], edi
mov edi, dword [esp + 8]
mov dword [esp + 8], esi
xor ecx, dword [esp + 0x20]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
mov ecx, eax
jmp 0x4a8122
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
xor edx, edx
mov eax, 1
mov dword [esp + 0x14], edi
mov esi, edx
mov dword [esp + 0x18], ecx
sub eax, edx
mov edi, eax
and eax, 0xfffffff8
and edi, 7
cmp edx, eax
mov dword [esp + 0x28], edi
jae 0x4a8280
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 4]
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x24]
nop
mov ecx, dword [esp + 0x1c]
mov ecx, dword [esp + ecx + 0x84]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x18]
xor ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov ecx, dword [esp + ecx + 0x80]
xor ebx, ecx
add edi, edx
mov dword [esp + 0x20], ecx
adc eax, esi
mov dword [esp + 0xc], edi
mov ecx, eax
mov dword [esp + 4], eax
mov eax, edx
shld eax, esi, 0xd
shld esi, edx, 0xd
mov edx, ebx
xor eax, edi
xor esi, ecx
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
add ecx, ebx
adc edi, eax
shld edx, eax, 0x10
shrd ebx, eax, 0x10
mov eax, dword [esp + 4]
mov dword [esp + 0x10], ecx
xor edx, ecx
xor ebx, edi
mov ecx, edx
add eax, edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
adc eax, ebx
shrd edx, ebx, 0xb
shld ecx, ebx, 0x15
mov ebx, ecx
xor edx, eax
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
xor ebx, dword [esp + 4]
mov dword [esp + 0x18], edx
add eax, ecx
mov edx, ecx
adc edi, esi
add dword [esp + 0x1c], 8
mov dword [esp + 0x14], eax
shld edx, esi, 0x11
mov eax, dword [esp + 0xc]
shld esi, ecx, 0x11
mov dword [esp + 0x10], edi
mov edi, dword [esp + 4]
mov ecx, dword [esp + 0x1c]
xor edx, dword [esp + 0x14]
xor esi, dword [esp + 0x10]
xor eax, dword [esp + 8]
xor edi, dword [esp + 0x20]
cmp ecx, dword [esp + 0x2c]
jb 0x4a8160
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 8], esi
cmp edi, 3
jbe 0x4a8286
mov esi, dword [esp + 0x1c]
mov edx, 4
mov eax, dword [esp + esi + 0x80]
mov dword [esp + 0x20], eax
jmp 0x4a8294
mov dword [esp + 0x2c], ebx
jmp 0x4a828a
mov esi, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x20], 0
mov ebx, dword [esp + 4]
mov eax, edx
xor ecx, ecx
or eax, 1
cmp eax, edi
mov dword [esp + 4], ebx
jae 0x4a82da
add esi, edx
mov ebx, ecx
lea ecx, [edx*8]
movzx eax, word [esp + esi + 0x80]
xor esi, esi
shld esi, eax, cl
shl eax, cl
test cl, 0x20
mov ecx, 0
cmovne esi, eax
cmovne eax, ecx
mov ecx, ebx
or edx, 2
or dword [esp + 0x20], eax
or ecx, esi
cmp edx, dword [esp + 0x28]
jae 0x4a830e
shl edx, 3
mov edi, ecx
xor eax, eax
mov esi, 0xff
mov ebx, 0xff
mov ecx, edx
shld eax, esi, cl
shl ebx, cl
test dl, 0x20
mov ecx, 0
cmovne eax, ebx
cmovne ebx, ecx
mov ecx, edi
or dword [esp + 0x20], ebx
or ecx, eax
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 8]
mov edi, dword [esp + 4]
shl ebx, 0x18
or ebx, ecx
mov ecx, esi
mov dword [esp + 0x34], ebx
xor dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x2c]
xor ebx, dword [esp + 0x20]
add edx, esi
adc edi, eax
shld ecx, eax, 0xd
shld eax, esi, 0xd
mov dword [esp + 0xc], edx
xor ecx, edx
xor eax, edi
mov dword [esp + 4], edi
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add dword [esp + 0x10], ebx
mov esi, ebx
adc edi, dword [esp + 0x18]
shld esi, edx, 0x10
mov edx, dword [esp + 0x18]
xor esi, dword [esp + 0x10]
shrd ebx, edx, 0x10
mov edx, dword [esp + 0xc]
xor ebx, edi
add dword [esp + 4], esi
mov dword [esp + 8], esi
adc edx, ebx
shrd esi, ebx, 0xb
shld dword [esp + 8], ebx, 0x15
mov ebx, dword [esp + 4]
xor esi, edx
xor dword [esp + 8], ebx
add dword [esp + 0x10], ecx
mov ebx, ecx
adc edi, eax
shld ebx, eax, 0x11
shrd ecx, eax, 0xf
mov eax, dword [esp + 4]
xor edx, dword [esp + 0x34]
xor ebx, dword [esp + 0x10]
xor ecx, edi
xor edi, 0xff
mov dword [esp + 0x14], edi
xor eax, dword [esp + 0x20]
add eax, ebx
mov edi, eax
mov dword [esp + 4], eax
mov eax, ebx
adc edx, ecx
shrd ebx, ecx, 0x13
shld eax, ecx, 0xd
xor ebx, edx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xc], edx
xor eax, edi
mov edi, dword [esp + 8]
add dword [esp + 0x14], edi
mov edx, edi
adc ecx, esi
shld edx, esi, 0x10
shrd edi, esi, 0x10
xor edx, dword [esp + 0x14]
xor edi, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 8], edi
mov esi, edi
add dword [esp + 0xc], edx
mov esi, edx
adc ecx, edi
mov edi, dword [esp + 8]
mov dword [esp + 4], ecx
shld esi, edi, 0x15
mov edi, dword [esp + 8]
xor esi, dword [esp + 0xc]
shrd edx, edi, 0xb
mov edi, dword [esp + 0x10]
xor edx, ecx
add dword [esp + 0x14], eax
mov ecx, eax
adc edi, ebx
shrd eax, ebx, 0xf
shld ecx, ebx, 0x11
mov ebx, dword [esp + 0x14]
xor eax, edi
mov dword [esp + 0x10], edi
xor ecx, ebx
add dword [esp + 0xc], ecx
mov edi, ecx
adc dword [esp + 4], eax
shld edi, eax, 0xd
shrd ecx, eax, 0x13
mov eax, esi
xor ecx, dword [esp + 4]
xor edi, dword [esp + 0xc]
add dword [esp + 0x10], esi
adc ebx, edx
shrd esi, edx, 0x10
shld eax, edx, 0x10
mov dword [esp + 0x14], ebx
xor esi, ebx
mov ebx, dword [esp + 0x10]
xor eax, ebx
add dword [esp + 4], eax
mov edx, eax
adc dword [esp + 0xc], esi
shld edx, esi, 0x15
shrd eax, esi, 0xb
mov esi, dword [esp + 0x14]
xor eax, dword [esp + 0xc]
xor edx, dword [esp + 4]
add ebx, edi
mov dword [esp + 0x10], ebx
mov ebx, edi
adc esi, ecx
shld ebx, ecx, 0x11
shrd edi, ecx, 0xf
xor ebx, dword [esp + 0x10]
mov dword [esp + 0x14], esi
xor edi, esi
mov esi, dword [esp + 4]
add esi, ebx
mov ecx, ebx
adc dword [esp + 0xc], edi
shld ecx, edi, 0xd
shrd ebx, edi, 0x13
mov edi, dword [esp + 0x10]
xor ecx, esi
xor ebx, dword [esp + 0xc]
add dword [esp + 0x14], edx
mov esi, edx
adc edi, eax
shrd edx, eax, 0x10
shld esi, eax, 0x10
mov eax, dword [esp + 0x14]
xor edx, edi
xor esi, eax
shld esi, edx, 0x15
add eax, ecx
adc edi, ebx
shrd ebx, ecx, 0xf
xor ebx, esi
xor ebx, edi
mov edi, dword [esp + 0x60]
xor ebx, eax
mov dword [esp + 8], ebx
mov ecx, edi
and ecx, ebx
mov ebx, dword [esp + 0xa8]
mov edx, ecx
movdqu xmm0, xmmword [ebx + ecx]
pmovmskb eax, xmm0
test eax, eax
jne 0x4a8544
mov esi, 0x10
mov edx, ecx
nop
add edx, esi
add esi, 0x10
and edx, edi
movdqu xmm0, xmmword [ebx + edx]
pmovmskb eax, xmm0
test eax, eax
je 0x4a8530
bsf ax, ax
movzx eax, ax
add eax, edx
and eax, edi
cmp byte [ebx + eax], 0
js 0x4a8564
movdqa xmm0, xmmword [ebx]
pmovmskb eax, xmm0
bsf ax, ax
movzx eax, ax
mov edx, dword [esp + 0x54]
mov esi, eax
sub esi, ecx
sub edx, ecx
xor esi, edx
and esi, edi
cmp esi, 0x10
jb 0x4a7d00
mov cl, byte [ebx + eax]
lea edx, [eax - 0x10]
and edx, edi
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 8]
shr ecx, 0x19
cmp byte [esp + 0x10], 0xff
mov byte [ebx + eax], cl
mov byte [edx + ebx + 0x10], cl
je 0x4a8670
mov ecx, dword [esp + 0x64]
not eax
imul eax, eax, 0x38
movdqu xmm0, xmmword [ebx + eax]
movups xmm1, xmmword [ebx + eax + 0x10]
movsd xmm2, qword [ecx + 0x18]
movd dword [esp + 0x20], xmm0
movsd qword [ebx + eax + 0x18], xmm2
movsd xmm2, qword [ecx + 0x10]
movsd qword [ebx + eax + 0x10], xmm2
movsd xmm2, qword [ecx]
movsd xmm3, qword [ecx + 8]
movsd qword [ebx + eax + 8], xmm3
movsd qword [ebx + eax], xmm2
movdqu xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm1
mov ecx, dword [esp + 0xa4]
movsd xmm1, qword [ebx + eax + 0x30]
movsd qword [esp + 0x90], xmm1
movsd xmm1, qword [ebx + eax + 0x20]
movsd xmm2, qword [ebx + eax + 0x28]
movsd qword [esp + 0x88], xmm2
movsd qword [esp + 0x80], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [ebx + eax + 0x30], xmm1
movsd xmm1, qword [ecx]
movsd xmm2, qword [ecx + 8]
movsd qword [ebx + eax + 0x28], xmm2
movsd qword [ebx + eax + 0x20], xmm1
movsd xmm1, qword [esp + 0x90]
movsd qword [ecx + 0x10], xmm1
movq xmm1, qword [esp + 0x80]
movsd xmm2, qword [esp + 0x88]
movsd qword [ecx + 8], xmm2
movq qword [ecx], xmm1
jmp 0x4a7d50
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x64]
not eax
imul eax, eax, 0x38
lea ecx, [edx - 0x10]
mov byte [ebx + edx], 0xff
and ecx, edi
mov byte [ecx + ebx + 0x10], 0xff
movsd xmm0, qword [esi + 0x30]
movsd qword [ebx + eax + 0x30], xmm0
movsd xmm0, qword [esi + 0x28]
movsd qword [ebx + eax + 0x28], xmm0
movsd xmm0, qword [esi + 0x20]
movsd qword [ebx + eax + 0x20], xmm0
movsd xmm0, qword [esi + 0x18]
movsd qword [ebx + eax + 0x18], xmm0
movsd xmm0, qword [esi + 0x10]
movsd qword [ebx + eax + 0x10], xmm0
movq xmm0, qword [esi]
movq xmm1, qword [esi + 8]
movq qword [ebx + eax + 8], xmm1
movq qword [ebx + eax], xmm0
jmp 0x4a7d17
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x58]
test edi, edi
mov dword [eax], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x50]
mov dword [ecx], 0
je 0x4a7a6b
mov eax, dword [esp + 0x3c]
mul dword [esp + 0x30]
lea ecx, [esi + eax - 1]
mov eax, esi
neg eax
and eax, ecx
add edi, eax
cmp edi, 0xffffffef
je 0x4a7a6b
mov ecx, dword [esp + 0x38]
sub ecx, eax
cmp esi, 9
jb 0x4a8733
mov ecx, dword [ecx - 4]
push ecx
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
jmp 0x4a7a6b
call fcn.0049fcd0
ud2